Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class OnHostMaintenance.
Protobuf type google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance
Namespace
Google \ Cloud \ VMMigration \ V1 \ ComputeSchedulingMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
ON_HOST_MAINTENANCE_UNSPECIFIED
Value: 0
An unknown, unexpected behavior.
Generated from protobuf enum ON_HOST_MAINTENANCE_UNSPECIFIED = 0;
TERMINATE
Value: 1
Terminate the instance when the host machine undergoes maintenance.
Generated from protobuf enum TERMINATE = 1;
MIGRATE
Value: 2
Migrate the instance when the host machine undergoes maintenance.
Generated from protobuf enum MIGRATE = 2;