共用方式為


BackupSchedule interface

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

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)

keepAtLeastOneBackup

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

lastExecutionTime

Last time when this schedule was triggered. NOTE: This property will not be serialized. It can only be populated by the server.

retentionPeriodInDays

After how many days backups should be deleted.

startTime

When the schedule should start working.

Property Details

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)

frequencyInterval: number

Property Value

number

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)

frequencyUnit: FrequencyUnit

Property Value

keepAtLeastOneBackup

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

keepAtLeastOneBackup: boolean

Property Value

boolean

lastExecutionTime

Last time when this schedule was triggered. NOTE: This property will not be serialized. It can only be populated by the server.

lastExecutionTime?: Date

Property Value

Date

retentionPeriodInDays

After how many days backups should be deleted.

retentionPeriodInDays: number

Property Value

number

startTime

When the schedule should start working.

startTime?: Date

Property Value

Date