Share via


AdhocBackupRules Class

Definition

Adhoc backup rules.

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

Constructors

AdhocBackupRules(String, String)

Initializes a new instance of AdhocBackupRules.

Properties

BackupTriggerRetentionTagOverride

Gets the backup trigger retention tag override.

RuleName

Gets the rule name.

Explicit Interface Implementations

IJsonModel<AdhocBackupRules>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AdhocBackupRules>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AdhocBackupRules>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AdhocBackupRules>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AdhocBackupRules>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to