ReleasePublicIpAddress_云服务器 ECS_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.

流控信息

当前云产品API请求速率暂未透出。

授权信息

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

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
ecs:ReleasePublicIpAddress
Delete
Instance
acs:ecs:{#regionId}:{#accountId}:instance/{#instanceId}

请求参数

字段名称字段详情
RegionIdstring

实例所属地域 ID。

示例值:cn-hangzhou
InstanceIdstring

指定的实例 ID。

示例值:i-bp67acfmxazb4p****
PublicIpAddressstring

实例公网 IP 地址。

示例值:121.40.**.**
DryRunboolean
说明 该参数暂未开放使用。
示例值:hide

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
RemainTimesstring
说明 该参数暂未开放使用。
示例值:hide

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
OperationDenied
Specified operation is denied as your instance is in VPC.诊断
400
InvalidIpAddress.NotFound
The specified parameter "IpAddress" is not found in your records.诊断
400
DryRunOperation
This is a dryrun request with successful result.诊断
403
IncorrectInstanceStatus
The current status of the resource does not support this operation.诊断
403
InstanceLockedForSecurity
The specified operation is denied as your instance is locked for security reasons.诊断
403
InvalidIpAddress.NeedInstanceId
The specified IpAddress need to release with InstanceId.诊断
403
OperationTimesOverLimit
The specified operation is denied as release public ip times over the limit.诊断
403
Forbidden.ExceedDuration
Instance nat public ip can only be released in 6 hours after ecs created.诊断
404
InvalidInstanceId.NotFound
The specified InstanceId does not exist.诊断

变更历史

变更时间变更内容概要操作
2024-12-24
新增deprecated
2023-01-04
变更错误码400
变更错误码403
新增请求参数RegionId
新增请求参数DryRun
变更返回参数

相关示例