Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::Instance::Status (v2.15.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: 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
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).