Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::ManagedInstance::InstanceStatus (v2.7.2)

Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::ManagedInstance::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

Constants

UNDEFINED_INSTANCE_STATUS

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

DEPROVISIONING

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

PROVISIONING

value: 290_896_621
Resources are being allocated for the instance.

REPAIRING

value: 413_483_285
The instance is in repair.

RUNNING

value: 121_282_975
The instance is running.

STAGING

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

STOPPED

value: 444_276_141
The instance has stopped successfully.

STOPPING

value: 350_791_796

SUSPENDED

value: 51_223_995
The instance has suspended.

SUSPENDING

value: 514_206_246

TERMINATED

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