BackupSchedule Constructors
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.
Overloads
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. |
BackupSchedule()
Initializes a new instance of the BackupSchedule class.
public BackupSchedule ();
Public Sub New ()
Applies to
BackupSchedule(Int32, FrequencyUnit, Boolean, Int32, Nullable<DateTime>, Nullable<DateTime>)
Initializes a new instance of the BackupSchedule class.
public BackupSchedule (int frequencyInterval, Microsoft.Azure.Management.WebSites.Models.FrequencyUnit frequencyUnit, bool keepAtLeastOneBackup, int retentionPeriodInDays, DateTime? startTime = default, DateTime? lastExecutionTime = default);
new Microsoft.Azure.Management.WebSites.Models.BackupSchedule : int * Microsoft.Azure.Management.WebSites.Models.FrequencyUnit * bool * int * Nullable<DateTime> * Nullable<DateTime> -> Microsoft.Azure.Management.WebSites.Models.BackupSchedule
Public Sub New (frequencyInterval As Integer, frequencyUnit As FrequencyUnit, keepAtLeastOneBackup As Boolean, retentionPeriodInDays As Integer, Optional startTime As Nullable(Of DateTime) = Nothing, Optional lastExecutionTime As Nullable(Of DateTime) = Nothing)
Parameters
- frequencyInterval
- Int32
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
- 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). Possible values include: 'Day', 'Hour'
- keepAtLeastOneBackup
- Boolean
True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.
- retentionPeriodInDays
- Int32
After how many days backups should be deleted.
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기