WebAppBackupSchedule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Description of a backup schedule. Describes how often should be the backup performed and what should be the retention policy.
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
WebAppBackupSchedule(Int32, BackupFrequencyUnit, Boolean, Int32) |
Initializes a new instance of WebAppBackupSchedule. |
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). |
LastExecutedOn |
Last time when this schedule was triggered. |
RetentionPeriodInDays |
After how many days backups should be deleted. |
ShouldKeepAtLeastOneBackup |
True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise. |
StartOn |
When the schedule should start working. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
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
Azure SDK for .NET