public class VirtualMachineScaleSetVMProtectionPolicy extends Object
Constructor and Description |
---|
VirtualMachineScaleSetVMProtectionPolicy() |
Modifier and Type | Method and Description |
---|---|
Boolean |
protectFromScaleIn()
Get indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.
|
Boolean |
protectFromScaleSetActions()
Get 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.
|
VirtualMachineScaleSetVMProtectionPolicy |
withProtectFromScaleIn(Boolean protectFromScaleIn)
Set indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.
|
VirtualMachineScaleSetVMProtectionPolicy |
withProtectFromScaleSetActions(Boolean protectFromScaleSetActions)
Set 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.
|
public VirtualMachineScaleSetVMProtectionPolicy()
public Boolean protectFromScaleIn()
public VirtualMachineScaleSetVMProtectionPolicy withProtectFromScaleIn(Boolean protectFromScaleIn)
protectFromScaleIn
- the protectFromScaleIn value to setpublic Boolean protectFromScaleSetActions()
public VirtualMachineScaleSetVMProtectionPolicy withProtectFromScaleSetActions(Boolean protectFromScaleSetActions)
protectFromScaleSetActions
- the protectFromScaleSetActions value to setCopyright © 2019. All rights reserved.