Condividi tramite


BackupInstancePolicyInfo Class

Definition

Policy Info in backupInstance.

public class BackupInstancePolicyInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataProtectionBackup.Models.BackupInstancePolicyInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataProtectionBackup.Models.BackupInstancePolicyInfo>
public class BackupInstancePolicyInfo
type BackupInstancePolicyInfo = class
    interface IJsonModel<BackupInstancePolicyInfo>
    interface IPersistableModel<BackupInstancePolicyInfo>
type BackupInstancePolicyInfo = class
Public Class BackupInstancePolicyInfo
Implements IJsonModel(Of BackupInstancePolicyInfo), IPersistableModel(Of BackupInstancePolicyInfo)
Public Class BackupInstancePolicyInfo
Inheritance
BackupInstancePolicyInfo
Implements

Constructors

BackupInstancePolicyInfo(ResourceIdentifier)

Initializes a new instance of BackupInstancePolicyInfo.

Properties

PolicyId

Gets or sets the policy id.

PolicyParameters

Policy parameters for the backup instance.

PolicyVersion

Gets the policy version.

Explicit Interface Implementations

IJsonModel<BackupInstancePolicyInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BackupInstancePolicyInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BackupInstancePolicyInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BackupInstancePolicyInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BackupInstancePolicyInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to