Partager via


IBackupSchedule Interface

Definition

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

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

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to