VirtualMachineScaleSetVMProtectionPolicy Class

The protection policy of a virtual machine scale set VM.

Inheritance
VirtualMachineScaleSetVMProtectionPolicy

Constructor

VirtualMachineScaleSetVMProtectionPolicy(*, protect_from_scale_in: Optional[bool] = None, protect_from_scale_set_actions: Optional[bool] = None, **kwargs)

Parameters

protect_from_scale_in
bool
Required

Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.

protect_from_scale_set_actions
bool
Required

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.