BackupScheduleArgs

data class BackupScheduleArgs(val frequencyInterval: Output<Int>, val frequencyUnit: Output<FrequencyUnit>, val keepAtLeastOneBackup: Output<Boolean>, val retentionPeriodInDays: Output<Int>, val startTime: Output<String>? = null) : ConvertibleToJava<BackupScheduleArgs>

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

Constructors

Link copied to clipboard
constructor(frequencyInterval: Output<Int>, frequencyUnit: Output<FrequencyUnit>, keepAtLeastOneBackup: Output<Boolean>, retentionPeriodInDays: Output<Int>, startTime: Output<String>? = null)

Properties

Link copied to clipboard
val frequencyInterval: Output<Int>

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)

Link copied to clipboard

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)

Link copied to clipboard

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

Link copied to clipboard

After how many days backups should be deleted.

Link copied to clipboard
val startTime: Output<String>? = null

When the schedule should start working.

Functions

Link copied to clipboard
open override fun toJava(): BackupScheduleArgs