OperationRecoverySettings 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 configuration parameters used for operation recovery settings on a virtual machine scale set.
public class OperationRecoverySettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.OperationRecoverySettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.OperationRecoverySettings>
type OperationRecoverySettings = class
interface IJsonModel<OperationRecoverySettings>
interface IPersistableModel<OperationRecoverySettings>
Public Class OperationRecoverySettings
Implements IJsonModel(Of OperationRecoverySettings), IPersistableModel(Of OperationRecoverySettings)
- Inheritance
-
OperationRecoverySettings
- Implements
Constructors
| Name | Description |
|---|---|
| OperationRecoverySettings() |
Initializes a new instance of OperationRecoverySettings. |
Properties
| Name | Description |
|---|---|
| ReimageRecoveryPolicyEnabled |
Specifies whether reimage recovery should be enabled. The default value is false. |
| RestartRecoveryPolicyEnabled |
Specifies whether restart recovery should be enabled. The default value is false. |
| StartRecoveryPolicyEnabled |
Specifies whether start recovery should be enabled. The default value is false. |
Methods
| Name | Description |
|---|---|
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<OperationRecoverySettings>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<OperationRecoverySettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<OperationRecoverySettings>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<OperationRecoverySettings>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<OperationRecoverySettings>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |