cvm — Cloud Virtual Machine
cvm · type
DataDisk
11 fields
| Field | Type | Description |
|---|---|---|
| DiskSize | integer | Data disk size, unit: GiB. the minimum adjustment step size is 10 GiB. the value ranges of different data disk types vary. for specific limitations, see the storage overview. the default value is 0, which means no data disk purchase. for more restrictions, see the product document. |
| DiskType | string | Specifies the data disk type. for restrictions on data disk types, refer to storage overview. valid values: LOCAL_BASIC: LOCAL disk LOCAL_SSD: LOCAL SSD LOCAL_NVME: LOCAL NVME disk, which is closely related to InstanceType and cannot be specified LOCAL_PRO: LOCAL HDD, which is closely related to InstanceType and cannot be specified cloud_BASIC: BASIC cloud disk cloud_PREMIUM: high-performance c… |
| DiskId | string | Specifies the data disk ID. |
| DeleteWithInstance | boolean | Whether the data disk is terminated with the instance. value range: true: when the instance is terminated, the data disk is also terminated. only hourly postpaid cloud disks are supported. false: when the instance is terminated, the data disk is retained. default value: true currently, this parameter is only used for the API `RunInstances`. |
| SnapshotId | string | Data disk snapshot ID. the size of the selected data disk snapshot must be less than the data disk size. |
| Encrypt | boolean | Specifies whether the data disk is encrypted. value range: true: encrypted false: unencrypted default value: false this parameter is currently only used for the `RunInstances` api. |
| KmsKeyId | string | Custom CMK ID, value is UUID or similar to kms-abcd1234. used for encrypted cloud disk. |
| ThroughputPerformance | integer | Cloud disk performance (unit: MiB/s). specifies additional performance for cloud disks. |
| CdcId | string | Specifies the dedicated cluster ID belonging to. |
| BurstPerformance | boolean | Burstable performance. |
| DiskName | string | Disk name, with a length not exceeding 128 characters. |
