public class DiskInfo extends AbstractModel
Constructor and Description |
---|
DiskInfo() |
DiskInfo(DiskInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getDiskSize()
Get System disk: the available disk capacity is 50-500 GB.
|
String |
getDiskType()
Get Disk type: Premium Cloud Storage (CLOUD_PREMIUM) or SSD (CLOUD_SSD)
|
void |
setDiskSize(Long DiskSize)
Set System disk: the available disk capacity is 50-500 GB.
|
void |
setDiskType(String DiskType)
Set Disk type: Premium Cloud Storage (CLOUD_PREMIUM) or SSD (CLOUD_SSD)
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public DiskInfo()
public DiskInfo(DiskInfo source)
public String getDiskType()
public void setDiskType(String DiskType)
DiskType
- Disk type: Premium Cloud Storage (CLOUD_PREMIUM) or SSD (CLOUD_SSD)public Long getDiskSize()
public void setDiskSize(Long DiskSize)
DiskSize
- System disk: the available disk capacity is 50-500 GB. Data disk: the available disk capacity is 100-32000 GB, and the value is a multiple of 10. When the disk type is SSD (CLOUD_SSD), the minimum capacity is 100 GB.Copyright © 2023. All rights reserved.