ALIYUN::EBS::DedicatedBlockStorageCluster は、専用ブロックストレージクラスターを作成するために使用されます。
構文
{
"Type": "ALIYUN::EBS::DedicatedBlockStorageCluster",
"Properties": {
"Azone": String, //ゾーンID
"Capacity": Integer, //容量
"DbscName": String, //専用ブロックストレージクラスター名
"Period": Integer, //契約期間
"PeriodUnit": String, //契約期間の単位
"Type": String, //専用ブロックストレージクラスターのタイプ
"ResourceGroupId": String, //リソースグループID
"Tag": List //タグ
}
}プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
Azone | String | はい | いいえ | 専用ブロックストレージクラスターが存在するゾーンの ID です。 | DescribeZones 操作を呼び出して、ゾーンをクエリできます。 |
Capacity | Integer | はい | いいえ | 専用ブロックストレージクラスターの容量です。 | 有効な値: 61440 ~ 2334720。単位: GiB。 2,334,720 GiB は 2,280 TiB に相当します。容量は最小 12,288 GiB 単位で増加します。 |
DbscName | String | はい | いいえ | 専用ブロックストレージクラスターの名前です。 | なし。 |
Period | Integer | はい | いいえ | 専用ブロックストレージクラスターの契約期間です。 | 有効な値: 6、7、8、9、10、11、12、24、36。 |
PeriodUnit | String | はい | いいえ | 専用ブロックストレージクラスターの契約期間の単位です。 | 値を Month に設定します。 このプロパティの値は、 |
Type | String | はい | いいえ | 専用ブロックストレージクラスターのタイプです。 | 有効な値:
デフォルト値: Premium。 |
ResourceGroupId | String | いいえ | いいえ | 専用ブロックストレージクラスターが属するリソースグループの ID です。 | なし。 |
Tag | List | いいえ | はい | 専用ブロックストレージクラスターに追加するタグです。 | 詳細については、「タグのプロパティ」をご参照ください。 |
タグの構文
"Tag": [
{
"Value": String, //タグの値
"Key": String //タグのキー
}
]タグのプロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
Key | String | はい | いいえ | タグのキーです。 | キーは 1 ~ 128 文字で、 |
Value | String | いいえ | いいえ | タグの値です。 | 値は最大 128 文字で、 |
戻り値
Fn::GetAtt
DedicatedBlockStorageClusterId: 専用ブロックストレージクラスターの ID です。
例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
Azone:
Type: String
Description:
ja: 専用ブロックストレージクラスターを作成するゾーンのID。
Required: true
Type:
Type: String
Description:
ja: |-
専用ブロックストレージクラスターのタイプ。有効な値:
Standard:ベーシック専用ブロックストレージクラスター。パフォーマンスレベル0(PL0 ESSD)のエンタープライズSSD(ESSD)は、ベーシック専用ブロックストレージクラスターに作成できます。
Premium:パフォーマンス専用ブロックストレージクラスター。パフォーマンスレベル1(PL1 ESSD)のESSDは、パフォーマンス専用ブロックストレージクラスターに作成できます。
デフォルト値:Premium。
AllowedValues:
- Standard
- Premium
Required: true
Capacity:
Type: Number
Description:
ja: '専用ブロックストレージクラスターの容量。有効な値:61440~2334720。単位:GiB。2,334,720 GiBは2,280 TiBに相当します。容量は最小12,288 GiB単位で増加します。'
Required: true
MinValue: 61440
MaxValue: 2334720
Period:
AssociationProperty: PayPeriod
Type: Number
Description:
ja: '専用ブロックストレージクラスターの契約期間。有効な値:6、7、8、9、10、11、12、24、36。'
AllowedValues:
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 24
- 36
Required: true
DbscName:
Type: String
Description:
ja: 専用ブロックストレージクラスターの名前。
Required: true
PeriodUnit:
AssociationProperty: PayPeriodUnit
Type: String
Description:
ja: Periodで指定された契約期間の単位。値を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: 専用ブロックストレージクラスターのID。
Value:
Fn::GetAtt:
- ExtensionResource
- DedicatedBlockStorageClusterId
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"Azone": {
"Type": "String",
"Description": {
"ja": "専用ブロックストレージクラスターを作成するゾーンの ID です。"
},
"Required": true
},
"Type": {
"Type": "String",
"Description": {
"ja": "専用ブロックストレージクラスターのタイプ。有効な値:\nStandard:ベーシック専用ブロックストレージクラスター。パフォーマンスレベル 0 (PL0 ESSD) のエンタープライズ SSD (ESSD) は、ベーシック専用ブロックストレージクラスターに作成できます。\nPremium:パフォーマンス専用ブロックストレージクラスター。パフォーマンスレベル 1 (PL1 ESSD) の ESSD は、パフォーマンス専用ブロックストレージクラスターに作成できます。\nデフォルト値:Premium。"
},
"AllowedValues": [
"Standard",
"Premium"
],
"Required": true
},
"Capacity": {
"Type": "Number",
"Description": {
"ja": "専用ブロックストレージクラスターの容量。有効な値:61440 ~ 2334720。単位:GiB。 2,334,720 GiB は 2,280 TiB に相当します。容量は最小 12,288 GiB 単位で増加します。"
},
"Required": true,
"MinValue": 61440,
"MaxValue": 2334720
},
"Period": {
"AssociationProperty": "PayPeriod",
"Type": "Number",
"Description": {
"ja": "専用ブロックストレージクラスターの契約期間。有効な値:6、7、8、9、10、11、12、24、36。"
},
"AllowedValues": [
6,
7,
8,
9,
10,
11,
12,
24,
36
],
"Required": true
},
"DbscName": {
"Type": "String",
"Description": {
"ja": "専用ブロックストレージクラスターの名前。"
},
"Required": true
},
"PeriodUnit": {
"AssociationProperty": "PayPeriodUnit",
"Type": "String",
"Description": {
"ja": "Period で指定された契約期間の単位。値を 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": "専用ブロックストレージクラスターの ID です。",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"DedicatedBlockStorageClusterId"
]
}
}
}
}