Consulta um cluster de computação de alto desempenho (HPC).
Sintaxe
{
"Type": "DATASOURCE::ECS::HpcCluster",
"Properties": {
"HpcClusterId": String,
"RefreshOptions": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
HpcClusterId |
String |
Sim |
Sim |
ID do cluster HPC. |
Nenhuma. |
|
RefreshOptions |
String |
Não |
Sim |
Política de atualização dos recursos da source de dados ao atualizar a pilha. |
Valores válidos:
|
Valores de retorno
Fn::GetAtt
Description: descrição do cluster HPC.
HpcClusterId: ID do cluster HPC.
HpcClusterName: nome do cluster HPC.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
HpcClusterId:
Type: String
Description:
en: The ID of cluster.
Required: true
Resources:
ExtensionDataSource:
Type: DATASOURCE::ECS::HpcCluster
Properties:
HpcClusterId:
Ref: HpcClusterId
Outputs:
Description:
Description: The description of the HPC cluster.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Description
HpcClusterId:
Description: The ID of cluster.
Value:
Fn::GetAtt:
- ExtensionDataSource
- HpcClusterId
HpcClusterName:
Description: The name of the HPC cluster.
Value:
Fn::GetAtt:
- ExtensionDataSource
- HpcClusterName
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"HpcClusterId": {
"Type": "String",
"Description": {
"en": "The ID of cluster."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::ECS::HpcCluster",
"Properties": {
"HpcClusterId": {
"Ref": "HpcClusterId"
}
}
}
},
"Outputs": {
"Description": {
"Description": "The description of the HPC cluster.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Description"
]
}
},
"HpcClusterId": {
"Description": "The ID of cluster.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"HpcClusterId"
]
}
},
"HpcClusterName": {
"Description": "The name of the HPC cluster.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"HpcClusterName"
]
}
}
}
}