OtsBackupPlanRuleArgs

data class OtsBackupPlanRuleArgs(val backupType: Output<String>? = null, val disabled: Output<Boolean>? = null, val retention: Output<String>? = null, val ruleName: Output<String>? = null, val schedule: Output<String>? = null) : ConvertibleToJava<OtsBackupPlanRuleArgs>

Constructors

Link copied to clipboard
fun OtsBackupPlanRuleArgs(backupType: Output<String>? = null, disabled: Output<Boolean>? = null, retention: Output<String>? = null, ruleName: Output<String>? = null, schedule: Output<String>? = null)

Functions

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

Properties

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

Backup type. Valid values: COMPLETE.

Link copied to clipboard
val disabled: Output<Boolean>? = null

Whether to disable the backup task. Valid values: true, false. Default values: false.

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

Backup retention days, the minimum is 1.

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

The name of the backup rule.Note: Required while source_type equals OTS_TABLE. rule_name should be unique for the specific user.

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

Backup strategy. Optional format: I|{startTime}|{interval}. It means to execute a backup task every {interval} starting from {startTime}. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered.