Sdílet prostřednictvím


SimpleSchedulePolicyV2 Class

Definition

The V2 policy schedule for IaaS that supports hourly backups.

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

Constructors

SimpleSchedulePolicyV2()

Initializes a new instance of SimpleSchedulePolicyV2.

Properties

HourlySchedule

hourly schedule of this policy.

ScheduleRunFrequency

Frequency of the schedule operation of this policy.

ScheduleRunTimes

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

WeeklySchedule

Weekly schedule of this policy.

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

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

IJsonModel<SimpleSchedulePolicyV2>.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<SimpleSchedulePolicyV2>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SimpleSchedulePolicyV2>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SimpleSchedulePolicyV2>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to