Freigeben über


ScheduleBasedBackupCriteria Class

Definition

Schedule based backup criteria

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ScheduleBasedBackupCriteriaTypeConverter))]
public class ScheduleBasedBackupCriteria : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ScheduleBasedBackupCriteriaTypeConverter))>]
type ScheduleBasedBackupCriteria = class
    interface IScheduleBasedBackupCriteria
    interface IJsonSerializable
    interface IBackupCriteria
    interface IValidates
Public Class ScheduleBasedBackupCriteria
Implements IScheduleBasedBackupCriteria, IValidates
Inheritance
ScheduleBasedBackupCriteria
Attributes
Implements

Constructors

ScheduleBasedBackupCriteria()

Creates an new ScheduleBasedBackupCriteria instance.

Properties

AbsoluteCriterion

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

DaysOfTheWeek

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

MonthsOfYear

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

ObjectType

Type of the specific object - used for deserializing

ScheduleTime

List of schedule times for backup

WeeksOfTheMonth

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ScheduleBasedBackupCriteria.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ScheduleBasedBackupCriteria.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria.

FromJsonString(String)

Creates a new instance of ScheduleBasedBackupCriteria, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ScheduleBasedBackupCriteria into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to