共用方式為


DataProtectionBackupRule Class

Definition

Azure backup rule.

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

Constructors

DataProtectionBackupRule(String, DataStoreInfoBase, DataProtectionBackupTriggerContext)

Initializes a new instance of DataProtectionBackupRule.

Properties

BackupParameters

BackupParameters base Please note DataProtectionBackupSettingsBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DataProtectionBackupSettings.

DataStore

DataStoreInfo base.

Name

Gets or sets the name.

(Inherited from DataProtectionBasePolicyRule)
Trigger

Trigger context Please note DataProtectionBackupTriggerContext is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AdhocBasedBackupTriggerContext and ScheduleBasedBackupTriggerContext.

Explicit Interface Implementations

IJsonModel<DataProtectionBackupRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataProtectionBackupRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<DataProtectionBasePolicyRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from DataProtectionBasePolicyRule)
IJsonModel<DataProtectionBasePolicyRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from DataProtectionBasePolicyRule)
IPersistableModel<DataProtectionBackupRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataProtectionBackupRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataProtectionBackupRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<DataProtectionBasePolicyRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from DataProtectionBasePolicyRule)
IPersistableModel<DataProtectionBasePolicyRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from DataProtectionBasePolicyRule)
IPersistableModel<DataProtectionBasePolicyRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from DataProtectionBasePolicyRule)

Applies to