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

Resource Orchestration Service:ALIYUN::EBS::DiskReplicaPair

最終更新日:Jan 16, 2025

ALIYUN::EBS::DiskReplicaPair は、レプリケーションペアを作成するために使用されます。

構文

{
  "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
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

DiskReplicaPairName

String

いいえ

はい

レプリケーションペアの名前。

なし。

Description

String

いいえ

いいえ

レプリケーションペアの説明。

なし。

DestinationDiskId

String

はい

いいえ

セカンダリディスクの ID。

なし。

ResourceGroupId

String

いいえ

はい

リソースグループの ID。

なし。

Period

Integer

いいえ

いいえ

作成するインスタンスのサブスクリプション期間。

単位:月。

インスタンス作成時の有効な値:1、2、3、6、12、24、36、60。

RPO

Integer

いいえ

いいえ

レプリケーションペアの目標復旧時点 (RPO)。

単位:秒。

DestinationRegionId

String

はい

いいえ

セカンダリディスクがデプロイされているリージョンの ID。

なし。

Bandwidth

Integer

いいえ

いいえ

プライマリディスクからセカンダリディスクへのデータの非同期レプリケーションに使用される帯域幅。

単位:Kbit/s。

DestinationZoneId

String

はい

いいえ

セカンダリディスクがデプロイされているゾーンの ID。

なし。

PaymentType

String

いいえ

いいえ

インスタンスの課金方法。

有効な値:

  • PrePay:サブスクリプション

  • PostPay:従量課金制

SourceZoneId

String

はい

いいえ

プライマリディスクがデプロイされているゾーンの ID。

なし。

Tags

List

いいえ

はい

レプリケーションペアのタグ。

最大 20 個のタグを追加できます。

詳細については、タグの構文をご参照ください。

PeriodUnit

String

いいえ

いいえ

サブスクリプション期間の単位。

値を Month に設定します。

DiskId

String

はい

いいえ

プライマリディスクの ID。

なし。

タグの構文

"Tags": [
  {
    "Value": String,
    "Key": String
  }
]

タグのプロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

Value

String

いいえ

いいえ

タグの値。

タグ値は最大 128 文字で、http:// または https:// を含めることはできません。タグ値は aliyun または acs: で始めることはできません。

Key

String

はい

いいえ

タグのキー。

タグキーは 1 ~ 128 文字で、http:// または https:// を含めることはできません。タグキーは aliyun または acs: で始めることはできません。

戻り値

Fn::GetAtt

  • DiskReplicaPairName:レプリケーションペアの名前。

  • Description:レプリケーションペアの説明。

  • DestinationDiskId:セカンダリディスクの ID。

  • ResourceGroupId:リソースグループの ID。

  • CreateTime:レプリケーションペアが作成された時刻。

  • ReplicaPairId:レプリケーションペアの ID。

  • RPO:レプリケーションペアの RPO。

  • DestinationRegionId:セカンダリディスクがデプロイされているリージョンの ID。

  • Bandwidth:プライマリディスクからセカンダリディスクへのデータの非同期レプリケーションに使用される帯域幅。

  • DestinationZoneId:セカンダリディスクがデプロイされているゾーンの ID。

  • PaymentType:インスタンスの課金方法。

  • SourceZoneId:プライマリゾーンがデプロイされているゾーンの ID。

  • Tags:レプリケーションペアのタグ。

  • DiskId:プライマリディスクの ID。

  • YAML 形式

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      DestinationDiskId:
        Type: String
        AssociationProperty: ALIYUN::ECS::Disk::DiskId
        Description: スタンバイディスクのID。 // The ID of the standby disk.
    Resources:
      ExtensionResource:
        Type: ALIYUN::EBS::DiskReplicaPair
        Properties:
          DiskReplicaPairName: TestReplicaPair
          DestinationDiskId:
            Ref: DestinationDiskId
          RPO: 900
          DestinationRegionId: cn-beijing
          Bandwidth: 10240
          DestinationZoneId: cn-beijing-h
          PaymentType: PostPay
          SourceZoneId:
            Fn::Select:
              - '0'
              - Fn::GetAZs:
                  Ref: ALIYUN::Region
          DiskId: d-sa1f82p58p1tdw9g****
    Outputs:
      DiskReplicaPairName:
        Description: 非同期レプリケーション関係の名前。 // The name of the asynchronous replication relationship.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - DiskReplicaPairName
      Description:
        Description: 非同期レプリケーション関係の説明。 // The description of the asynchronous replication relationship.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - Description
      DestinationDiskId:
        Description: スタンバイディスクのID。 // The ID of the standby disk.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - DestinationDiskId
      ResourceGroupId:
        Description: リソースグループのID。 // The ID of the resource group.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - ResourceGroupId
      CreateTime:
        Description: リソースの作成時刻。 // The creation time of the resource.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - CreateTime
      ReplicaPairId:
        Description: ディスクレプリカペアのID。 // The ID of the disk replica pair.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - ReplicaPairId
      RPO:
        Description: 整合性グループによって設定されたRPO値(秒単位)。 // The RPO value set by the consistency group in seconds.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - RPO
      DestinationRegionId:
        Description: ディザスタリカバリサイトが属するリージョンのID。 // The ID of the region to which the disaster recovery site belongs.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - DestinationRegionId
      Bandwidth:
        Description: クラウドディスク間の非同期データレプリケーションの帯域幅。 // The bandwidth for asynchronous data replication between cloud disks.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - Bandwidth
      DestinationZoneId:
        Description: ディザスタリカバリサイトが属するゾーンのID。 // The ID of the zone to which the disaster recovery site belongs.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - DestinationZoneId
      PaymentType:
        Description: リソースの支払いタイプ。 // The payment type of the resource.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - PaymentType
      SourceZoneId:
        Description: プライマリサイトが属するゾーンのID。 // The ID of the zone to which the production site belongs.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - SourceZoneId
      Tags:
        Description: ディスクレプリカペアのタグ。 // The tags of the disk replica pair.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - Tags
      DiskId:
        Description: プライマリディスクのID。 // The ID of the primary disk.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - DiskId
  • JSON 形式

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "DestinationDiskId": {
          "Type": "String",
          "AssociationProperty": "ALIYUN::ECS::Disk::DiskId",
          "Description": "スタンバイディスクの ID です。"// The ID of the standby disk.
        }
      },
      "Resources": {
        "ExtensionResource": {
          "Type": "ALIYUN::EBS::DiskReplicaPair",
          "Properties": {
            "DiskReplicaPairName": "TestReplicaPair",
            "DestinationDiskId": {
              "Ref": "DestinationDiskId"
            },
            "RPO": 900,
            "DestinationRegionId": "cn-beijing",
            "Bandwidth": 10240,
            "DestinationZoneId": "cn-beijing-h",
            "PaymentType": "PostPay",
            "SourceZoneId": {
              "Fn::Select": [
                "0",
                {
                  "Fn::GetAZs": {
                    "Ref": "ALIYUN::Region"
                  }
                }
              ]
            },
            "DiskId": "d-sa1f82p58p1tdw9g****"
          }
        }
      },
      "Outputs": {
        "DiskReplicaPairName": {
          "Description": "非同期レプリケーション関係の名前です。", // The name of the asynchronous replication relationship.
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "DiskReplicaPairName"
            ]
          }
        },
        "Description": {
          "Description": "非同期レプリケーション関係の説明です。", // The description of the asynchronous replication relationship.
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Description"
            ]
          }
        },
        "DestinationDiskId": {
          "Description": "スタンバイディスクの ID です。", // The ID of the standby disk.
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "DestinationDiskId"
            ]
          }
        },
        "ResourceGroupId": {
          "Description": "リソースグループの ID です。", // The ID of the resource group.
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "ResourceGroupId"
            ]
          }
        },
        "CreateTime": {
          "Description": "リソースの作成時刻です。", // The creation time of the resource.
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "CreateTime"
            ]
          }
        },
        "ReplicaPairId": {
          "Description": "ディスクレプリカペアの ID です。", // The ID of the disk replica pair.
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "ReplicaPairId"
            ]
          }
        },
        "RPO": {
          "Description": "整合性グループによって設定された RPO 値(秒単位)です。", // The RPO value set by the consistency group in seconds.
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "RPO"
            ]
          }
        },
        "DestinationRegionId": {
          "Description": "ディザスタリカバリサイトが属するリージョンの ID です。", // The ID of the region to which the disaster recovery site belongs.
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "DestinationRegionId"
            ]
          }
        },
        "Bandwidth": {
          "Description": "クラウドディスク間の非同期データレプリケーションの帯域幅です。", // The bandwidth for asynchronous data replication between cloud disks.
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Bandwidth"
            ]
          }
        },
        "DestinationZoneId": {
          "Description": "ディザスタリカバリサイトが属するゾーンの ID です。", // The ID of the zone to which the disaster recovery site belongs.
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "DestinationZoneId"
            ]
          }
        },
        "PaymentType": {
          "Description": "リソースの支払いタイプです。", // The payment type of the resource.
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "PaymentType"
            ]
          }
        },
        "SourceZoneId": {
          "Description": "プライマリサイトが属するゾーンの ID です。", // The ID of the zone to which the production site belongs.
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "SourceZoneId"
            ]
          }
        },
        "Tags": {
          "Description": "ディスクレプリカペアのタグです。", // The tags of the disk replica pair.
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Tags"
            ]
          }
        },
        "DiskId": {
          "Description": "プライマリディスクの ID です。", // The ID of the primary disk.
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "DiskId"
            ]
          }
        }
      }
    }