文档

ALIYUN::EBS::DiskReplicaGroup

更新时间:

ALIYUN::EBS::DiskReplicaGroup类型用于创建一个一致性复制组。

语法

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

属性

属性名称

类型

必须

允许更新

描述

约束

RPO

Integer

一致性组设定的RPO值。

单位:秒。

当前仅支持900秒。

SourceRegionId

String

生产站点所属的地域ID。

Description

String

生产站点所属的可用区ID。

长度为2~256个英文或中文字符,不能以http://https://开头。

DiskReplicaGroupName

String

一致性复制组的名称。

长度为2~128个英文或中文字符。必须以大小字母或中文开头,不能以http://https://开头。可以包含数字、半角冒号(:)、下划线(_)或者短划线(-)。

ResourceGroupId

String

资源组ID。

DestinationRegionId

String

灾备站点所属的地域ID。

DestinationZoneId

String

灾备站点所属的可用区ID。

SourceZoneId

String

生产站点所属的可用区ID。

Tags

List

自定义标签信息。

更多信息,请参考Tags属性

Tags语法

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

Tags属性

属性名称

类型

必须

允许更新

描述

约束

Value

String

标签值。

长度为0~128个字符,不能以aliyunacs:开头,不能包含http://https://

Key

String

标签键。

长度为1~128个字符,不能以aliyunacs:开头,不能包含http://https://

返回值

Fn::GetAtt

  • Site:指定站点的记录。

  • Description:一致性复制组的描述信息。

  • PairNumber:一致性复制组中包含的复制对个数。

  • DiskReplicaGroupName:一致性复制组名称。

  • StandbyZone:复制组的初始目的可用区。

  • ResourceGroupId:资源组ID。

  • PrimaryRegion:复制组的初始源地域。

  • LastRecoverPoint:一致性复制组的最近一次异步复制操作完成的时间。

  • PairIds:一致性复制组中包含的复制对ID列表。

  • ReplicaGroupId:一致性复制组ID。

  • RPO:一致性复制组的RPO值。

  • SourceRegionId:生产站点所属的地域ID。

  • DestinationRegionId:灾备站点所属的地域ID。

  • DestinationZoneId:灾备站点所属的可用区ID。

  • PrimaryZone:复制组的初始源可用区。

  • SourceZoneId:生产站点所属的可用区ID。

  • StandbyRegion:复制组的初始目的地域。

  • Tags:自定义标签信息。

示例

  • YAML格式

    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: 'Site information sources for replication pairs and consistent replication groups. Possible values:'
        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 contained in a consistent replication group.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - PairNumber
      DiskReplicaGroupName:
        Description: Consistent replication group name.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - DiskReplicaGroupName
      StandbyZone:
        Description: The initial destination zone of the replication group.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - StandbyZone
      ResourceGroupId:
        Description: resource group ID of enterprise
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - ResourceGroupId
      PrimaryRegion:
        Description: The initial source region of the replication group.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - PrimaryRegion
      LastRecoverPoint:
        Description: 'The time when the last asynchronous replication operation of the consistent replication group completed. This parameter provides the return value as a timestamp. Unit: seconds.'
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - LastRecoverPoint
      PairIds:
        Description: List of replication pair IDs contained in a 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 value set by the consistency group in seconds.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - RPO
      SourceRegionId:
        Description: The ID of the region to which the production site belongs.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - SourceRegionId
      DestinationRegionId:
        Description: The ID of the region to which the disaster recovery site belongs.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - DestinationRegionId
      DestinationZoneId:
        Description: The ID of the zone to which the disaster recovery site belongs.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - DestinationZoneId
      PrimaryZone:
        Description: The initial source available area of the replication group.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - PrimaryZone
      SourceZoneId:
        Description: The ID of the zone to which the production site belongs.
        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 disk replica group.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - Tags
  • JSON格式

    {
      "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": "Site information sources for replication pairs and consistent replication groups. Possible values:",
          "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 contained in a consistent replication group.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "PairNumber"
            ]
          }
        },
        "DiskReplicaGroupName": {
          "Description": "Consistent replication group name.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "DiskReplicaGroupName"
            ]
          }
        },
        "StandbyZone": {
          "Description": "The initial destination zone of the replication group.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "StandbyZone"
            ]
          }
        },
        "ResourceGroupId": {
          "Description": "resource group ID of enterprise",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "ResourceGroupId"
            ]
          }
        },
        "PrimaryRegion": {
          "Description": "The initial source region of the replication group.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "PrimaryRegion"
            ]
          }
        },
        "LastRecoverPoint": {
          "Description": "The time when the last asynchronous replication operation of the consistent replication group completed. This parameter provides the return value as a timestamp. Unit: seconds.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "LastRecoverPoint"
            ]
          }
        },
        "PairIds": {
          "Description": "List of replication pair IDs contained in a 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 value set by the consistency group in seconds.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "RPO"
            ]
          }
        },
        "SourceRegionId": {
          "Description": "The ID of the region to which the production site belongs.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "SourceRegionId"
            ]
          }
        },
        "DestinationRegionId": {
          "Description": "The ID of the region to which the disaster recovery site belongs.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "DestinationRegionId"
            ]
          }
        },
        "DestinationZoneId": {
          "Description": "The ID of the zone to which the disaster recovery site belongs.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "DestinationZoneId"
            ]
          }
        },
        "PrimaryZone": {
          "Description": "The initial source available area of the replication group.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "PrimaryZone"
            ]
          }
        },
        "SourceZoneId": {
          "Description": "The ID of the zone to which the production site belongs.",
          "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 disk replica group.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Tags"
            ]
          }
        }
      }
    }
  • 本页导读 (1)
文档反馈