InstanceGroupManagerResizeRequest represents a request to create a number of VMs: either immediately or by queuing the request for the specified time. This resize request is nested under InstanceGroupManager and the VMs created by this request are added to the owning InstanceGroupManager.
JSON representation |
---|
{ "kind": string, "id": string, "creationTimestamp": string, "name": string, "description": string, "zone": string, "resizeBy": integer, "requestedRunDuration": { object ( |
Fields | |
---|---|
kind |
[Output Only] The resource type, which is always
for resize requests. |
id |
[Output Only] A unique identifier for this resource type. The server generates this identifier. |
creation |
[Output Only] The creation timestamp for this resize request in RFC3339 text format. |
name |
The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035. |
description |
An optional description of this resource. |
zone |
[Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests. |
resize |
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'. |
requested |
Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted. |
state |
[Output only] Current state of the request. |
status |
[Output only] Status of the request. |
self |
[Output Only] The URL for this resize request. The server defines this URL. |
self |
[Output Only] Server-defined URL for this resource with the resource id. |
State
Enums | |
---|---|
STATE_UNSPECIFIED |
Default value. This value should never be returned. |
CREATING |
Resize request is being created and may still fail creation. |
ACCEPTED |
The request was created successfully and was accepted for provisioning when the capacity becomes available. |
FAILED |
The request failed before or during provisioning. If the request fails during provisioning, any VMs that were created during provisioning are rolled back and removed from the MIG. |
SUCCEEDED |
The request succeeded. |
CANCELLED |
The request is cancelled. |
Status
JSON representation |
---|
{ "error": { "errors": [ { "code": string, "location": string, "message": string, "errorDetails": [ { "errorInfo": { object ( |
Fields | |
---|---|
error |
[Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the lastAttempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry. |
error. |
[Output Only] The array of errors encountered while processing this operation. |
error. |
[Output Only] The error type identifier for this error. |
error. |
[Output Only] Indicates the field in the request that caused the error. This property is optional. |
error. |
[Output Only] An optional, human-readable error message. |
error. |
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. |
error. |
|
error. |
|
error. |
|
error. |
|
last |
[Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only. |
LastAttempt
JSON representation |
---|
{ "error": { "errors": [ { "code": string, "location": string, "message": string, "errorDetails": [ { "errorInfo": { object ( |
Fields | |
---|---|
error |
Errors that prevented the ResizeRequest to be fulfilled. |
error. |
[Output Only] The array of errors encountered while processing this operation. |
error. |
[Output Only] The error type identifier for this error. |
error. |
[Output Only] Indicates the field in the request that caused the error. This property is optional. |
error. |
[Output Only] An optional, human-readable error message. |
error. |
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. |
error. |
|
error. |
|
error. |
|
error. |
|