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:12
You can call this operation to modify the attributes of an EBS volume, including the name and description of the EBS volume.
Parameter | Type | Required | Description |
---|---|---|---|
VolumeId | String | Yes | The ID of the EBS volume whose attributes are to be modified 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 (_). |
VolumeName | String | No | The name of the EBS volume. The name must be 2 to 50 characters in length and can contain letters, digits, hyphens (-), and underscores (_). |
VolumeDesc | String | No | The description of the EBS volume. The description can be up to 50 characters in length. |
DeleteWithInstance | Boolean | No | Specifies whether to delete the EBS volume when the KEC instance to which it is attached is deleted. Valid values: true: Delete the EBS volume when the KEC instance is deleted. false: Detach the EBS volume from the KEC instance but do not delete the EBS volume when the KEC instance is deleted. |
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 attributes of the EBS volume are modified. True indicates yes. |
Request parameters
http://ebs.api.ksyun.com/
?Action=ModifyVolume
&Version=2016-03-04
&VolumeId=b01cbcb3-04dd-40c8-bfbb-dc990d54ee68
&VolumeName=test-rename
&VolumeDesc=test-rename-desc
Response parameters
{
"RequestId": "6e2682a1-5968-42f5-80e5-284aae218df0",
"Return": true
}
Pure Mode