Delen via


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>
public class ScheduleBasedBackupCriteria : Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupCriteria
type ScheduleBasedBackupCriteria = class
    inherit DataProtectionBackupCriteria
    interface IJsonModel<ScheduleBasedBackupCriteria>
    interface IPersistableModel<ScheduleBasedBackupCriteria>
type ScheduleBasedBackupCriteria = class
    inherit DataProtectionBackupCriteria
Public Class ScheduleBasedBackupCriteria
Inherits DataProtectionBackupCriteria
Implements IJsonModel(Of ScheduleBasedBackupCriteria), IPersistableModel(Of ScheduleBasedBackupCriteria)
Public Class ScheduleBasedBackupCriteria
Inherits DataProtectionBackupCriteria
Inheritance
ScheduleBasedBackupCriteria
Implements

Constructors

ScheduleBasedBackupCriteria()

Initializes a new instance of ScheduleBasedBackupCriteria.

Properties

AbsoluteCriteria

it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" and should be part of 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.

Explicit Interface Implementations

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