Reference documentation and code samples for the Compute V1 Client class InstanceStatus.
[Output Only] The status of the instance. This field is empty when the instance does not exist.
Additional supported values which may be not listed in the enum directly due to technical reasons: STOPPING SUSPENDING
Protobuf type google.cloud.compute.v1.ManagedInstance.InstanceStatus
Namespace
Google \ Cloud \ Compute \ V1 \ ManagedInstanceMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
UNDEFINED_INSTANCE_STATUS
Value: 0A value indicating that the enum field is not set.
Generated from protobuf enum UNDEFINED_INSTANCE_STATUS = 0;
DEPROVISIONING
Value: 428935662The instance is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.
Generated from protobuf enum DEPROVISIONING = 428935662;
PENDING
Value: 35394935For Flex Start provisioning instance is waiting for available capacity from Dynamic Workload Scheduler (DWS).
Generated from protobuf enum PENDING = 35394935;
PROVISIONING
Value: 290896621Resources are being allocated for the instance.
Generated from protobuf enum PROVISIONING = 290896621;
REPAIRING
Value: 413483285The instance is in repair.
Generated from protobuf enum REPAIRING = 413483285;
RUNNING
Value: 121282975The instance is running.
Generated from protobuf enum RUNNING = 121282975;
STAGING
Value: 431072283All required resources have been allocated and the instance is being started.
Generated from protobuf enum STAGING = 431072283;
STOPPED
Value: 444276141The instance has stopped successfully.
Generated from protobuf enum STOPPED = 444276141;
STOPPING
Value: 350791796Generated from protobuf enum STOPPING = 350791796;
SUSPENDED
Value: 51223995The instance has suspended.
Generated from protobuf enum SUSPENDED = 51223995;
SUSPENDING
Value: 514206246Generated from protobuf enum SUSPENDING = 514206246;
TERMINATED
Value: 250018339The instance has stopped (either by explicit action or underlying failure).
Generated from protobuf enum TERMINATED = 250018339;