public class ResizeInstanceDisksRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ResizeInstanceDisksRequest() |
ResizeInstanceDisksRequest(ResizeInstanceDisksRequest 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 Configuration of data disks to be expanded.
|
Boolean |
getForceStop()
Get Whether to force shut down a running instances.
|
String |
getInstanceId()
Get Instance ID.
|
Boolean |
getResizeOnline()
Get Whether the cloud disk is expanded online.
|
SystemDisk |
getSystemDisk()
Get Configuration of the system disk to be expanded.
|
void |
setDataDisks(DataDisk[] DataDisks)
Set 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 |
setResizeOnline(Boolean ResizeOnline)
Set Whether the cloud disk is expanded online.
|
void |
setSystemDisk(SystemDisk SystemDisk)
Set Configuration of the system disk to be expanded.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ResizeInstanceDisksRequest()
public ResizeInstanceDisksRequest(ResizeInstanceDisksRequest 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
- 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/api/213/9452?from_cn_redirect=1#block_device) 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 not elastic. Data disk capacity unit: GB; minimum increment: 10 GB. For more information on selecting the data disk type, see the [product overview on cloud disks](https://intl.cloud.tencent.com/document/product/362/2353?from_cn_redirect=1). 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: public SystemDisk getSystemDisk()
public void setSystemDisk(SystemDisk SystemDisk)
SystemDisk
- Configuration of the system disk to be expanded. Only cloud disks are supported.public Boolean getResizeOnline()
public void setResizeOnline(Boolean ResizeOnline)
ResizeOnline
- Whether the cloud disk is expanded online.Copyright © 2024. All rights reserved.