Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::Instance::Status (v1.3.0)

Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::Instance::Status.

[Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.

Constants

UNDEFINED_STATUS

value: 0
A value indicating that the enum field is not set.

DEPROVISIONING

value: 428935662
The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.

PROVISIONING

value: 290896621
Resources are being allocated for the instance.

REPAIRING

value: 413483285
The instance is in repair.

RUNNING

value: 121282975
The instance is running.

STAGING

value: 431072283
All required resources have been allocated and the instance is being started.

STOPPED

value: 444276141
The instance has stopped successfully.

STOPPING

value: 350791796
The instance is currently stopping (either being deleted or killed).

SUSPENDED

value: 51223995
The instance has suspended.

SUSPENDING

value: 514206246
The instance is suspending.

TERMINATED

value: 250018339
The instance has stopped (either by explicit action or underlying failure).