다음을 통해 공유


DataProtectionRetentionRule Class

Definition

Azure retention rule.

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

Constructors

DataProtectionRetentionRule(String, IEnumerable<SourceLifeCycle>)

Initializes a new instance of DataProtectionRetentionRule.

Properties

IsDefault

Gets or sets the is default.

Lifecycles

Gets the lifecycles.

Name

Gets or sets the name.

(Inherited from DataProtectionBasePolicyRule)

Explicit Interface Implementations

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)
IJsonModel<DataProtectionRetentionRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataProtectionRetentionRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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)
IPersistableModel<DataProtectionRetentionRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataProtectionRetentionRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataProtectionRetentionRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to