cvm — Cloud Virtual Machine
cvm · type

DataDisk

11 fields

FieldTypeDescription
DiskSizeintegerData 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.
DiskTypestringSpecifies 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…
DiskIdstringSpecifies the data disk ID.
DeleteWithInstancebooleanWhether 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`.
SnapshotIdstringData disk snapshot ID. the size of the selected data disk snapshot must be less than the data disk size.
EncryptbooleanSpecifies 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.
KmsKeyIdstringCustom CMK ID, value is UUID or similar to kms-abcd1234. used for encrypted cloud disk.
ThroughputPerformanceintegerCloud disk performance (unit: MiB/s). specifies additional performance for cloud disks.
CdcIdstringSpecifies the dedicated cluster ID belonging to.
BurstPerformancebooleanBurstable performance.
DiskNamestringDisk name, with a length not exceeding 128 characters.

Returned or accepted by

Nested inside