All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::EBS::DiskReplicaGroup

Last Updated:Jun 19, 2026

Membuat grup replikasi konsisten untuk replikasi asinkron Elastic Block Storage (EBS).

Sintaks

{
  "Type": "ALIYUN::EBS::DiskReplicaGroup",
  "Properties": {
    "RPO": Integer,
    "SourceRegionId": String,
    "Description": String,
    "DiskReplicaGroupName": String,
    "ResourceGroupId": String,
    "DestinationRegionId": String,
    "DestinationZoneId": String,
    "SourceZoneId": String,
    "Tags": List
  }
}

Properti

Property Name

Type

Required

Updatable

Description

Constraints

RPO

Integer

No

Yes

The Recovery Point Objective (RPO) of the consistent replication group.

Unit: seconds.

The only supported duration is 900 seconds.

SourceRegionId

String

Yes

No

ID Wilayah dari primary site.

None

Description

String

No

Yes

ID zona dari production site.

Deskripsi harus terdiri dari 2 hingga 256 karakter. Tidak boleh diawali dengan http:// atau https://.

DiskReplicaGroupName

String

No

Yes

Nama grup replikasi konsisten.

Nama harus terdiri dari 2 hingga 128 karakter. Nama harus diawali dengan huruf, dan tidak boleh diawali dengan http:// atau https://. Nama dapat berisi angka, titik dua (:), garis bawah (_), dan tanda hubung (-).

ResourceGroupId

String

No

Yes

ID kelompok sumber daya.

None

DestinationRegionId

String

Yes

No

ID Wilayah dari secondary site.

None

DestinationZoneId

String

Yes

No

ID zona dari secondary site.

None

SourceZoneId

String

Yes

No

ID zona dari primary site.

None

Tags

List

No

Yes

Tag kustom.

Untuk informasi selengkapnya, lihat bagian properti Tags.

Sintaks Tags

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

Properti Tags

Property Name

Type

Required

Allow Updates

Description

Constraints

Value

String

No

No

Nilai tag.

Nilai dapat terdiri dari maksimal 128 karakter. Nilai tidak boleh diawali dengan aliyun atau acs:. Nilai tidak boleh mengandung http:// atau https:// .

Key

String

Yes

No

Kunci tag.

Kunci harus terdiri dari 1 hingga 128 karakter. Kunci tidak boleh diawali dengan aliyun atau acs:. Kunci tidak boleh mengandung http:// atau https:// .

Nilai yang dikembalikan

Fn::GetAtt

  • Site: Catatan dari site yang ditentukan.

  • Description: Deskripsi grup replikasi konsisten.

  • PairNumber: Jumlah pasangan replikasi dalam grup replikasi konsisten.

  • DiskReplicaGroupName: Nama grup replikasi konsisten.

  • StandbyZone: Zona tujuan awal dari grup replikasi.

  • ResourceGroupId: ID kelompok sumber daya.

  • PrimaryRegion: Wilayah sumber awal dari grup replikasi.

  • LastRecoverPoint: Waktu ketika replikasi asinkron terakhir untuk grup replikasi konsisten selesai.

  • PairIds: Daftar ID pasangan replikasi dalam grup replikasi konsisten.

  • ReplicaGroupId: ID grup replikasi konsisten.

  • RPO: Tujuan titik pemulihan (RPO) dari grup replikasi konsisten.

  • SourceRegionId: ID Wilayah dari primary site.

  • DestinationRegionId: ID Wilayah dari secondary site.

  • DestinationZoneId: ID zona dari secondary site.

  • PrimaryZone: Zona sumber awal dari grup replikasi.

  • SourceZoneId: ID zona dari primary site.

  • StandbyRegion: Wilayah tujuan awal dari grup replikasi.

  • Tags: Tag kustom.

