| Package | Description | 
|---|---|
| com.tencentcloudapi.cvm.v20170312 | |
| com.tencentcloudapi.cvm.v20170312.models | 
| Modifier and Type | Method and Description | 
|---|---|
| ResizeInstanceDisksResponse | CvmClient. ResizeInstanceDisks(ResizeInstanceDisksRequest req)本接口 (ResizeInstanceDisks) 用于扩容实例的磁盘。
 目前只支持扩容非弹性盘([ DescribeDisks ](https://cloud.tencent.com/document/api/362/16315)接口返回值中的`Portable`为`false`表示非弹性)。
 对于包年包月实例,使用该接口会涉及扣费,请确保账户余额充足。可通过[ DescribeAccountBalance ](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。
 目前只支持扩容一块数据盘。
 默认扩容方式为关机后扩容。
 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
 如果是系统盘,目前只支持扩容,不支持缩容。
  如果是运行中的实例,必须指定ForceStop或ResizeOnline任意一个参数为true,否则操作失败。 | 
| Constructor and Description | 
|---|
| 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. | 
Copyright © 2025. All rights reserved.