调用ReleaseEipSegmentAddress释放连续EIP。
接口说明
-
ReleaseEipSegmentAddress接口会释放连续EIP组内的所有EIP。
-
ReleaseEipSegmentAddress接口属于异步接口,即系统会先返回一个请求ID,但连续EIP并未完成释放,系统后台的释放任务仍在进行。您可以调用DescribeEipSegment查询连续EIP组的状态:
- 当连续EIP组处于Releasing状态时,表示连续EIP正在释放中,在该状态下,您只能执行查询操作,不能执行其他操作。
- 当查询不到该连续EIP组时,表示连续EIP释放完成。
-
ReleaseEipSegmentAddress接口不支持并发释放同一个连续EIP组。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
RegionId | string | 是 | 连续EIP所属的地域ID。可以通过调用DescribeRegions接口获取地域ID。 | cn-hangzhou |
SegmentInstanceId | string | 是 | 要释放的连续EIP组的实例ID。 系统会释放该连续EIP组内的所有EIP。 | eipsg-2zett8ba055tbsxme**** |
ClientToken | string | 否 | 客户端Token,用于保证请求的幂等性。 从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。 说明
若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。
| 02fb3da4-130e-11e9-8e44-001sdfg |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "F7A6301A-64BA-41EC-8284-8F4838C15D1F"
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | IncorrectEipStatus | Current elastic IP status does not support this operation. | 指定的EIP状态不支持此操作。 |
400 | Forbidden.ChargeTypeIsPrepaid | It's forbidden to release a prepaid EIP | 预付费的 EIP 实例不能释放。 |
400 | Forbidden | The eip instance owener error | EIP 不属于当前调用者,请您检查该 EIP 是否可被您调用。 |
400 | TaskConflict.AssociateGlobalAccelerationInstance | Operate too frequent. | 操作过于频繁。 |
400 | InvalidOperation.DeletionProtection | The instance cannnot delete because of deletion protecion. | - |
400 | OperationFailed.InstanceNotExist | Operation failed because eip segment instance not exist. | - |
400 | OperationFailed.EipNumInconsistent | Operation failed because the number of eip is inconsistent. | - |
400 | OperationFailed.EipStatusInvalid | Operation failed because eip instance status invalid. | 操作失败,因为EIP实例状态无效。 |
400 | OperationFailed.EipInBwp | Operation failed because eip instance has been added to the bandwidth package. | - |
400 | Forbidden.EipInBwp | The EIP has been associated with an EIP bandwidth plan. | 连续EIP组中的EIP加入共享带宽,不允许删除连续EIP组。 |
404 | InvalidAllocationId.NotFound | Specified allocation ID is not found. | 指定的公网 IP 不存在,请您检查填写的公网 IP 是否正确。 |
404 | Forbidden.RegionNotFound | Specified region is not found during access authentication. | 指定 Region 不存在,请您检查该 Region 是否正确。 |
500 | InternalError | The request processing has failed due to some unknown error. | 请求处理由于某些未知错误失败。 |
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
2023-06-26 | OpenAPI 错误码发生变更 | 看变更集 | ||||||||
| ||||||||||
2023-05-15 | OpenAPI 错误码发生变更 | 看变更集 | ||||||||
|