Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::Scheduling::InstanceTerminationAction (v2.1.0)

Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::Scheduling::InstanceTerminationAction.

Specifies the termination action for the instance.

Constants

UNDEFINED_INSTANCE_TERMINATION_ACTION

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

DELETE

value: 402_225_579
Delete the VM.

INSTANCE_TERMINATION_ACTION_UNSPECIFIED

value: 92_954_803
Default value. This value is unused.

STOP

value: 2_555_906
Stop the VM without storing in-memory content. default action.