Поделиться через


YearlyRetentionSchedule Class

Definition

Yearly retention schedule.

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

Constructors

YearlyRetentionSchedule()

Initializes a new instance of YearlyRetentionSchedule.

Properties

MonthsOfYear

List of months of year of yearly retention policy.

RetentionDuration

Retention duration of retention Policy.

RetentionScheduleDailyDaysOfTheMonth

List of days of the month.

RetentionScheduleFormatType

Retention schedule format for yearly retention policy.

RetentionScheduleWeekly

Weekly retention format for yearly retention policy.

RetentionTimes

Retention times of retention policy.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<YearlyRetentionSchedule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<YearlyRetentionSchedule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<YearlyRetentionSchedule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<YearlyRetentionSchedule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<YearlyRetentionSchedule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to