VirtualMachineScaleSetVmProtectionPolicy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The protection policy of a virtual machine scale set VM.
public class VirtualMachineScaleSetVmProtectionPolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVmProtectionPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVmProtectionPolicy>
type VirtualMachineScaleSetVmProtectionPolicy = class
interface IJsonModel<VirtualMachineScaleSetVmProtectionPolicy>
interface IPersistableModel<VirtualMachineScaleSetVmProtectionPolicy>
Public Class VirtualMachineScaleSetVmProtectionPolicy
Implements IJsonModel(Of VirtualMachineScaleSetVmProtectionPolicy), IPersistableModel(Of VirtualMachineScaleSetVmProtectionPolicy)
- Inheritance
-
VirtualMachineScaleSetVmProtectionPolicy
- Implements
Constructors
VirtualMachineScaleSetVmProtectionPolicy() |
Initializes a new instance of VirtualMachineScaleSetVmProtectionPolicy. |
Properties
ProtectFromScaleIn |
Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation. |
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. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<VirtualMachineScaleSetVmProtectionPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<VirtualMachineScaleSetVmProtectionPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<VirtualMachineScaleSetVmProtectionPolicy>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<VirtualMachineScaleSetVmProtectionPolicy>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<VirtualMachineScaleSetVmProtectionPolicy>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET