Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::ManagedInstance::InstanceStatus (v4.0.0)

Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::ManagedInstance::InstanceStatus.

Output only. [Output Only] The status of the instance. This field is empty when the instance does not exist.

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.

PENDING

value: 35_394_935
For Flex Start provisioning instance is waiting for available capacity from Dynamic Workload Scheduler (DWS).

PENDING_STOP

value: 362_509_770
The instance is gracefully shutting down.

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
The instance is currently stopping (either being deleted or killed).

SUSPENDED

value: 51_223_995
The instance has suspended.

SUSPENDING

value: 514_206_246
The instance is suspending.

TERMINATED

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