DiskReplicaPairArgs

data class DiskReplicaPairArgs(val bandwidth: Output<Int>? = 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 diskReplicaPairName: Output<String>? = null, val oneShot: Output<Boolean>? = null, val pairName: Output<String>? = null, val paymentType: Output<String>? = null, val period: Output<Int>? = null, val periodUnit: Output<String>? = null, val resourceGroupId: Output<String>? = null, val reverseReplicate: Output<Boolean>? = null, val rpo: Output<Int>? = null, val sourceZoneId: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<DiskReplicaPairArgs>

Provides a Elastic Block Storage(EBS) Disk Replica Pair resource. For information about Elastic Block Storage(EBS) Disk Replica Pair and how to use it, see What is Disk Replica Pair.

NOTE: Available since v1.196.0.

Import

Elastic Block Storage(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
constructor(bandwidth: Output<Int>? = null, description: Output<String>? = null, destinationDiskId: Output<String>? = null, destinationRegionId: Output<String>? = null, destinationZoneId: Output<String>? = null, diskId: Output<String>? = null, diskReplicaPairName: Output<String>? = null, oneShot: Output<Boolean>? = null, pairName: Output<String>? = null, paymentType: Output<String>? = null, period: Output<Int>? = null, periodUnit: Output<String>? = null, resourceGroupId: Output<String>? = null, reverseReplicate: Output<Boolean>? = null, rpo: Output<Int>? = null, sourceZoneId: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

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

The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps. Value range:

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 diskReplicaPairName: 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 oneShot: Output<Boolean>? = null

Whether to synchronize immediately. Value range:

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

. Field 'pair_name' has been deprecated from provider version 1.245.0. New field 'disk_replica_pair_name' instead.

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

The payment type of the resource

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

The purchase duration of the asynchronous replication relationship. This parameter is required when 'ChargeType = PrePay. The duration unit is specified by'periodunit', and the value range is:

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

The unit of the purchase time of the asynchronous replication relationship. Value range:

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

The ID of the resource group

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

Specifies whether to enable the reverse replication sub-feature. Valid values: true and false. Default value: true.

Link copied to clipboard
val rpo: Output<Int>? = 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.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

The tag of the resource The following arguments will be discarded. Please use new fields as soon as possible:

Functions

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