Interface InstanceGroupManagerInstanceLifecyclePolicyOnRepairOrBuilder (1.105.0)

public interface InstanceGroupManagerInstanceLifecyclePolicyOnRepairOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowChangingZone()

public abstract String getAllowChangingZone()

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. Check the AllowChangingZone enum for the list of possible values.

optional string allow_changing_zone = 426055112;

Returns
Type Description
String

The allowChangingZone.

getAllowChangingZoneBytes()

public abstract ByteString getAllowChangingZoneBytes()

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. Check the AllowChangingZone enum for the list of possible values.

optional string allow_changing_zone = 426055112;

Returns
Type Description
ByteString

The bytes for allowChangingZone.

hasAllowChangingZone()

public abstract boolean hasAllowChangingZone()

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. Check the AllowChangingZone enum for the list of possible values.

optional string allow_changing_zone = 426055112;

Returns
Type Description
boolean

Whether the allowChangingZone field is set.