OtsBackupPlanRule

data class OtsBackupPlanRule(val backupType: String? = null, val disabled: Boolean? = null, val retention: String? = null, val ruleName: String? = null, val schedule: String? = null)

Constructors

Link copied to clipboard
constructor(backupType: String? = null, disabled: Boolean? = null, retention: String? = null, ruleName: String? = null, schedule: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val backupType: String? = null

Backup type. Valid values: COMPLETE.

Link copied to clipboard
val disabled: Boolean? = null

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

Link copied to clipboard
val retention: String? = null

Backup retention days, the minimum is 1.

Link copied to clipboard
val ruleName: 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: 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.