v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-131,0021,0174.3 MB
instanceGroupManagerResizeRequests

Creates a new resize request that starts provisioning VMs immediately or queues VM creation.

post/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests

Path parameters

projectstring required

Project ID for this request.

zonestring required

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

instanceGroupManagerstring required

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.

Query parameters

requestIdstring

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Request body

zonestring

Output only. The URL of a zone where the resize request is located. Populated only for zonal resize requests.

selfLinkstring

Output only. The URL for this resize request. The server defines this URL.

selfLinkWithIdstring

Output only. Server-defined URL for this resource with the resource id.

idstring uint64

Output only. A unique identifier for this resource type. The server generates this identifier.

namestring

The name of this resize request. The name must be 1-63 characters long, and comply withRFC1035.

kindstring

Output only. The resource type, which is alwayscompute#instanceGroupManagerResizeRequest for resize requests.

descriptionstring

An optional description of this resource.

regionstring

Output only. The URL of a region where the resize request is located. Populated only for regional resize requests.

resizeByinteger

The number of instances to be created by this resize request. The group's target size will be increased by this number. This field cannot be used together with 'instances'.

state'ACCEPTED' | 'CANCELLED' | 'CREATING' | 'FAILED' | 'STATE_UNSPECIFIED' | 'SUCCEEDED'

Output only. Current state of the request.

creationTimestampstring

Output only. The creation timestamp for this resize request inRFC3339 text format.

Response

Successful response