ALIYUN::ECS::HpcCluster
更新時(shí)間:
ALIYUN::ECS::HpcCluster類(lèi)型用于創(chuàng)建一個(gè)HPC集群。
語(yǔ)法
{
"Type": "ALIYUN::ECS::HpcCluster",
"Properties": {
"Name": String,
"Description": String
}
}
屬性
屬性名稱(chēng) | 類(lèi)型 | 必須 | 允許更新 | 描述 | 約束 |
Name | String | 是 | 是 | HPC集群名稱(chēng)。 |
|
Description | String | 否 | 是 | HPC集群描述。 | 長(zhǎng)度為2~256個(gè)英文或中文字符,不能以 |
返回值
Fn::GetAtt
HpcClusterId:集群ID。
Name:集群名稱(chēng)。
示例
ROSTemplateFormatVersion: '2015-09-01'
Resources:
HpcCluster:
Type: 'ALIYUN::ECS::HpcCluster'
Properties:
Name:
Ref: Name
Description:
Ref: Description
Parameters:
Name:
Type: String
Description: >-
The name of the HPC cluster. The name must be 2 to 128 characters in
length. It must
start with a letter but cannot start with http:// or https://. It can
contain letters,
digits, colons (:), underscores (_), and hyphens (-).
Description:
Type: String
Description: >-
The description of the HPC cluster. The description must be 2 to 256
characters in
length. It cannot start with http:// or https://. Default value: empty
string.
Outputs:
HpcClusterId:
Description: The ID of the HPC cluster.
Value:
'Fn::GetAtt':
- HpcCluster
- HpcClusterId
Name:
Description: The name of the HPC cluster.
Value:
'Fn::GetAtt':
- HpcCluster
- Name
{
"ROSTemplateFormatVersion": "2015-09-01",
"Resources": {
"HpcCluster": {
"Type": "ALIYUN::ECS::HpcCluster",
"Properties": {
"Name": {
"Ref": "Name"
},
"Description": {
"Ref": "Description"
}
}
}
},
"Parameters": {
"Name": {
"Type": "String",
"Description": "The name of the HPC cluster. The name must be 2 to 128 characters in length. It must\nstart with a letter but cannot start with http:// or https://. It can contain letters,\ndigits, colons (:), underscores (_), and hyphens (-)."
},
"Description": {
"Type": "String",
"Description": "The description of the HPC cluster. The description must be 2 to 256 characters in\nlength. It cannot start with http:// or https://. Default value: empty string."
}
},
"Outputs": {
"HpcClusterId": {
"Description": "The ID of the HPC cluster.",
"Value": {
"Fn::GetAtt": [
"HpcCluster",
"HpcClusterId"
]
}
},
"Name": {
"Description": "The name of the HPC cluster.",
"Value": {
"Fn::GetAtt": [
"HpcCluster",
"Name"
]
}
}
}
}
文檔內(nèi)容是否對(duì)您有幫助?