OtsBackupPlanArgs

data class OtsBackupPlanArgs(val backupType: Output<String>? = null, val crossAccountRoleName: Output<String>? = null, val crossAccountType: Output<String>? = null, val crossAccountUserId: Output<Int>? = null, val disabled: Output<Boolean>? = null, val instanceName: Output<String>? = null, val otsBackupPlanName: Output<String>? = null, val otsDetails: Output<List<OtsBackupPlanOtsDetailArgs>>? = null, val retention: Output<String>? = null, val rules: Output<List<OtsBackupPlanRuleArgs>>? = null, val schedule: Output<String>? = null, val vaultId: Output<String>? = null) : ConvertibleToJava<OtsBackupPlanArgs>

Provides a HBR Ots Backup Plan resource. For information about HBR Ots Backup Plan and how to use it, see What is Ots Backup Plan.

NOTE: Available in v1.163.0+.

Example Usage

Basic Usage No Java example available.

Import

HBR Ots Backup Plan can be imported using the id, e.g.

$ pulumi import alicloud:hbr/otsBackupPlan:OtsBackupPlan example <id>

Constructors

Link copied to clipboard
fun OtsBackupPlanArgs(backupType: Output<String>? = null, crossAccountRoleName: Output<String>? = null, crossAccountType: Output<String>? = null, crossAccountUserId: Output<Int>? = null, disabled: Output<Boolean>? = null, instanceName: Output<String>? = null, otsBackupPlanName: Output<String>? = null, otsDetails: Output<List<OtsBackupPlanOtsDetailArgs>>? = null, retention: Output<String>? = null, rules: Output<List<OtsBackupPlanRuleArgs>>? = null, schedule: Output<String>? = null, vaultId: Output<String>? = null)

Functions

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

Properties

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

Backup type. Valid values: COMPLETE.

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

The role name created in the original account RAM backup by the cross account managed by the current account.

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

The type of the cross account backup. Valid values: SELF_ACCOUNT, CROSS_ACCOUNT.

Link copied to clipboard
val crossAccountUserId: Output<Int>? = null

The original account ID of the cross account backup managed by the current account.

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 instanceName: Output<String>? = null

The name of the Table store instance. Note: Required while source_type equals OTS_TABLE.

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

The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique.

Link copied to clipboard

The details about the Table store instance. See the following Block ots_detail. Note: Required while source_type equals OTS_TABLE.

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

Backup retention days, the minimum is 1.

Link copied to clipboard
val rules: Output<List<OtsBackupPlanRuleArgs>>? = null

The backup plan rule. See the following Block rules. Note: Required while source_type equals OTS_TABLE.

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.

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

The ID of backup vault.