ALIYUN::EBS::DiskReplicaPair is used to create a replication pair.
Syntax
{
"Type": "ALIYUN::EBS::DiskReplicaPair",
"Properties": {
"DiskReplicaPairName": String,
"Description": String,
"DestinationDiskId": String,
"ResourceGroupId": String,
"Period": Integer,
"RPO": Integer,
"DestinationRegionId": String,
"Bandwidth": Integer,
"DestinationZoneId": String,
"PaymentType": String,
"SourceZoneId": String,
"Tags": List,
"PeriodUnit": String,
"DiskId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
DiskReplicaPairName | String | No | Yes | The name of the replication pair. | None. |
Description | String | No | No | The description of the replication pair. | None. |
DestinationDiskId | String | Yes | No | The ID of the secondary disk. | None. |
ResourceGroupId | String | No | Yes | The ID of the resource group. | None. |
Period | Integer | No | No | The subscription duration of the instance that you want to create. | Unit: months. Valid values when you create an instance: 1, 2, 3, 6, 12, 24, 36, and 60. |
RPO | Integer | No | No | The recovery point objective (RPO) of the replication pair. | Unit: seconds. |
DestinationRegionId | String | Yes | No | The ID of the region in which the secondary disk is deployed. | None. |
Bandwidth | Integer | No | No | The bandwidth that is used to asynchronously replicate data from the primary disk to the secondary disk. | Unit: Kbit/s. |
DestinationZoneId | String | Yes | No | The ID of the zone in which the secondary disk is deployed. | None. |
PaymentType | String | No | No | The billing method of the instance. | Valid values:
|
SourceZoneId | String | Yes | No | The ID of the zone in which the primary disk is deployed. | None. |
Tags | List | No | Yes | The tags of the replication pair. | You can add up to 20 tags. For more information, see Tags syntax. |
PeriodUnit | String | No | No | The unit of the subscription duration. | Set the value to Month. |
DiskId | String | Yes | No | The ID of the primary disk. | None. |
Tags syntax
"Tags": [
{
"Value": String,
"Key": String
}
]
Tags properties
Property | Type | Required | Editable | Description | Constraint |
Value | String | No | No | The value of the tag. | The tag value can be up to 128 characters in length, and cannot contain |
Key | String | Yes | No | The key of the tag. | The tag key must be 1 to 128 characters in length, and cannot contain |
Return values
Fn::GetAtt
DiskReplicaPairName: the name of the replication pair.
Description: the description of the replication pair.
DestinationDiskId: the ID of the secondary disk.
ResourceGroupId: the ID of the resource group.
CreateTime: the time when the replication pair was created.
ReplicaPairId: the ID of the replication pair.
RPO: the RPO of the replication pair.
DestinationRegionId: the ID of the region in which the secondary disk is deployed.
Bandwidth: the bandwidth that is used to asynchronously replicate data from the primary disk to the secondary disk.
DestinationZoneId: the ID of the zone in which the secondary disk is deployed.
PaymentType: the billing method of the instance.
SourceZoneId: the ID of the zone in which the primary zone is deployed.
Tags: the tags of the replication pair.
DiskId: the ID of the primary disk.