ResiliencyPolicy 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.
Describes an resiliency policy - resilientVMCreationPolicy and/or resilientVMDeletionPolicy.
public class ResiliencyPolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.ResiliencyPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.ResiliencyPolicy>
type ResiliencyPolicy = class
interface IJsonModel<ResiliencyPolicy>
interface IPersistableModel<ResiliencyPolicy>
Public Class ResiliencyPolicy
Implements IJsonModel(Of ResiliencyPolicy), IPersistableModel(Of ResiliencyPolicy)
- Inheritance
-
ResiliencyPolicy
- Implements
Constructors
ResiliencyPolicy() |
Initializes a new instance of ResiliencyPolicy. |
Properties
ResilientVmCreationPolicyEnabled |
Specifies whether resilient VM creation should be enabled on the virtual machine scale set. The default value is false. |
ResilientVmDeletionPolicyEnabled |
Specifies whether resilient VM deletion should be enabled on the virtual machine scale set. The default value is false. |
Explicit Interface Implementations
IJsonModel<ResiliencyPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ResiliencyPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ResiliencyPolicy>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ResiliencyPolicy>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ResiliencyPolicy>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für