Compute V1 Client - Class AllowChangingZone (2.11.0)

Reference documentation and code samples for the Compute V1 Client class AllowChangingZone.

Specifies whether the MIG can change a VM's zone during a repair.

Valid values are:

  • NO (default): MIG cannot change a VM's zone during a repair.
  • YES: MIG can select a different zone for the VM during a repair.

Protobuf type google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicyOnRepair.AllowChangingZone

Namespace

Google \ Cloud \ Compute \ V1 \ InstanceGroupManagerInstanceLifecyclePolicyOnRepair

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNDEFINED_ALLOW_CHANGING_ZONE

Value: 0

A value indicating that the enum field is not set.

Generated from protobuf enum UNDEFINED_ALLOW_CHANGING_ZONE = 0;

NO

Value: 2497

[Default] MIG cannot change a VM's zone during a repair.

Generated from protobuf enum NO = 2497;

YES

Value: 87751

MIG can select a different zone for the VM during a repair.

Generated from protobuf enum YES = 87751;