Udostępnij za pośrednictwem


VirtualMachineScaleSetVMProtectionPolicy Class

Definition

The protection policy of a virtual machine scale set VM.

public class VirtualMachineScaleSetVMProtectionPolicy
type VirtualMachineScaleSetVMProtectionPolicy = class
Public Class VirtualMachineScaleSetVMProtectionPolicy
Inheritance
VirtualMachineScaleSetVMProtectionPolicy

Constructors

VirtualMachineScaleSetVMProtectionPolicy()

Initializes a new instance of the VirtualMachineScaleSetVMProtectionPolicy class.

VirtualMachineScaleSetVMProtectionPolicy(Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the VirtualMachineScaleSetVMProtectionPolicy class.

Properties

ProtectFromScaleIn

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

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.

Applies to