Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::InstanceGroupManagerInstanceLifecyclePolicyOnRepair (v3.9.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::InstanceGroupManagerInstanceLifecyclePolicyOnRepair.

Configuration for VM repairs in the MIG.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allow_changing_zone

def allow_changing_zone() -> ::String
Returns
  • (::String) —

    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.

#allow_changing_zone=

def allow_changing_zone=(value) -> ::String
Parameter
  • value (::String) —

    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.
Returns
  • (::String) —

    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.