DATASOURCE::EBS::DiskReplicaGroup

更新时间:2025-02-28 02:44

DATASOURCE::EBS::DiskReplicaGroup类型用于查询一个异步复制组的详情。

语法

{
  "Type": "DATASOURCE::EBS::DiskReplicaGroup",
  "Properties": {
    "ReplicaGroupId": String,
    "RefreshOptions": String
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

属性名称

类型

必须

允许更新

描述

约束

ReplicaGroupId

String

一致性复制组 ID。

RefreshOptions

String

当资源栈更新时,数据源资源的刷新策略。

取值:

  • Never(默认值):更新堆栈时,从不刷新数据源资源。

  • Always:更新堆栈时,始终刷新数据源资源。

返回值

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
JSON
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  ReplicaGroupId:
    Type: String
    Description:
      en: The ID of the consistent replication group.
    Required: true
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::EBS::DiskReplicaGroup
    Properties:
      ReplicaGroupId:
        Ref: ReplicaGroupId
Outputs:
  Site:
    Description: Site information sources for replication pairs and consistent replication groups.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Site
  Description:
    Description: The description of the consistent replication group.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Description
  PairNumber:
    Description: The number of replication pairs contained in a consistent replication group.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - PairNumber
  DiskReplicaGroupName:
    Description: The name of the consistent replication group.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DiskReplicaGroupName
  StandbyZone:
    Description: The initial destination zone of the replication group.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - StandbyZone
  ResourceGroupId:
    Description: The ID of resource group.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - ResourceGroupId
  PrimaryRegion:
    Description: The initial source region of the replication group.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - 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:
        - ExtensionDataSource
        - LastRecoverPoint
  PairIds:
    Description: List of replication pair IDs contained in a consistent replication group.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - PairIds
  ReplicaGroupId:
    Description: The ID of the consistent replication group.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - ReplicaGroupId
  RPO:
    Description: The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - RPO
  SourceRegionId:
    Description: The ID of the region to which the production site belongs.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - SourceRegionId
  DestinationRegionId:
    Description: The ID of the region to which the disaster recovery site belongs.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DestinationRegionId
  DestinationZoneId:
    Description: The ID of the zone to which the disaster recovery site belongs.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DestinationZoneId
  PrimaryZone:
    Description: The initial source available area of the replication group.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - PrimaryZone
  SourceZoneId:
    Description: The ID of the zone to which the production site belongs.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - SourceZoneId
  StandbyRegion:
    Description: The initial destination region of the replication group.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - StandbyRegion
  Tags:
    Description: The tags of the replication pair-consistent group.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Tags
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "ReplicaGroupId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the consistent replication group."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::EBS::DiskReplicaGroup",
      "Properties": {
        "ReplicaGroupId": {
          "Ref": "ReplicaGroupId"
        }
      }
    }
  },
  "Outputs": {
    "Site": {
      "Description": "Site information sources for replication pairs and consistent replication groups.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Site"
        ]
      }
    },
    "Description": {
      "Description": "The description of the consistent replication group.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Description"
        ]
      }
    },
    "PairNumber": {
      "Description": "The number of replication pairs contained in a consistent replication group.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "PairNumber"
        ]
      }
    },
    "DiskReplicaGroupName": {
      "Description": "The name of the consistent replication group.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DiskReplicaGroupName"
        ]
      }
    },
    "StandbyZone": {
      "Description": "The initial destination zone of the replication group.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "StandbyZone"
        ]
      }
    },
    "ResourceGroupId": {
      "Description": "The ID of resource group.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "ResourceGroupId"
        ]
      }
    },
    "PrimaryRegion": {
      "Description": "The initial source region of the replication group.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "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": [
          "ExtensionDataSource",
          "LastRecoverPoint"
        ]
      }
    },
    "PairIds": {
      "Description": "List of replication pair IDs contained in a consistent replication group.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "PairIds"
        ]
      }
    },
    "ReplicaGroupId": {
      "Description": "The ID of the consistent replication group.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "ReplicaGroupId"
        ]
      }
    },
    "RPO": {
      "Description": "The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "RPO"
        ]
      }
    },
    "SourceRegionId": {
      "Description": "The ID of the region to which the production site belongs.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "SourceRegionId"
        ]
      }
    },
    "DestinationRegionId": {
      "Description": "The ID of the region to which the disaster recovery site belongs.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DestinationRegionId"
        ]
      }
    },
    "DestinationZoneId": {
      "Description": "The ID of the zone to which the disaster recovery site belongs.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DestinationZoneId"
        ]
      }
    },
    "PrimaryZone": {
      "Description": "The initial source available area of the replication group.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "PrimaryZone"
        ]
      }
    },
    "SourceZoneId": {
      "Description": "The ID of the zone to which the production site belongs.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "SourceZoneId"
        ]
      }
    },
    "StandbyRegion": {
      "Description": "The initial destination region of the replication group.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "StandbyRegion"
        ]
      }
    },
    "Tags": {
      "Description": "The tags of the replication pair-consistent group.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Tags"
        ]
      }
    }
  }
}
                        
  • 本页导读 (1)
  • 语法
  • 属性
  • 返回值
  • 示例
文档反馈