Resource: Instance
Message describing Instance object
JSON representation |
---|
{ "name" : string , "createTime" : string , "updateTime" : string , "labels" : { string : string , ... } , "state" : enum ( |
Fields | |
---|---|
name
|
Identifier. name of resource |
createTime
|
Output only. [Output only] Create time stamp Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime
|
Output only. [Output only] Update time stamp Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
labels
|
Optional. Labels as key value pairs An object containing a list of |
state
|
Output only. The state of the VM. |
region
|
Output only. The location of the VM. |
productActivation
|
Output only. Map with Product_Name and Activation State of the VM. An object containing a list of |
licenseVersionId
|
Output only. license version id. |
computeInstance
|
Required. Compute Instance resource name, i.e. projects/{project}/zones/{zone}/instances/{instance}. Deprecated. Use externalInstance instead. |
externalInstance
|
Required. External instance resource name. |
type
|
Required. The type of the external instance. |
State
VM status enum.
Enums | |
---|---|
STATE_UNSPECIFIED
|
The Status of the VM is unspecified. |
PROVISIONING
|
Resources are being allocated for the instance. |
STAGING
|
All required resources have been allocated and the instance is being started. |
RUNNING
|
The instance is running. |
STOPPING
|
The instance is currently stopping (either being deleted or terminated). |
STOPPED
|
The instance has stopped due to various reasons (user request, VM preemption, project freezing, etc.). |
TERMINATED
|
The instance has failed in some way. |
REPAIRING
|
The instance is in repair. |
ActivationState
State of the License Key activation on the instance.
Enums | |
---|---|
ACTIVATION_STATE_UNSPECIFIED
|
The Status of the activation is unspecified |
ACTIVATION_STATE_KEY_REQUESTED
|
Activation key (MAK) requested for the instance. |
ACTIVATION_STATE_ACTIVATING
|
License activation process is running on the instance. |
ACTIVATION_STATE_ACTIVATED
|
License activation is complete on the instance. |
ACTIVATION_STATE_DEACTIVATING
|
License Key is deactivating on the instance. |
ACTIVATION_STATE_DEACTIVATED
|
License Key is deactivated on the instance. |
ACTIVATION_STATE_TERMINATED
|
License Key activation failed on the instance. |
Type
External instance type.
Enums | |
---|---|
TYPE_UNSPECIFIED
|
The type of the external instance is unspecified. |
TYPE_GCE
|
The external instance is a Compute Engine instance. |
TYPE_GCVE
|
The external instance is a GCVE instance. |
Methods |
|
---|---|
|
Gets details of a single Instance. |
|
Lists Instances in a given project and location. |