Udostępnij za pośrednictwem


MonthlyRetentionSchedule Class

Definition

Monthly retention schedule.

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

Constructors

MonthlyRetentionSchedule()

Initializes a new instance of MonthlyRetentionSchedule.

Properties

RetentionDuration

Retention duration of retention Policy.

RetentionScheduleDailyDaysOfTheMonth

List of days of the month.

RetentionScheduleFormatType

Retention schedule format type for monthly retention policy.

RetentionScheduleWeekly

Weekly retention format for monthly retention policy.

RetentionTimes

Retention times of retention policy.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MonthlyRetentionSchedule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MonthlyRetentionSchedule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonthlyRetentionSchedule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonthlyRetentionSchedule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MonthlyRetentionSchedule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to