Compute Engine v1 API - Class InstanceGroupManagerInstanceLifecyclePolicyOnRepair (3.29.0)

public sealed class InstanceGroupManagerInstanceLifecyclePolicyOnRepair : IMessage<InstanceGroupManagerInstanceLifecyclePolicyOnRepair>, IEquatable<InstanceGroupManagerInstanceLifecyclePolicyOnRepair>, IDeepCloneable<InstanceGroupManagerInstanceLifecyclePolicyOnRepair>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class InstanceGroupManagerInstanceLifecyclePolicyOnRepair.

Configuration for VM repairs in the MIG.

Inheritance

object > InstanceGroupManagerInstanceLifecyclePolicyOnRepair

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

InstanceGroupManagerInstanceLifecyclePolicyOnRepair()

public InstanceGroupManagerInstanceLifecyclePolicyOnRepair()

InstanceGroupManagerInstanceLifecyclePolicyOnRepair(InstanceGroupManagerInstanceLifecyclePolicyOnRepair)

public InstanceGroupManagerInstanceLifecyclePolicyOnRepair(InstanceGroupManagerInstanceLifecyclePolicyOnRepair other)
Parameter
Name Description
other InstanceGroupManagerInstanceLifecyclePolicyOnRepair

Properties

AllowChangingZone

public string AllowChangingZone { get; set; }

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.
Property Value
Type Description
string

HasAllowChangingZone

public bool HasAllowChangingZone { get; }

Gets whether the "allow_changing_zone" field is set

Property Value
Type Description
bool