ALIYUN::EBS::DiskReplicaPairAddition は、レプリケーションペアをレプリケーションペア整合性グループに追加するために使用されます。
構文
{
"Type": "ALIYUN::EBS::DiskReplicaPairAddition",
"Properties": {
"ReplicaPairId": String,
"ReplicaGroupId": String
}
}プロパティ
| プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
| ReplicaPairId | String | Yes | No | レプリケーションペアのID。 | DescribeDiskReplicaPairs オペレーションを呼び出して、作成されたレプリケーションペアの ID をクエリできます。 |
| ReplicaGroupId | String | Yes | No | レプリケーションペア整合性グループのID。 | なし。 |
戻り値
Fn::GetAtt
- ReplicaPairId: レプリケーションペアの ID。
- ReplicaGroupId: レプリケーションペア整合性グループの ID。
例
JSON形式{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { "ReplicaPairId": { "Type": "String", "Description": "レプリケーションペアのID。DescribeDiskReplicaPairsオペレーションを呼び出して、既存のレプリケーションペアのIDをクエリできます。" // Translated comment }, "ReplicaGroupId": { "Type": "String", "Description": "レプリケーションペア整合性グループのID。" // Translated comment } }, "Resources": { "DiskReplicaPairAddition": { "Type": "ALIYUN::EBS::DiskReplicaPairAddition", "Properties": { "ReplicaPairId": { "Ref": "ReplicaPairId" }, "ReplicaGroupId": { "Ref": "ReplicaGroupId" } } } }, "Outputs": { "ReplicaPairId": { "Description": "レプリケーションペアのID。", // Translated comment "Value": { "Fn::GetAtt": [ "DiskReplicaPairAddition", "ReplicaPairId" ] } }, "ReplicaGroupId": { "Description": "レプリケーションペア整合性グループのID。", // Translated comment "Value": { "Fn::GetAtt": [ "DiskReplicaPairAddition", "ReplicaGroupId" ] } } } }