class InstanceGroupManagerResizeRequests extends Resource (View source)

The "instanceGroupManagerResizeRequests" collection of methods.

Typical usage is:

 $computeService = new Google\Service\Compute(...);
 $instanceGroupManagerResizeRequests = $computeService->instanceGroupManagerResizeRequests;

Methods

cancel(string $project, string $zone, string $instanceGroupManager, string $resizeRequest, array $optParams = [])

Cancels the specified resize request and removes it from the queue. Cancelled resize request does no longer wait for the resources to be provisioned.

delete(string $project, string $zone, string $instanceGroupManager, string $resizeRequest, array $optParams = [])

Deletes the specified, inactive resize request. Requests that are still active cannot be deleted. Deleting request does not delete instances that were provisioned previously. (instanceGroupManagerResizeRequests.delete)

get(string $project, string $zone, string $instanceGroupManager, string $resizeRequest, array $optParams = [])

Returns all of the details about the specified resize request.

insert(string $project, string $zone, string $instanceGroupManager, InstanceGroupManagerResizeRequest $postBody, array $optParams = [])

Creates a new resize request that starts provisioning VMs immediately or queues VM creation. (instanceGroupManagerResizeRequests.insert)

listInstanceGroupManagerResizeRequests(string $project, string $zone, string $instanceGroupManager, array $optParams = [])

Retrieves a list of resize requests that are contained in the managed instance group.

Details

Operation cancel(string $project, string $zone, string $instanceGroupManager, string $resizeRequest, array $optParams = [])

Cancels the specified resize request and removes it from the queue. Cancelled resize request does no longer wait for the resources to be provisioned.

Cancel is only possible for requests that are accepted in the queue. (instanceGroupManagerResizeRequests.cancel)

Parameters

string $project

Project ID for this request.

string $zone

The name of the zone where the managed instance group is located. The name should conform to RFC1035.

string $instanceGroupManager

The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.

string $resizeRequest

The name of the resize request to cancel. The name should conform to RFC1035 or be a resource ID.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation delete(string $project, string $zone, string $instanceGroupManager, string $resizeRequest, array $optParams = [])

Deletes the specified, inactive resize request. Requests that are still active cannot be deleted. Deleting request does not delete instances that were provisioned previously. (instanceGroupManagerResizeRequests.delete)

Parameters

string $project

Project ID for this request.

string $zone

The name of the zone where the managed instance group is located. The name should conform to RFC1035.

string $instanceGroupManager

The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.

string $resizeRequest

The name of the resize request to delete. The name should conform to RFC1035 or be a resource ID.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

InstanceGroupManagerResizeRequest get(string $project, string $zone, string $instanceGroupManager, string $resizeRequest, array $optParams = [])

Returns all of the details about the specified resize request.

(instanceGroupManagerResizeRequests.get)

Parameters

string $project

Project ID for this request.

string $zone

Name of the href="/compute/docs/regions- zones/#available">zone scoping this request. Name should conform to RFC1035.

string $instanceGroupManager

The name of the managed instance group. Name should conform to RFC1035 or be a resource ID.

string $resizeRequest

The name of the resize request. Name should conform to RFC1035 or be a resource ID.

array $optParams

Optional parameters.

Return Value

InstanceGroupManagerResizeRequest

Exceptions

Exception

Operation insert(string $project, string $zone, string $instanceGroupManager, InstanceGroupManagerResizeRequest $postBody, array $optParams = [])

Creates a new resize request that starts provisioning VMs immediately or queues VM creation. (instanceGroupManagerResizeRequests.insert)

Parameters

string $project

Project ID for this request.

string $zone

The name of the zone where the managed instance group is located and where the resize request will be created. Name should conform to RFC1035.

string $instanceGroupManager

The name of the managed instance group to which the resize request will be added. Name should conform to RFC1035 or be a resource ID.

InstanceGroupManagerResizeRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

InstanceGroupManagerResizeRequestsListResponse listInstanceGroupManagerResizeRequests(string $project, string $zone, string $instanceGroupManager, array $optParams = [])

Retrieves a list of resize requests that are contained in the managed instance group.

(instanceGroupManagerResizeRequests.listInstanceGroupManagerResizeRequests)

Parameters

string $project

Project ID for this request.

string $zone

The name of the zone where the managed instance group is located. The name should conform to RFC1035.

string $instanceGroupManager

The name of the managed instance group. The name should conform to RFC1035.

array $optParams

Optional parameters.

Return Value

InstanceGroupManagerResizeRequestsListResponse

Exceptions

Exception