WebAppBackupSchedule Class

Definition

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

public class WebAppBackupSchedule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.WebAppBackupSchedule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.WebAppBackupSchedule>
type WebAppBackupSchedule = class
    interface IJsonModel<WebAppBackupSchedule>
    interface IPersistableModel<WebAppBackupSchedule>
Public Class WebAppBackupSchedule
Implements IJsonModel(Of WebAppBackupSchedule), IPersistableModel(Of WebAppBackupSchedule)
Inheritance
WebAppBackupSchedule
Implements

Constructors

Name Description
WebAppBackupSchedule(Int32, BackupFrequencyUnit, Boolean, Int32)

Initializes a new instance of WebAppBackupSchedule.

Properties

Name Description
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) Serialized Name: BackupSchedule.frequencyInterval

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) Serialized Name: BackupSchedule.frequencyUnit

LastExecutedOn

Last time when this schedule was triggered. Serialized Name: BackupSchedule.lastExecutionTime

RetentionPeriodInDays

After how many days backups should be deleted. Serialized Name: BackupSchedule.retentionPeriodInDays

ShouldKeepAtLeastOneBackup

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

StartOn

When the schedule should start working. Serialized Name: BackupSchedule.startTime

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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

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

IJsonModel<WebAppBackupSchedule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WebAppBackupSchedule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WebAppBackupSchedule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WebAppBackupSchedule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to