Class VirtualMachineScaleSetVMProtectionPolicy
The protection policy of a virtual machine scale set VM.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Compute.dll
Syntax
public class VirtualMachineScaleSetVMProtectionPolicy
Constructors
VirtualMachineScaleSetVMProtectionPolicy()
Initializes a new instance of the VirtualMachineScaleSetVMProtectionPolicy class.
Declaration
public VirtualMachineScaleSetVMProtectionPolicy ();
VirtualMachineScaleSetVMProtectionPolicy(Nullable<Boolean>, Nullable<Boolean>)
Initializes a new instance of the VirtualMachineScaleSetVMProtectionPolicy class.
Declaration
public VirtualMachineScaleSetVMProtectionPolicy (Nullable<bool> protectFromScaleIn = null, Nullable<bool> protectFromScaleSetActions = null);
Parameters
|
Nullable<Boolean>
protectFromScaleIn
Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation. |
|
Nullable<Boolean>
protectFromScaleSetActions
Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM. |
Properties
ProtectFromScaleIn
Gets or sets indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="protectFromScaleIn")]
public Nullable<bool> ProtectFromScaleIn { get; set; }
Property Value
|
Nullable<Boolean>
|
ProtectFromScaleSetActions
Gets or sets indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="protectFromScaleSetActions")]
public Nullable<bool> ProtectFromScaleSetActions { get; set; }
Property Value
|
Nullable<Boolean>
|