ALIYUN::EBS::DiskReplicaPairAddition类型用于块存储添加复制对到一致性复制组。
语法
{
"Type": "ALIYUN::EBS::DiskReplicaPairAddition",
"Properties": {
"ReplicaPairId": String,
"ReplicaGroupId": String
}
}
属性
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
ReplicaPairId | String | 是 | 否 | 复制对ID。 | 您可以调用DescribeDiskReplicaPairs接口查询已创建的复制对ID。 |
ReplicaGroupId | String | 是 | 否 | 一致性复制组ID。 | 无 |
返回值
Fn::GetAtt
- ReplicaPairId:复制对ID。
- ReplicaGroupId:一致性复制组ID。
示例
JSON
格式{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { "ReplicaPairId": { "Type": "String", "Description": "The ID of the replication pair. You can call the DescribeDiskReplicaPairs operation to query the IDs of existing replication pairs." }, "ReplicaGroupId": { "Type": "String", "Description": "The ID of the replication pair-consistent group." } }, "Resources": { "DiskReplicaPairAddition": { "Type": "ALIYUN::EBS::DiskReplicaPairAddition", "Properties": { "ReplicaPairId": { "Ref": "ReplicaPairId" }, "ReplicaGroupId": { "Ref": "ReplicaGroupId" } } } }, "Outputs": { "ReplicaPairId": { "Description": "The ID of the replication pair.", "Value": { "Fn::GetAtt": [ "DiskReplicaPairAddition", "ReplicaPairId" ] } }, "ReplicaGroupId": { "Description": "The ID of the replication pair-consistent group.", "Value": { "Fn::GetAtt": [ "DiskReplicaPairAddition", "ReplicaGroupId" ] } } } }
文档内容是否对您有帮助?