All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::EBS::DiskReplicaGroup

Last Updated:Jun 18, 2026

Creates a consistent replication group for Elastic Block Storage (EBS) asynchronous replication.

Syntax

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

Properties

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

The region ID of the primary site.

None

Description

String

No

Yes

The ID of the production site's zone.

The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

DiskReplicaGroupName

String

No

Yes

The name of the consistent replication group.

The name must be 2 to 128 characters in length. It must start with a letter. The name cannot start with http:// or https://. It can contain digits, colons (:), underscores (_), and hyphens (-).

ResourceGroupId

String

No

Yes

The ID of the resource group.

None

DestinationRegionId

String

Yes

No

The region ID of the secondary site.

None

DestinationZoneId

String

Yes

No

The zone ID of the secondary site.

None

SourceZoneId

String

Yes

No

The zone ID of the primary site.

None

Tags

List

No

Yes

The custom tags.

For more information, see the Tags property section.

Tags syntax

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

Tags property

Property Name

Type

Required

Allow Updates

Description

Constraints

Value

String

No

No

The value of the tag.

The value can be up to 128 characters in length. It cannot start with aliyun or acs:. It cannot contain http:// or https:// .

Key

String

Yes

No

The key of the tag.

The key must be 1 to 128 characters in length. It cannot start with aliyun or acs:. It cannot contain http:// or https:// .

Return values

Fn::GetAtt

  • Site: The record of the specified site.

  • Description: The description of the consistent replication group.

  • PairNumber: The number of replication pairs in the consistent replication group.

  • DiskReplicaGroupName: The name of the consistent replication group.

  • StandbyZone: The initial destination zone of the replication group.

  • ResourceGroupId: The ID of the resource group.

  • PrimaryRegion: The initial source region of the replication group.

  • LastRecoverPoint: The time when the last asynchronous replication for the consistent replication group was completed.

  • PairIds: A list of replication pair IDs in the consistent replication group.

  • ReplicaGroupId: The ID of the consistent replication group.

  • RPO: The recovery point objective (RPO) of the consistent replication group.

  • SourceRegionId: The region ID of the primary site.

  • DestinationRegionId: The region ID of the secondary site.

  • DestinationZoneId: The zone ID of the secondary site.

  • PrimaryZone: The initial source zone of the replication group.

  • SourceZoneId: The zone ID of the primary site.

  • StandbyRegion: The initial destination region of the replication group.

  • Tags: The custom tags.

Examples

  • 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"
            ]
          }
        }
      }
    }