public class SystemDisk extends AbstractModel
Constructor and Description |
---|
SystemDisk() |
SystemDisk(SystemDisk 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 |
---|---|
String |
getCdcId()
Get ID of the dedicated cluster to which the instance belongs.
|
String |
getDiskId()
Get System disk ID.
|
Long |
getDiskSize()
Get System disk size; unit: GB; default value: 50 GB.
|
String |
getDiskType()
Get System disk type.
|
void |
setCdcId(String CdcId)
Set ID of the dedicated cluster to which the instance belongs.
|
void |
setDiskId(String DiskId)
Set System disk ID.
|
void |
setDiskSize(Long DiskSize)
Set System disk size; unit: GB; default value: 50 GB.
|
void |
setDiskType(String DiskType)
Set System disk type.
|
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 SystemDisk()
public SystemDisk(SystemDisk source)
public String getDiskType()
public void setDiskType(String DiskType)
DiskType
- System disk type. For more information about the limits of system disk types, please see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952?from_cn_redirect=1). Valid values:public String getDiskId()
public void setDiskId(String DiskId)
DiskId
- System disk ID. System disks whose type is `LOCAL_BASIC` or `LOCAL_SSD` do not have an ID and do not support this parameter.
It is only used as a response parameter for APIs such as `DescribeInstances`, and cannot be used as a request parameter for APIs such as `RunInstances`.public Long getDiskSize()
public void setDiskSize(Long DiskSize)
DiskSize
- System disk size; unit: GB; default value: 50 GB.public String getCdcId()
public void setCdcId(String CdcId)
CdcId
- ID of the dedicated cluster to which the instance belongs.Copyright © 2023. All rights reserved.