ReleaseEipSegmentAddress_专有网络_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

接口说明

  • ReleaseEipSegmentAddress 接口会释放连续 EIP 组内的所有 EIP。

  • 调用 ReleaseEipSegmentAddress 接口前,请确保:

  • ReleaseEipSegmentAddress 接口属于异步接口,即系统会先返回一个请求 ID,但连续 EIP 并未完成释放,系统后台的释放任务仍在进行。您可以调用 DescribeEipSegment 查询连续 EIP 组的状态:

    • 当连续 EIP 组处于 Releasing 状态时,表示连续 EIP 正在释放中,在该状态下,您只能执行查询操作,不能执行其他操作。
    • 当查询不到该连续 EIP 组时,表示连续 EIP 释放完成。
  • ReleaseEipSegmentAddress 接口不支持并发释放同一个连续 EIP 组。

流控信息

请求速率为60/60(s)。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
vpc:ReleaseEipSegmentAddress
Delete
SegmentAddress
acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}

请求参数

字段名称字段详情
RegionIdstring

连续 EIP 所属的地域 ID。可以通过调用 DescribeRegions 接口获取地域 ID。

示例值:cn-hangzhou参考取值来源:
    DescribeRegions
SegmentInstanceIdstring

要释放的连续 EIP 组的实例 ID。展开详情

示例值:eipsg-2zett8ba055tbsxme****
ClientTokenstring

客户端 Token,用于保证请求的幂等性。展开详情

示例值:02fb3da4-130e-11e9-8e44-001sdfg

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:F7A6301A-64BA-41EC-8284-8F4838C15D1F

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
IncorrectEipStatus
Current elastic IP status does not support this operation.诊断
400
Forbidden.ChargeTypeIsPrepaid
It's forbidden to release a prepaid EIP诊断
400
Forbidden
The eip instance owener error诊断
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.诊断
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.诊断
404
InvalidAllocationId.NotFound
Specified allocation ID is not found.诊断
404
Forbidden.RegionNotFound
Specified region is not found during access authentication.诊断
500
InternalError
The request processing has failed due to some unknown error.诊断

变更历史

变更时间变更内容概要操作
2023-06-26
变更错误码400
2023-05-15
变更错误码400

相关示例

申请eip段-->查询eip段-->释放eip段
2021-12-16