すべてのプロダクト
Search
ドキュメントセンター

Resource Orchestration Service:ALIYUN::EBS::DiskReplicaPairAddition

最終更新日:Jan 16, 2025

ALIYUN::EBS::DiskReplicaPairAddition は、レプリケーションペアをレプリケーションペア整合性グループに追加するために使用されます。

構文

{
  "Type": "ALIYUN::EBS::DiskReplicaPairAddition",
  "Properties": {
    "ReplicaPairId": String,
    "ReplicaGroupId": String
  }
}

プロパティ

プロパティタイプ必須編集可能説明制約
ReplicaPairIdStringYesNoレプリケーションペアのID。DescribeDiskReplicaPairs オペレーションを呼び出して、作成されたレプリケーションペアの ID をクエリできます。
ReplicaGroupIdStringYesNoレプリケーションペア整合性グループの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"
            ]
          }
        }
      }
    }
  • YAML 形式

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      ReplicaGroupId:
        Description: レプリケーションペア整合性グループの ID。 # Translated comment
        Type: String
      ReplicaPairId:
        Description: レプリケーションペアの ID。DescribeDiskReplicaPairs オペレーションを呼び出して、既存のレプリケーションペアの ID をクエリできます。 # Translated comment
        Type: String
    Resources:
      DiskReplicaPairAddition:
        Properties:
          ReplicaGroupId:
            Ref: ReplicaGroupId
          ReplicaPairId:
            Ref: ReplicaPairId
        Type: ALIYUN::EBS::DiskReplicaPairAddition
    Outputs:
      ReplicaGroupId:
        Description: レプリケーションペア整合性グループの ID。 # Translated comment
        Value:
          Fn::GetAtt:
          - DiskReplicaPairAddition
          - ReplicaGroupId
      ReplicaPairId:
        Description: レプリケーションペアの ID。 # Translated comment
        Value:
          Fn::GetAtt:
          - DiskReplicaPairAddition
          - ReplicaPairId