调用ModifyDedicatedBlockStorageClusterAttribute修改专属块存储集群的信息。
接口说明
您可以修改专属块存储集群的名称、描述信息等信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ModifyDedicatedBlockStorageClusterAttribute |
系统规定参数。取值:ModifyDedicatedBlockStorageClusterAttribute。 |
RegionId | String | 是 | cn-heyuan |
专属块存储集群所属地域ID。您可以调用DescribeRegions查看最新的阿里云地域列表。 |
DbscId | String | 是 | dbsc-cn-od43bf**** |
专属块存储集群ID。 |
DbscName | String | 是 | my-test-dbsc |
修改后的专属块存储集群的名称。 |
Description | String | 否 | test |
描述信息。 |
ClientToken | String | 否 | 123e4567-e89b-12d3-a456-42665544**** |
保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。 ClientToken只支持ASCII字符,且不能超过64个字符。更多信息,请参见如何保证幂等性。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 11B55F58-D3A4-4A9B-9596-342420D0**** |
请求ID。 |
示例
请求示例
https://ebs.cn-heyuan.aliyuncs.com/?Action=ModifyDedicatedBlockStorageClusterAttribute
&RegionId=cn-heyuan
&DbscId=dbsc-cn-od43bf****
&DbscName=my-test-dbsc
&Description=test
&ClientToken=123e4567-e89b-12d3-a456-42665544****
&公共请求参数
正常返回示例
XML
格式
HTTP/1.1 200 OK
Content-Type:application/xml
<ModifyDedicatedBlockStorageClusterAttributeResponse>
<RequestId>11B55F58-D3A4-4A9B-9596-342420D0****</RequestId>
</ModifyDedicatedBlockStorageClusterAttributeResponse>
JSON
格式
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "11B55F58-D3A4-4A9B-9596-342420D0****"
}
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | InvalidParameter | The parameter %s is invalid. | 参数错误 |
400 | MissingParameter | The input parameter %s that is mandatory for processing this request is not supplied. | 参数缺失。 |
403 | Forbidden | User is not authorized to operate. | 当前用户无权限对当前资源执行任何操作。请检查您的账号权限或者咨询您的主账号管理员。 |
403 | Forbidden.Action | User is not authorized to operate this action. | 当前用户无权限执行该操作。请检查您的账号权限或者咨询您的主账号管理员。 |
403 | NoPermission.SLR | The RAM user does not have the permission to create service linked role: AliyunServiceLinkedRoleForEBS. | 当前用户无权限创建SLR。 |
403 | InvalidPayMethod | The specified pay method is not valid. | 不支持该购买方式。请检查您传入的参数chargeType是否正确。 |
403 | LastTokenProcessing | The last token request is processing. | 相同clientToken的请求正在执行,请稍后再重试。 |
403 | InvalidAccountStatus.NotEnoughBalance | Your account does not have enough balance. | 您的账户余额不足。 |
403 | OperationDenied.QuotaExceed | The operation is not allowed due to quota exceed. | 当前操作已超过使用配额。 |
403 | NotOnSale.Region | The specified region is not on sale. | 当前Region停售或无库存。 |
403 | NotOnSale.Zone | The specified zone is not on sale. | 当前Zone停售或无库存。 |
404 | InvalidApi.NotFound | Specified api is not found, please check your url and method. | 找不到指定的 API。请检查调用的 URL 和方法。您调用的 API 不存在。请检查 API 的名称是否正确,请注意确认大小写。 |
404 | InvalidRegionId.NotFound | The specified RegionId does not exist. | 指定的RegionId不存在。 |
404 | InvalidResourceId.NotFound | The specified ResourceIds are not found in our records. | 指定的资源不存在,请检查参数ResourceId是否正确。 |
404 | InvalidResourceType.NotFound | The ResourceType provided does not exist in our records. | 指定的资源类型不存在。 |
404 | MissingParameter.ResourceType | The parameter - ResourceType should not be null | 参数ResourceType不能为空。 |
404 | InvalidZoneId.NotFound | The specified ZoneId does not exist. | 指定的ZoneId不存在。 |
404 | NoSuchResource | The specified resource does not exist. | 指定的资源不存在。 |
500 | InternalError | The request processing has failed due to some unknown error, exception or failure. | 内部错误。 |
504 | RequestTimeout | The request is timeout, please try again later. | 该请求超时,请稍后再重试。 |
访问错误中心查看更多错误码。