public class CreateDisksRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
CreateDisksRequest()  | 
CreateDisksRequest(CreateDisksRequest 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 | 
|---|---|
AutoMountConfiguration | 
getAutoMountConfiguration()
Get Automatically mount and initialize the data disk. 
 | 
Boolean | 
getAutoVoucher()
Get Whether to use the vouchers automatically. 
 | 
Long | 
getDiskBackupQuota()
Get Specify the quota of disk backups. 
 | 
DiskChargePrepaid | 
getDiskChargePrepaid()
Get Parameters of monthly subscribed cloud disks 
 | 
Long | 
getDiskCount()
Get Number of cloud disks. 
 | 
String | 
getDiskName()
Get Image name, which can contain up to 60 characters. 
 | 
Long | 
getDiskSize()
Get Cloud disk size in GB. 
 | 
String | 
getDiskType()
Get Cloud disk media type. 
 | 
String | 
getZone()
Get Availability zone. 
 | 
void | 
setAutoMountConfiguration(AutoMountConfiguration AutoMountConfiguration)
Set Automatically mount and initialize the data disk. 
 | 
void | 
setAutoVoucher(Boolean AutoVoucher)
Set Whether to use the vouchers automatically. 
 | 
void | 
setDiskBackupQuota(Long DiskBackupQuota)
Set Specify the quota of disk backups. 
 | 
void | 
setDiskChargePrepaid(DiskChargePrepaid DiskChargePrepaid)
Set Parameters of monthly subscribed cloud disks 
 | 
void | 
setDiskCount(Long DiskCount)
Set Number of cloud disks. 
 | 
void | 
setDiskName(String DiskName)
Set Image name, which can contain up to 60 characters. 
 | 
void | 
setDiskSize(Long DiskSize)
Set Cloud disk size in GB. 
 | 
void | 
setDiskType(String DiskType)
Set Cloud disk media type. 
 | 
void | 
setZone(String Zone)
Set Availability zone. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateDisksRequest()
public CreateDisksRequest(CreateDisksRequest source)
public String getZone()
public void setZone(String Zone)
Zone - Availability zone. You can call [DescribeZones](https://intl.cloud.tencent.com/document/product/1207/57513?from_cn_redirect=1) and get the information in the `Zone` parameter republic Long getDiskSize()
public void setDiskSize(Long DiskSize)
DiskSize - Cloud disk size in GB.public String getDiskType()
public void setDiskType(String DiskType)
DiskType - Cloud disk media type. Valid values: "CLOUD_PREMIUM" (premium cloud disk), "CLOUD_SSD" (SSD cloud disk).public DiskChargePrepaid getDiskChargePrepaid()
public void setDiskChargePrepaid(DiskChargePrepaid DiskChargePrepaid)
DiskChargePrepaid - Parameters of monthly subscribed cloud diskspublic String getDiskName()
public void setDiskName(String DiskName)
DiskName - Image name, which can contain up to 60 characters.public Long getDiskCount()
public void setDiskCount(Long DiskCount)
DiskCount - Number of cloud disks. Range: [1, 30]. Default value: 1.public Long getDiskBackupQuota()
public void setDiskBackupQuota(Long DiskBackupQuota)
DiskBackupQuota - Specify the quota of disk backups. No quota if it’s left empty. Only one quota is allowed.public Boolean getAutoVoucher()
public void setAutoVoucher(Boolean AutoVoucher)
AutoVoucher - Whether to use the vouchers automatically. It defaults to No.public AutoMountConfiguration getAutoMountConfiguration()
public void setAutoMountConfiguration(AutoMountConfiguration AutoMountConfiguration)
AutoMountConfiguration - Automatically mount and initialize the data disk.Copyright © 2025. All rights reserved.