Udostępnij za pośrednictwem


DailyRetentionSchedule Class

Definition

Daily retention schedule.

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

Constructors

DailyRetentionSchedule()

Initializes a new instance of DailyRetentionSchedule.

Properties

RetentionDuration

Retention duration of retention Policy.

RetentionTimes

Retention times of retention policy.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DailyRetentionSchedule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DailyRetentionSchedule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DailyRetentionSchedule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DailyRetentionSchedule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DailyRetentionSchedule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to