ภาษา

ScheduleBasedBackupCriteria Class

Definition

Schedule based backup criteria.

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

Constructors

Name Description
ScheduleBasedBackupCriteria()

Initializes a new instance of ScheduleBasedBackupCriteria.

Properties

Name Description
AbsoluteCriteria

It contains absolute marker values such as AllBackup, FirstOfDay, FirstOfWeek, and FirstOfMonth. These values should be part of the AbsoluteMarker enum.

DaysOfMonth

This is day of the month from 1 to 28 other wise last of month.

DaysOfWeek

It should be Sunday/Monday/T..../Saturday.

MonthsOfYear

It should be January/February/....../December.

ScheduleTimes

List of schedule times for backup.

WeeksOfMonth

It should be First/Second/Third/Fourth/Last.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<DataProtectionBackupCriteria>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from DataProtectionBackupCriteria)
IJsonModel<ScheduleBasedBackupCriteria>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScheduleBasedBackupCriteria>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataProtectionBackupCriteria>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from DataProtectionBackupCriteria)
IPersistableModel<ScheduleBasedBackupCriteria>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScheduleBasedBackupCriteria>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScheduleBasedBackupCriteria>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to