Found 0 result in total
Content is empty
If you don't find the content you expect, please try another search term
Last updated:2022-09-05 10:13:06
You can call this operation to expand the capacity of the specified EBS volume.
Note:
The maximum capacity of an EBS volume that uses MBR partitioning is 2 TB. If the capacity exceeds this limit, the excess capacity cannot be used. You may need to expand the capacity of an EBS volume that uses MBR partitioning to more than 2 TB. In this case, we recommend that you create and attach a data disk that uses GPT partitioning and then copy the data to the new disk.
Limits:
Parameter | Type | Required | Description |
---|---|---|---|
VolumeId | String | Yes | The ID of the EBS volume whose capacity is to be expanded in a KEC instance. The EBS volume and the KEC instance must reside in the same availability zone. The ID must be 36 characters in length and can contain letters, digits, hyphens (-), and underscores (_). |
Size | Integer | Yes | The new capacity of the EBS volume after the capacity expansion, in GB. Value range: 10 to 32000. The new capacity must be greater than the original capacity. Step: 10 GB. |
OnlineResize | Boolean | No | Specifies whether to expand the capacity of the EBS volume online. Valid values: ● false (default): offline expansion. After the capacity of the EBS volume is expanded, you must restart the KEC instance in the console or through an API operation for the expansion to take effect. ● true: online expansion. After the capacity of the EBS volume is expanded, you do not need to restart the KEC instance. |
Version | String | Yes | The API version. Valid value: 2016-03-04. |
Parameter | Type | Required | Description |
---|---|---|---|
RequestId | String | Yes | The request ID, which is unique. A request ID is returned for each request. |
Return | Boolean | No | Indicates whether the capacity of the EBS volume is expanded. True indicates yes. |
Request parameters
http://ebs.api.ksyun.com/
?Action=ResizeVolume
&Version=2016-03-04
&VolumeId=b01cbcb3-04dd-40c8-bfbb-dc990d54ee68
&Size=100
Response parameters
{
"RequestId": "6e2682a1-5968-42f5-80e5-284aae218df0",
"Return": true
}
Pure Mode