public sealed class InstanceGroupManagerInstanceLifecyclePolicyOnRepair : IMessage<InstanceGroupManagerInstanceLifecyclePolicyOnRepair>, IEquatable<InstanceGroupManagerInstanceLifecyclePolicyOnRepair>, IDeepCloneable<InstanceGroupManagerInstanceLifecyclePolicyOnRepair>, IBufferMessage, IMessageReference documentation and code samples for the Compute Engine v1 API class InstanceGroupManagerInstanceLifecyclePolicyOnRepair.
Configuration for VM repairs in the MIG.
Implements
IMessageInstanceGroupManagerInstanceLifecyclePolicyOnRepair, IEquatableInstanceGroupManagerInstanceLifecyclePolicyOnRepair, IDeepCloneableInstanceGroupManagerInstanceLifecyclePolicyOnRepair, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
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 |
|