DiskReplicaPairArgs

data class DiskReplicaPairArgs(val bandwidth: Output<String>? = null, val description: Output<String>? = null, val destinationDiskId: Output<String>? = null, val destinationRegionId: Output<String>? = null, val destinationZoneId: Output<String>? = null, val diskId: Output<String>? = null, val pairName: Output<String>? = null, val paymentType: Output<String>? = null, val period: Output<String>? = null, val periodUnit: Output<String>? = null, val replicaPairId: Output<String>? = null, val rpo: Output<String>? = null, val sourceZoneId: Output<String>? = null) : ConvertibleToJava<DiskReplicaPairArgs>

Provides a Ebs Disk Replica Pair resource. For information about Ebs Disk Replica Pair and how to use it, see What is Disk Replica Pair.

NOTE: Available since v1.196.0.

Import

Ebs Disk Replica Pair can be imported using the id, e.g.

$ pulumi import alicloud:ebs/diskReplicaPair:DiskReplicaPair example <id>

Constructors

Link copied to clipboard
fun DiskReplicaPairArgs(bandwidth: Output<String>? = null, description: Output<String>? = null, destinationDiskId: Output<String>? = null, destinationRegionId: Output<String>? = null, destinationZoneId: Output<String>? = null, diskId: Output<String>? = null, pairName: Output<String>? = null, paymentType: Output<String>? = null, period: Output<String>? = null, periodUnit: Output<String>? = null, replicaPairId: Output<String>? = null, rpo: Output<String>? = null, sourceZoneId: Output<String>? = null)

Functions

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

Properties

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

The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps. Value range:-10240 Kbps: equal to 10 Mbps.-20480 Kbps: equal to 20 Mbps.-51200 Kbps: equal to 50 Mbps.-102400 Kbps: equal to 100 Mbps.Default value: 10240.This parameter cannot be specified when the ChargeType value is POSTPAY. The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.

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

The description of the asynchronous replication relationship. 2 to 256 English or Chinese characters in length and cannot start with' http:// 'or' https.

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

The ID of the standby disk.

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

The ID of the region to which the disaster recovery site belongs.

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

The ID of the zone to which the disaster recovery site belongs.

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

The ID of the primary disk.

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

The name of the asynchronous replication relationship. The length must be 2 to 128 characters in length and must start with a letter or Chinese name. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-).

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

The payment type of the resource

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

The length of the purchase for the asynchronous replication relationship. When ChargeType=PrePay, this parameter is mandatory. The unit of duration is specified by PeriodUnit and takes on a range of values. When PeriodUnit=Week, this parameter takes values in the range 1, 2, 3 and 4. When PeriodUnit=Month, the parameter takes on the values 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60.

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

The units of asynchronous replication relationship purchase length. Valid values: Week and Month. Default value: Month.

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

The first ID of the resource.

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

The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.

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

The ID of the zone to which the production site belongs.