Udostępnij za pośrednictwem


WebAppBackupSchedule(Int32, BackupFrequencyUnit, Boolean, Int32) Constructor

Definition

Initializes a new instance of WebAppBackupSchedule.

public WebAppBackupSchedule (int frequencyInterval, Azure.ResourceManager.AppService.Models.BackupFrequencyUnit frequencyUnit, bool shouldKeepAtLeastOneBackup, int retentionPeriodInDays);
new Azure.ResourceManager.AppService.Models.WebAppBackupSchedule : int * Azure.ResourceManager.AppService.Models.BackupFrequencyUnit * bool * int -> Azure.ResourceManager.AppService.Models.WebAppBackupSchedule
Public Sub New (frequencyInterval As Integer, frequencyUnit As BackupFrequencyUnit, shouldKeepAtLeastOneBackup As Boolean, retentionPeriodInDays As Integer)

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
BackupFrequencyUnit

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).

shouldKeepAtLeastOneBackup
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