Compartir a través de


BackupSchedule Class

Definition

Description of a backup schedule. Describes how often should be the backup performed and what should be the retention policy.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.BackupScheduleTypeConverter))]
public class BackupSchedule : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IBackupSchedule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.BackupScheduleTypeConverter))>]
type BackupSchedule = class
    interface IBackupSchedule
    interface IJsonSerializable
Public Class BackupSchedule
Implements IBackupSchedule
Inheritance
BackupSchedule
Attributes
Implements

Constructors

BackupSchedule()

Creates an new BackupSchedule instance.

Properties

FrequencyInterval

How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)

FrequencyUnit

The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)

KeepAtLeastOneBackup

True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.

LastExecutionTime

Last time when this schedule was triggered.

RetentionPeriodInDay

After how many days backups should be deleted.

StartTime

When the schedule should start working.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of BackupSchedule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of BackupSchedule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IBackupSchedule.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of BackupSchedule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to