public class InquiryPriceResizeInstanceDisksRequest extends AbstractModel
Constructor and Description |
---|
InquiryPriceResizeInstanceDisksRequest() |
InquiryPriceResizeInstanceDisksRequest(InquiryPriceResizeInstanceDisksRequest 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 |
---|---|
DataDisk[] |
getDataDisks()
Get The configuration of data disks to be expanded.
|
Boolean |
getForceStop()
Get Whether to force shut down a running instances.
|
String |
getInstanceId()
Get Instance ID.
|
void |
setDataDisks(DataDisk[] DataDisks)
Set The configuration of data disks to be expanded.
|
void |
setForceStop(Boolean ForceStop)
Set Whether to force shut down a running instances.
|
void |
setInstanceId(String InstanceId)
Set Instance ID.
|
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 InquiryPriceResizeInstanceDisksRequest()
public InquiryPriceResizeInstanceDisksRequest(InquiryPriceResizeInstanceDisksRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID. To obtain the instance IDs, you can call [`DescribeInstances`](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) and look for `InstanceId` in the response.public DataDisk[] getDataDisks()
public void setDataDisks(DataDisk[] DataDisks)
DataDisks
- The configuration of data disks to be expanded. Currently, you can only use the API to expand non-elastic data disks whose [disk type](https://intl.cloud.tencent.com/document/product/213/15753?from_cn_redirect=1#DataDisk) is `CLOUD_BASIC`, `CLOUD_PREMIUM`, or `CLOUD_SSD`. You can use [`DescribeDisks`](https://intl.cloud.tencent.com/document/api/362/16315?from_cn_redirect=1) to check whether a disk is elastic. If the `Portable` field in the response is `false`, it means that the disk is non-elastic. Data disk capacity unit: GB; minimum increment: 10 GB. For more information about selecting a data disk type, see the product overview on cloud disks. Available data disk types are subject to the instance type (`InstanceType`). In addition, the maximum capacity allowed for expansion varies by data disk type.public Boolean getForceStop()
public void setForceStop(Boolean ForceStop)
ForceStop
- Whether to force shut down a running instances. It is recommended to manually shut down a running instance before resetting the user password. Valid values: Copyright © 2021. All rights reserved.