ALIYUN::EBS::DedicatedBlockStorageCluster类型用于创建专属块存储集群。
语法
{
"Type": "ALIYUN::EBS::DedicatedBlockStorageCluster",
"Properties": {
"Azone": String,
"Capacity": Integer,
"DbscName": String,
"Period": Integer,
"PeriodUnit": String,
"Type": String,
"ResourceGroupId": String,
"Tag": List
}
}
属性
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
Azone | String | 是 | 否 | 专属块存储集群所属可用区 ID。 | 您可以调用 DescribeZones获取可用区列表。 |
Capacity | Integer | 是 | 否 | 专属块存储集群的容量。 | 取值范围为 61440~2334720GiB(2280 TiB),最小递增步长为 12288 GiB。 |
DbscName | String | 是 | 否 | 专属块存储集群名称。 | 无 |
Period | Integer | 是 | 否 | 指定实例购买时长。 | 取值范围:6、7、8、9、10、11、12、24、36。 |
PeriodUnit | String | 是 | 否 | 包年包月时长的时间单位。 | 即参数 |
Type | String | 是 | 否 | 专属块存储集群性能类型。 | 取值范围:
默认值:Premium。 |
ResourceGroupId | String | 否 | 否 | 专属块存储集群所在的企业资源组 ID。 | 无 |
Tag | List | 否 | 是 | 集群绑定的标签列表。 | 更多信息,请参见Tag属性。 |
Tag语法
"Tag": [
{
"Value": String,
"Key": String
}
]
Tag属性
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
Key | String | 是 | 否 | 标签键。 | 长度为1~128个字符,不能以 |
Value | String | 否 | 否 | 标签值。 | 长度为0~128个字符,不能以 |
返回值
Fn::GetAtt
DedicatedBlockStorageClusterId:专属块存储集群 ID。
示例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
Azone:
Type: String
Description:
en: The ID of the zone in which to create the dedicated block storage cluster.
Required: true
Type:
Type: String
Description:
en: |-
The type of the dedicated block storage cluster. Valid values:
Standard: basic dedicated block storage cluster. Enterprise SSDs (ESSDs) at performance level 0 (PL0 ESSDs) can be created in basic dedicated block storage clusters.
Premium: performance dedicated block storage cluster. ESSDs at performance level 1 (PL1 ESSDs) can be created in performance dedicated block storage clusters.
Default value: Premium.
AllowedValues:
- Standard
- Premium
Required: true
Capacity:
Type: Number
Description:
en: 'The capacity of the dedicated block storage cluster. Valid values: 61440 to 2334720. Unit: GiB. 2,334,720 GiB is equal to 2,280 TiB. The capacity increases in a minimum increment of 12,288 GiB.'
Required: true
MinValue: 61440
MaxValue: 2334720
Period:
AssociationProperty: PayPeriod
Type: Number
Description:
en: 'The subscription duration of the dedicated block storage cluster. Valid values: 6, 7, 8, 9, 10, 11, 12, 24, and 36.'
AllowedValues:
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 24
- 36
Required: true
DbscName:
Type: String
Description:
en: The name of the dedicated block storage cluster.
Required: true
PeriodUnit:
AssociationProperty: PayPeriodUnit
Type: String
Description:
en: The unit of the subscription duration specified by Period. Set the value to Month.
AllowedValues:
- Month
Required: true
Resources:
ExtensionResource:
Type: ALIYUN::EBS::DedicatedBlockStorageCluster
Properties:
Azone:
Ref: Azone
Type:
Ref: Type
Capacity:
Ref: Capacity
Period:
Ref: Period
DbscName:
Ref: DbscName
PeriodUnit:
Ref: PeriodUnit
Outputs:
DedicatedBlockStorageClusterId:
Description: The ID of the dedicated block storage cluster.
Value:
Fn::GetAtt:
- ExtensionResource
- DedicatedBlockStorageClusterId
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"Azone": {
"Type": "String",
"Description": {
"en": "The ID of the zone in which to create the dedicated block storage cluster."
},
"Required": true
},
"Type": {
"Type": "String",
"Description": {
"en": "The type of the dedicated block storage cluster. Valid values: \nStandard: basic dedicated block storage cluster. Enterprise SSDs (ESSDs) at performance level 0 (PL0 ESSDs) can be created in basic dedicated block storage clusters.\nPremium: performance dedicated block storage cluster. ESSDs at performance level 1 (PL1 ESSDs) can be created in performance dedicated block storage clusters.\nDefault value: Premium."
},
"AllowedValues": [
"Standard",
"Premium"
],
"Required": true
},
"Capacity": {
"Type": "Number",
"Description": {
"en": "The capacity of the dedicated block storage cluster. Valid values: 61440 to 2334720. Unit: GiB. 2,334,720 GiB is equal to 2,280 TiB. The capacity increases in a minimum increment of 12,288 GiB."
},
"Required": true,
"MinValue": 61440,
"MaxValue": 2334720
},
"Period": {
"AssociationProperty": "PayPeriod",
"Type": "Number",
"Description": {
"en": "The subscription duration of the dedicated block storage cluster. Valid values: 6, 7, 8, 9, 10, 11, 12, 24, and 36."
},
"AllowedValues": [
6,
7,
8,
9,
10,
11,
12,
24,
36
],
"Required": true
},
"DbscName": {
"Type": "String",
"Description": {
"en": "The name of the dedicated block storage cluster."
},
"Required": true
},
"PeriodUnit": {
"AssociationProperty": "PayPeriodUnit",
"Type": "String",
"Description": {
"en": "The unit of the subscription duration specified by Period. Set the value to Month."
},
"AllowedValues": [
"Month"
],
"Required": true
}
},
"Resources": {
"ExtensionResource": {
"Type": "ALIYUN::EBS::DedicatedBlockStorageCluster",
"Properties": {
"Azone": {
"Ref": "Azone"
},
"Type": {
"Ref": "Type"
},
"Capacity": {
"Ref": "Capacity"
},
"Period": {
"Ref": "Period"
},
"DbscName": {
"Ref": "DbscName"
},
"PeriodUnit": {
"Ref": "PeriodUnit"
}
}
}
},
"Outputs": {
"DedicatedBlockStorageClusterId": {
"Description": "The ID of the dedicated block storage cluster.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"DedicatedBlockStorageClusterId"
]
}
}
}
}
- 本页导读 (1)
- 语法
- 属性
- Tag语法
- Tag属性
- 返回值
- 示例