Contoh

  • YAML format

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters: {}
    Resources:
      ExtensionResource:
        Type: ALIYUN::EBS::DiskReplicaGroup
        Properties:
          RPO: 900
          SourceRegionId:
            Ref: ALIYUN::Region
          DiskReplicaGroupName: myreplicagrouptest
          DestinationRegionId: cn-beijing
          DestinationZoneId: cn-beijing-h
          SourceZoneId:
            Fn::Select:
              - '0'
              - Fn::GetAZs:
                  Ref: ALIYUN::Region
    Outputs:
      Site:
        Description: 'The site information source for replication pairs and consistent replication groups.'
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - Site
      Description:
        Description: The description of the consistent replication group.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - Description
      PairNumber:
        Description: The number of replication pairs in the consistent replication group.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - PairNumber
      DiskReplicaGroupName:
        Description: The name of the consistent replication group.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - DiskReplicaGroupName
      StandbyZone:
        Description: The initial destination zone of the replication group.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - StandbyZone
      ResourceGroupId:
        Description: The ID of the resource group.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - ResourceGroupId
      PrimaryRegion:
        Description: The initial source region of the replication group.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - PrimaryRegion
      LastRecoverPoint:
        Description: 'The timestamp of the last completed asynchronous replication of the consistent replication group. Unit: seconds.'
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - LastRecoverPoint
      PairIds:
        Description: A list of replication pair IDs in the consistent replication group.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - PairIds
      ReplicaGroupId:
        Description: The ID of the consistent replication group.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - ReplicaGroupId
      RPO:
        Description: The RPO of the consistent replication group, in seconds.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - RPO
      SourceRegionId:
        Description: The region ID of the primary site.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - SourceRegionId
      DestinationRegionId:
        Description: The region ID of the secondary site.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - DestinationRegionId
      DestinationZoneId:
        Description: The zone ID of the secondary site.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - DestinationZoneId
      PrimaryZone:
        Description: The initial source zone of the replication group.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - PrimaryZone
      SourceZoneId:
        Description: The zone ID of the primary site.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - SourceZoneId
      StandbyRegion:
        Description: The initial destination region of the replication group.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - StandbyRegion
      Tags:
        Description: The tags of the consistent replication group.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - Tags
  • JSON format

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
      },
      "Resources": {
        "ExtensionResource": {
          "Type": "ALIYUN::EBS::DiskReplicaGroup",
          "Properties": {
            "RPO": 900,
            "SourceRegionId": {
              "Ref": "ALIYUN::Region"
            },
            "DiskReplicaGroupName": "myreplicagrouptest",
            "DestinationRegionId": "cn-beijing",
            "DestinationZoneId": "cn-beijing-h",
            "SourceZoneId": {
              "Fn::Select": [
                "0",
                {
                  "Fn::GetAZs": {
                    "Ref": "ALIYUN::Region"
                  }
                }
              ]
            }
          }
        }
      },
      "Outputs": {
        "Site": {
          "Description": "The site information source for replication pairs and consistent replication groups.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Site"
            ]
          }
        },
        "Description": {
          "Description": "The description of the consistent replication group.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Description"
            ]
          }
        },
        "PairNumber": {
          "Description": "The number of replication pairs in the consistent replication group.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "PairNumber"
            ]
          }
        },
        "DiskReplicaGroupName": {
          "Description": "The name of the consistent replication group.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "DiskReplicaGroupName"
            ]
          }
        },
        "StandbyZone": {
          "Description": "The initial destination zone of the replication group.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "StandbyZone"
            ]
          }
        },
        "ResourceGroupId": {
          "Description": "The ID of the resource group.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "ResourceGroupId"
            ]
          }
        },
        "PrimaryRegion": {
          "Description": "The initial source region of the replication group.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "PrimaryRegion"
            ]
          }
        },
        "LastRecoverPoint": {
          "Description": "The timestamp of the last completed asynchronous replication of the consistent replication group. Unit: seconds.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "LastRecoverPoint"
            ]
          }
        },
        "PairIds": {
          "Description": "A list of replication pair IDs in the consistent replication group.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "PairIds"
            ]
          }
        },
        "ReplicaGroupId": {
          "Description": "The ID of the consistent replication group.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "ReplicaGroupId"
            ]
          }
        },
        "RPO": {
          "Description": "The RPO of the consistent replication group, in seconds.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "RPO"
            ]
          }
        },
        "SourceRegionId": {
          "Description": "The region ID of the primary site.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "SourceRegionId"
            ]
          }
        },
        "DestinationRegionId": {
          "Description": "The region ID of the secondary site.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "DestinationRegionId"
            ]
          }
        },
        "DestinationZoneId": {
          "Description": "The zone ID of the secondary site.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "DestinationZoneId"
            ]
          }
        },
        "PrimaryZone": {
          "Description": "The initial source zone of the replication group.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "PrimaryZone"
            ]
          }
        },
        "SourceZoneId": {
          "Description": "The zone ID of the primary site.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "SourceZoneId"
            ]
          }
        },
        "StandbyRegion": {
          "Description": "The initial destination region of the replication group.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "StandbyRegion"
            ]
          }
        },
        "Tags": {
          "Description": "The tags of the consistent replication group.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Tags"
            ]
          }
        }
      }
    }