BackupPlanArgs

data class BackupPlanArgs(val backupGatewayId: Output<String>? = null, val backupLogIntervalSeconds: Output<Int>? = null, val backupMethod: Output<String>? = null, val backupObjects: Output<String>? = null, val backupPeriod: Output<String>? = null, val backupPlanName: Output<String>? = null, val backupRateLimit: Output<String>? = null, val backupRetentionPeriod: Output<Int>? = null, val backupSpeedLimit: Output<String>? = null, val backupStartTime: Output<String>? = null, val backupStorageType: Output<String>? = null, val backupStrategyType: Output<String>? = null, val crossAliyunId: Output<String>? = null, val crossRoleName: Output<String>? = null, val databaseRegion: Output<String>? = null, val databaseType: Output<String>? = null, val duplicationArchivePeriod: Output<Int>? = null, val duplicationInfrequentAccessPeriod: Output<Int>? = null, val enableBackupLog: Output<Boolean>? = null, val instanceClass: Output<String>? = null, val instanceType: Output<String>? = null, val ossBucketName: Output<String>? = null, val paymentType: Output<String>? = null, val period: Output<String>? = null, val resourceGroupId: Output<String>? = null, val sourceEndpointDatabaseName: Output<String>? = null, val sourceEndpointInstanceId: Output<String>? = null, val sourceEndpointInstanceType: Output<String>? = null, val sourceEndpointIp: Output<String>? = null, val sourceEndpointOracleSid: Output<String>? = null, val sourceEndpointPassword: Output<String>? = null, val sourceEndpointPort: Output<Int>? = null, val sourceEndpointRegion: Output<String>? = null, val sourceEndpointSid: Output<String>? = null, val sourceEndpointUserName: Output<String>? = null, val status: Output<String>? = null, val storageRegion: Output<String>? = null, val usedTime: Output<Int>? = null) : ConvertibleToJava<BackupPlanArgs>

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

NOTE: Available since v1.185.0.

Import

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

$ pulumi import alicloud:dbs/backupPlan:BackupPlan example <id>

Constructors

Link copied to clipboard
fun BackupPlanArgs(backupGatewayId: Output<String>? = null, backupLogIntervalSeconds: Output<Int>? = null, backupMethod: Output<String>? = null, backupObjects: Output<String>? = null, backupPeriod: Output<String>? = null, backupPlanName: Output<String>? = null, backupRateLimit: Output<String>? = null, backupRetentionPeriod: Output<Int>? = null, backupSpeedLimit: Output<String>? = null, backupStartTime: Output<String>? = null, backupStorageType: Output<String>? = null, backupStrategyType: Output<String>? = null, crossAliyunId: Output<String>? = null, crossRoleName: Output<String>? = null, databaseRegion: Output<String>? = null, databaseType: Output<String>? = null, duplicationArchivePeriod: Output<Int>? = null, duplicationInfrequentAccessPeriod: Output<Int>? = null, enableBackupLog: Output<Boolean>? = null, instanceClass: Output<String>? = null, instanceType: Output<String>? = null, ossBucketName: Output<String>? = null, paymentType: Output<String>? = null, period: Output<String>? = null, resourceGroupId: Output<String>? = null, sourceEndpointDatabaseName: Output<String>? = null, sourceEndpointInstanceId: Output<String>? = null, sourceEndpointInstanceType: Output<String>? = null, sourceEndpointIp: Output<String>? = null, sourceEndpointOracleSid: Output<String>? = null, sourceEndpointPassword: Output<String>? = null, sourceEndpointPort: Output<Int>? = null, sourceEndpointRegion: Output<String>? = null, sourceEndpointSid: Output<String>? = null, sourceEndpointUserName: Output<String>? = null, status: Output<String>? = null, storageRegion: Output<String>? = null, usedTime: Output<Int>? = null)

Functions

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

Properties

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

The ID of the backup gateway. This parameter is required when the source_endpoint_instance_type is Agent.

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

The backup log interval seconds.

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

Backup method. Valid values: duplication, logical, physical.

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

The backup object.

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

Full backup cycle, Valid values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. supports the selection of multiple fetch values, separated by English commas (,).

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

The name of the resource.

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

The backup rate limit.

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

The retention time of backup data. Valid values: 0 to 1825. Default value: 730 days.

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

The backup speed limit.

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

The start time of full Backup. The format is <I> HH:mm</I> Z(UTC time).

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

Built-in storage type, Valid values: system.

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

The backup strategy type. Valid values: simple, manual.

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

The UID that is backed up across Alibaba cloud accounts.

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

The name of the RAM role that is backed up across Alibaba cloud accounts.

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

The database region.

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

Database type. Valid values: DRDS, FIle, MSSQL, MariaDB, MongoDB, MySQL, Oracle, PPAS, PostgreSQL, Redis.

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

The storage time for conversion to archive cold standby is 365 days by default.

Link copied to clipboard

The storage time is converted to low-frequency access. The default time is 180 days.

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

Whether to enable incremental log Backup.

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

The instance class. Valid values: large, medium, micro, small, xlarge.

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

The instance type. Valid values: RDS, PolarDB, DDS, Kvstore, Other.

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

The OSS Bucket name. The system automatically generates a new name by default.

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

The payment type of the resource. Valid values: PayAsYouGo, Subscription.

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

Specify that the prepaid instance is of the package year or monthly type. Valid values: Month, Year.

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

The ID of the resource group.

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

The name of the database. This parameter is required when the database_type is PostgreSQL or MongoDB.

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

The ID of the database instance. This parameter is required when the source_endpoint_instance_type is RDS, ECS, DDS, or Express.

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

The location of the database. Valid values: RDS, ECS, Express, Agent, DDS, Other.

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

The source endpoint ip.

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

Oracle SID name. This parameter is required when the database_type is Oracle.

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

The source endpoint password. This parameter is not required when the database_type is Redis, or when the source_endpoint_instance_type is Agent and the database_type is MSSQL. This parameter is required in other scenarios.

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

The source endpoint port.

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

The region of the database. This parameter is required when the source_endpoint_instance_type is RDS, ECS, DDS, Express, or Agent.

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

Oracle SID name. This parameter is required when the database_type is Oracle.

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

The source endpoint username. This parameter is not required when the database_type is Redis, or when the source_endpoint_instance_type is Agent and the database_type is MSSQL. This parameter is required in other scenarios.

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

The status of the resource. Valid values: pause, running.

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

The storage region.

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

Specify purchase duration. When the parameter period is Year, the used_time value is 1 to 9. When the parameter period is Month, the used_time value is 1 to 11.