释放IPAM地址池的CIDR分配,当前支持的类型包括专有网络、自定义分配。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
vpc:DeleteIpamPoolAllocation |
delete |
*IpamPool
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
RegionId |
string |
是 |
要释放的 CIDR 分配所在的地域 ID。 您可以通过调用 DescribeRegions 接口获取地域 ID。 |
cn-hangzhou |
IpamPoolAllocationId |
string |
是 |
要释放的 CIDR 分配的实例 ID。 |
ipam-alloc-c4vhvr3b22mmc6**** |
DryRun |
boolean |
否 |
是否只预检此次请求。取值:
|
false |
ClientToken |
string |
否 |
客户端 Token,用于保证请求的幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。 说明
若您未指定,则系统自动使用 API 请求的 RequestId 作为 ClientToken 标识。每次 API 请求的 RequestId 不一样。 |
123e4567-e89b-12d3-a456-426655440000 |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
返回的信息列表。 |
||
RequestId |
string |
请求 ID。 |
B90776C8-F703-51D5-893A-AD1CA699D535 |
示例
正常返回示例
JSON
格式
{
"RequestId": "B90776C8-F703-51D5-893A-AD1CA699D535"
}
错误码
HTTP status code |
错误码 |
错误信息 |
描述 |
---|---|---|---|
400 | OperationDenied.ResourceTypeIsNotCustom | The operation is not allowed because the resource type is not Custom. | 操作被拒绝,原因是资源类型不是Custom类型。 |
400 | DryRunOperation | Request validation has been passed with DryRun flag set. | DryRun校验通过。 |
400 | ResourceNotFound.IpamPoolAllocation | The specified resource of IPAM pool allocation is not found. | 输入的IPAM地址池分配关系不存在。 |
400 | OperationDenied.UnexpectedResourceType | The operation is not allowed because the resource type is unexpected. | 资源类型非法,不允许操作。 |
400 | OperationDenied.Unauthorized | The operation is denied because the user is not authorized. | 操作失败,用户无权限。 |
400 | OperationDenied.RequestRegionInvalid | The operation is not allowed because the request is not invoked in the region of the IPAM pool. | 操作被拒绝,因为未在地址池所在地域调用请求。 |
400 | OperationDenied.Ipv6VpcNotSupport | The allocation of IPv6 VPC is not supported to delete. | IPv6网段类型的分配不支持释放。 |
404 | ResourceNotFound.IpamPool | The dependent IPAM pool is not found. | 依赖资源IPAM Pool不存在。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。