Parameter | Type | Description | Example |
---|---|---|---|
object | The configurations of the node data disk. | ||
category | string | The type of data disk. Valid values:
Default value: | cloud_ssd |
size | long | The data disk size. Unit: GiB. Valid values: 40 to 32768. Default value: | 40 |
encrypted | string | Specifies whether to encrypt the data disk. Valid values:
Default value: | true |
kms_key_id | string | The ID of the Key Management Service (KMS) key that is used to encrypt the data disk. | 0e478b7a-4262-4802-b8cb-00d3fb40**** |
auto_snapshot_policy_id | string | The ID of the automatic snapshot policy. The system performs automatic backup for a cloud disk based on the specified automatic snapshot policy. By default, this parameter is empty, which indicates that automatic backup is disabled. | sp-2zej1nogjvovnz4z**** |
performance_level | string | The performance level (PL) of the data disk. This parameter takes effect only for an ESSD. You can specify a higher PL if you increase the size of a data disk. For more information, see ESSDs . | PL1 |
provisioned_iops | long | The preset IOPS of the data disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS} Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is available only if | 1000 |
bursting_enabled | boolean | Specifies whether to enable the burst feature for the data disk. Valid values:
This parameter is available only if you set | true |
auto_format | boolean | Specifies whether to automatically mount the data disk. | true |
file_system | string | The file system that is mounted. This parameter takes effect only if auto_format is set to true. Valid values: ext4 and xfs. | ext4 |
mount_target | string | The path to which the data disk is mounted. This parameter takes effect only if auto_format is set to true. | /mnt/path1 |
disk_name | string | The data disk name. The name must be 2 to 128 characters in length It must start with a letter and cannot start with http:// or https://. The description can contain letters, digits, colons (:), underscores (_), and hyphens (-). | DataDiskName |
device | string | The mount point of data disk N. If you do not specify this parameter, the system automatically assigns a mount target when you create an Elastic Compute Service (ECS) instance. Valid values: /dev/xvdb to /dev/xvdz. | /dev/xvdb |
snapshot_id | string | The ID of the snapshot that you want to use to create the data disk. If this parameter is specified, the specified size of the data disk is ignored. The size of the disk equals the size of the specified snapshot. If the snapshot was created on or before July 15, 2013, the API request is rejected and the InvalidSnapshot.TooOld message is returned. | s-280s7**** |