Todos os produtos
Search
Central de documentação

Resource Orchestration Service:DATASOURCE::EBS::DiskReplicaGroup

Última atualização: Jun 27, 2026

Consulta os detalhes de um grupo consistente de pares de replicação.

Sintaxe

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

Propriedades

Propriedade

Tipo

Obrigatória

Editável

Descrição

Restrição

ReplicaGroupId

String

Sim

Sim

ID do grupo consistente de pares de replicação.

Nenhuma.

RefreshOptions

String

Não

Sim

Política de atualização dos recursos da fonte de dados ao atualizar a pilha.

Valores válidos:

  • Never (padrão): não atualiza os recursos da fonte de dados durante a atualização da pilha.

  • Always: atualiza os recursos da fonte de dados durante a atualização da pilha.

Valores de retorno

Fn::GetAtt

  • Site: tipo de site do grupo consistente de pares de replicação, usado em cenários de replicação de dados entre zonas.

  • Description: descrição do grupo consistente de pares de replicação.

  • PairNumber: quantidade de pares de replicação no grupo consistente de pares de replicação.

  • DiskReplicaGroupName: nome do grupo de replicação.

  • StandbyZone: zona de destino inicial do grupo consistente de pares de replicação.

  • ResourceGroupId: ID do grupo de recursos ao qual o grupo consistente de pares de replicação pertence.

  • PrimaryRegion: região de origem inicial do grupo consistente de pares de replicação.

  • LastRecoverPoint: timestamp da última replicação assíncrona concluída no grupo consistente de pares de replicação. Unidade: segundos.

  • PairIds: IDs dos pares de replicação pertencentes ao grupo consistente de pares de replicação.

  • ReplicaGroupId: ID do grupo consistente de pares de replicação.

  • RPO: objetivo de ponto de recuperação (RPO) do grupo consistente de pares de replicação. Unidade: segundos.

  • SourceRegionId: ID da região do site primário.

  • DestinationRegionId: ID da região do site secundário.

  • DestinationZoneId: ID da zona do site secundário.

  • PrimaryZone: zona de origem inicial do grupo consistente de pares de replicação.

  • SourceZoneId: ID da zona do site primário.

  • StandbyRegion: região de destino inicial do grupo consistente de pares de replicação.

  • Tags: tags do grupo consistente de pares de replicação.

Exemplos

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