ALIYUN::EBS::DedicatedBlockStorageCluster

更新时间:2025-02-28 02:44:20

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

包年包月时长的时间单位。

即参数Period的单位,目前仅支持 Month。

Type

String

专属块存储集群性能类型。

取值范围:

  • Standard:基础型。该类型的专属块存储集群中可创建 ESSD PL0 云盘。

  • Premium:性能型。该类型的专属块存储集群中可创建 ESSD PL1 云盘。

默认值:Premium。

ResourceGroupId

String

专属块存储集群所在的企业资源组 ID。

Tag

List

集群绑定的标签列表。

更多信息,请参见Tag属性

Tag语法

"Tag": [
  {
    "Value": String,
    "Key": String
  }
]

Tag属性

属性名称

类型

必须

允许更新

描述

约束

属性名称

类型

必须

允许更新

描述

约束

Key

String

标签键。

长度为1~128个字符,不能以aliyunacs:开头,不能包含http://https:// 。

Value

String

标签值。

长度为0~128个字符,不能以aliyunacs:开头,不能包含http://https:// 。

返回值

Fn::GetAtt

DedicatedBlockStorageClusterId:专属块存储集群 ID。

示例

YAML
JSON
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属性
  • 返回值
  • 示例
AI助理

点击开启售前

在线咨询服务

你好,我是AI助理

可以解答问题、推荐解决方案等