将连续EIP组迁移至IP地址池。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
vpc:TransformEipSegmentToPublicIpAddressPool |
create |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| InstanceId |
string |
是 |
要进行迁移的连续 EIP 组的实例 ID。 |
eipsg-2zett8ba055tbsxme**** |
| RegionId |
string |
是 |
连续 EIP 组所属的地域 ID。您可以通过调用 DescribeRegions 接口获取地域 ID。 |
cn-hangzhou |
| Name |
string |
否 |
地址池实例的名称。 长度为 0-128 个字符,不能以 |
AddressPoolName |
| Description |
string |
否 |
地址池实例的描述。 长度为 0-256 个字符,不能以 |
AddressPoolDescription |
| ResourceGroupId |
string |
否 |
IP 地址池所属的资源组 ID。 |
rg-acfmxazb4pcdvf**** |
| ClientToken |
string |
否 |
客户端 Token,用于保证请求的幂等性。 从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。 说明
若您未指定,则系统自动使用 API 请求的 RequestId 作为 ClientToken 标识。每次 API 请求的 RequestId 不一样。 |
02fb3da4-130e-11**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| PublicIpAddressPoolId |
string |
IP 地址池的实例 ID。 |
pippool-6wetvn6fumkgycssx**** |
| ResourceGroupId |
string |
IP 地址池所属的资源组 ID。 |
rg-acfmxazb4pcdvf**** |
| RequestId |
string |
请求 ID。 |
4EC47282-1B74-4534-BD0E-403F3EE64CAF |
示例
正常返回示例
JSON格式
{
"PublicIpAddressPoolId": "pippool-6wetvn6fumkgycssx****",
"ResourceGroupId": "rg-acfmxazb4pcdvf****",
"RequestId": "4EC47282-1B74-4534-BD0E-403F3EE64CAF"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | Forbidden.RAM | User not authorized to operate on the specified resource | |
| 400 | IllegalParam.Name | The param of Name [%s] is illegal. | 参数 Name 不合法,请根据请求参数规定重新输入。 |
| 400 | IllegalParam.Description | The param of Description [%s] is illegal. | 参数Description 不合法,请根据请求参数规定重新输入。 |
| 400 | Forbidden.CreatePublicIpAddressPool | Authentication is failed for creating public ip address pool. | 您暂时无法创建 PublicIpAddressPool,请检查账号是否已授权该操作 |
| 400 | QuotaExceeded.PublicIpAddressPool | The quota of PublicIpAddressPool is exceeded. | 您的PublicIpAddressPool数量已达配额,请提升配额后操作 |
| 400 | UnsupportedRegion | The feature is not supported in current region. | 当前地域不支持该功能。 |
| 400 | IncorrectBusinessStatus.PublicIpAddressPool | The business status of publicIpAddressPool is incorrect. | 当前业务状态不支持创建IP地址池实例。 |
| 400 | OptInRequired.PublicIpAddressPool | You are not authorized to use the requested service of publicIpAddressPool. Ensure that you have subscribed to the service you are trying to use. | 您无权使用请求的IP地址池服务。 确保您已经订阅了您尝试使用的服务。 |
| 400 | QuotaExceeded.PoolIpQuantity | The quota of PoolIpQuantity is exceeded. | 地址池中IP数量配额超出限制。 |
| 400 | ResourceNotFound.EipSegment | The specified resource of Eip Segment is not found. | 传入的连续EIP组实例不存在。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。