BackupSchedule 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 BackupSchedule
type BackupSchedule = class
Public Class BackupSchedule
- Inheritance
-
BackupSchedule
Constructors
BackupSchedule() |
Initializes a new instance of the BackupSchedule class. |
BackupSchedule(Int32, FrequencyUnit, Boolean, Int32, Nullable<DateTime>, Nullable<DateTime>) |
Initializes a new instance of the BackupSchedule class. |
Properties
FrequencyInterval |
Gets or sets 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 |
Gets or sets 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). Possible values include: 'Day', 'Hour' |
KeepAtLeastOneBackup |
Gets or sets true if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise. |
LastExecutionTime |
Gets last time when this schedule was triggered. |
RetentionPeriodInDays |
Gets or sets after how many days backups should be deleted. |
StartTime |
Gets or sets when the schedule should start working. |
Methods
Validate() |
Validate the object. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應