Consulta um par de replicação do EBS.
Sintaxe
{
"Type": "DATASOURCE::EBS::DiskReplicaPair",
"Properties": {
"ReplicaPairId": String,
"RefreshOptions": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
ReplicaPairId |
String |
Sim |
Sim |
ID do par 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:
|
Valores de retorno
Fn::GetAtt
DiskReplicaPairName: nome do par de replicação.
Description: descrição do par de replicação.
DestinationDiskId: ID do disco secundário.
ResourceGroupId: ID do grupo de recursos do par de replicação.
CreateTime: timestamp de criação do par de replicação. Unidade: segundos.
ReplicaPairId: ID do par de replicação.
RPO: objetivo de ponto de recuperação (RPO) do par de replicação. Unidade: segundos.
DestinationRegionId: ID da região do disco secundário.
Bandwidth: largura de banda para replicação assíncrona. Unidade: Kbit/s.
DestinationZoneId: ID da zona do disco secundário.
PaymentType: método de faturamento.
SourceZoneId: ID da zona do disco primário.
Tags: tags do par de replicação.
DiskId: ID do disco primário.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
ReplicaPairId:
Type: String
Description:
en: The ID of the replication pair.
Required: true
Resources:
ExtensionDataSource:
Type: DATASOURCE::EBS::DiskReplicaPair
Properties:
ReplicaPairId:
Ref: ReplicaPairId
Outputs:
DiskReplicaPairName:
Description: The name of the asynchronous replication relationship.
Value:
Fn::GetAtt:
- ExtensionDataSource
- DiskReplicaPairName
Description:
Description: The description of the replication pair.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Description
DestinationDiskId:
Description: The ID of the secondary disk.
Value:
Fn::GetAtt:
- ExtensionDataSource
- DestinationDiskId
ResourceGroupId:
Description: The ID of the resource group.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ResourceGroupId
CreateTime:
Description: 'The time when the replication pair was created. The value of this parameter is a timestamp. Unit: seconds.'
Value:
Fn::GetAtt:
- ExtensionDataSource
- CreateTime
ReplicaPairId:
Description: The ID of the replication pair.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ReplicaPairId
RPO:
Description: 'The recovery point objective (RPO) of the replication pair. Unit: seconds.'
Value:
Fn::GetAtt:
- ExtensionDataSource
- RPO
DestinationRegionId:
Description: The ID of the region to which the disaster recovery site belongs.
Value:
Fn::GetAtt:
- ExtensionDataSource
- DestinationRegionId
Bandwidth:
Description: The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Bandwidth
DestinationZoneId:
Description: The ID of the zone to which the disaster recovery site belongs.
Value:
Fn::GetAtt:
- ExtensionDataSource
- DestinationZoneId
PaymentType:
Description: The payment type of the replication pair.
Value:
Fn::GetAtt:
- ExtensionDataSource
- PaymentType
SourceZoneId:
Description: The zone ID of the primary disk.
Value:
Fn::GetAtt:
- ExtensionDataSource
- SourceZoneId
Tags:
Description: The tags of the replication pair.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Tags
DiskId:
Description: The ID of the primary disk.
Value:
Fn::GetAtt:
- ExtensionDataSource
- DiskId
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"ReplicaPairId": {
"Type": "String",
"Description": {
"en": "The ID of the replication pair."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::EBS::DiskReplicaPair",
"Properties": {
"ReplicaPairId": {
"Ref": "ReplicaPairId"
}
}
}
},
"Outputs": {
"DiskReplicaPairName": {
"Description": "The name of the asynchronous replication relationship.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"DiskReplicaPairName"
]
}
},
"Description": {
"Description": "The description of the replication pair.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Description"
]
}
},
"DestinationDiskId": {
"Description": "The ID of the secondary disk.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"DestinationDiskId"
]
}
},
"ResourceGroupId": {
"Description": "The ID of the resource group.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ResourceGroupId"
]
}
},
"CreateTime": {
"Description": "The time when the replication pair was created. The value of this parameter is a timestamp. Unit: seconds.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CreateTime"
]
}
},
"ReplicaPairId": {
"Description": "The ID of the replication pair.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ReplicaPairId"
]
}
},
"RPO": {
"Description": "The recovery point objective (RPO) of the replication pair. Unit: seconds.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"RPO"
]
}
},
"DestinationRegionId": {
"Description": "The ID of the region to which the disaster recovery site belongs.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"DestinationRegionId"
]
}
},
"Bandwidth": {
"Description": "The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Bandwidth"
]
}
},
"DestinationZoneId": {
"Description": "The ID of the zone to which the disaster recovery site belongs.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"DestinationZoneId"
]
}
},
"PaymentType": {
"Description": "The payment type of the replication pair.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"PaymentType"
]
}
},
"SourceZoneId": {
"Description": "The zone ID of the primary disk.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"SourceZoneId"
]
}
},
"Tags": {
"Description": "The tags of the replication pair.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Tags"
]
}
},
"DiskId": {
"Description": "The ID of the primary disk.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"DiskId"
]
}
}
}
}