Delen via


SimpleSchedulePolicy Class

Definition

Simple policy schedule.

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

Constructors

SimpleSchedulePolicy()

Initializes a new instance of SimpleSchedulePolicy.

Properties

HourlySchedule

Hourly Schedule of this Policy.

ScheduleRunDays

List of days of week this schedule has to be run.

ScheduleRunFrequency

Frequency of the schedule operation of this policy.

ScheduleRunTimes

List of times of day this schedule has to be run.

ScheduleWeeklyFrequency

At every number weeks this schedule has to be run.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BackupSchedulePolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from BackupSchedulePolicy)
IJsonModel<SimpleSchedulePolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SimpleSchedulePolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BackupSchedulePolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from BackupSchedulePolicy)
IPersistableModel<SimpleSchedulePolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SimpleSchedulePolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SimpleSchedulePolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to