Consulta informações sobre um cluster de host dedicado.
Sintaxe
{
"Type": "DATASOURCE::ECS::DedicatedHostCluster",
"Properties": {
"DedicatedHostClusterId": String,
"RefreshOptions": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
DedicatedHostClusterId |
String |
Sim |
Sim |
ID do cluster de host dedicado. |
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
Description: descrição do cluster de host dedicado.
ZoneId: ID da zona do cluster de host dedicado.
DedicatedHostClusterName: nome do cluster de host dedicado.
ResourceGroupId: ID do grupo de recursos do cluster de host dedicado.
Tags: tags do cluster de host dedicado.
DedicatedHostClusterId: ID do cluster de host dedicado.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
DedicatedHostClusterId:
Type: String
Description:
en: Dedicated host cluster id.
Required: true
Resources:
ExtensionDataSource:
Type: DATASOURCE::ECS::DedicatedHostCluster
Properties:
DedicatedHostClusterId:
Ref: DedicatedHostClusterId
Outputs:
Description:
Description: The description of the dedicated host cluster.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Description
ZoneId:
Description: 'The zone ID of the dedicated host cluster. '
Value:
Fn::GetAtt:
- ExtensionDataSource
- ZoneId
DedicatedHostClusterName:
Description: The name of the dedicated host cluster.
Value:
Fn::GetAtt:
- ExtensionDataSource
- DedicatedHostClusterName
ResourceGroupId:
Description: 'The ID of the resource group to which the dedicated host cluster belongs. '
Value:
Fn::GetAtt:
- ExtensionDataSource
- ResourceGroupId
Tags:
Description: The tags of the dedicated host cluster.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Tags
DedicatedHostClusterId:
Description: Dedicated host cluster id.
Value:
Fn::GetAtt:
- ExtensionDataSource
- DedicatedHostClusterId
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"DedicatedHostClusterId": {
"Type": "String",
"Description": {
"en": "Dedicated host cluster id."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::ECS::DedicatedHostCluster",
"Properties": {
"DedicatedHostClusterId": {
"Ref": "DedicatedHostClusterId"
}
}
}
},
"Outputs": {
"Description": {
"Description": "The description of the dedicated host cluster.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Description"
]
}
},
"ZoneId": {
"Description": "The zone ID of the dedicated host cluster. ",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ZoneId"
]
}
},
"DedicatedHostClusterName": {
"Description": "The name of the dedicated host cluster.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"DedicatedHostClusterName"
]
}
},
"ResourceGroupId": {
"Description": "The ID of the resource group to which the dedicated host cluster belongs. ",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ResourceGroupId"
]
}
},
"Tags": {
"Description": "The tags of the dedicated host cluster.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Tags"
]
}
},
"DedicatedHostClusterId": {
"Description": "Dedicated host cluster id.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"DedicatedHostClusterId"
]
}
}
}
}