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 information of a data disk to be expanded.
|
Boolean |
getForceStop()
Get Whether to forcibly shut down a running instance.
|
String |
getInstanceId()
Get Instance ID.
|
Boolean |
getResizeOnline()
Get Whether the cloud disk is expanded online.
|
SystemDisk |
getSystemDisk()
Get Configuration information of a system disk to be expanded.
|
void |
setDataDisks(DataDisk[] DataDisks)
Set Configuration information of a data disk to be expanded.
|
void |
setForceStop(Boolean ForceStop)
Set Whether to forcibly shut down a running instance.
|
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 information of a 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 information of a data disk to be expanded. Only inelastic data disks (with `Portable` being `false` in the return values of [DescribeDisks](https://intl.cloud.tencent.com/document/api/362/16315?from_cn_redirect=1)) can be expanded. The unit of data disk capacity is GB. The minimum expansion step is 10 GB. For more information about data disk types, refer to [Disk Product Introduction](https://intl.cloud.tencent.com/document/product/362/2353?from_cn_redirect=1). The available data disk type is restricted by the instance type `InstanceType`. Additionally, the maximum allowable capacity for expansion varies by data disk type.
public Boolean getForceStop()
public void setForceStop(Boolean ForceStop)
ForceStop
- Whether to forcibly shut down a running instance. It is recommended to manually shut down a running instance first and then reset the user password. Valid values:public SystemDisk getSystemDisk()
public void setSystemDisk(SystemDisk SystemDisk)
SystemDisk
- Configuration information of a system disk to be expanded. Only cloud disks can be expanded.
public Boolean getResizeOnline()
public void setResizeOnline(Boolean ResizeOnline)
ResizeOnline
- Whether the cloud disk is expanded online.Copyright © 2025. All rights reserved.