AssociateHaVip_云服务器 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 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
vpc:AssociateHaVip
Update
Instance
acs:vpc:{#regionId}:{#accountId}:instance/{#InstanceId}
HaVip
acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}

请求参数

字段名称字段详情
ClientTokenstring
RegionIdstring
HaVipIdstring
InstanceIdstring

返回参数

字段名称字段详情
RequestIdstring

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
InvalidVip.Status
vip invalid status诊断
400
IncorrectHaVipStatus
HaVip can be operated by this action only when it's status is Available or InUse.诊断
400
IncorrectInstanceStatus
ECS instance can be operated by this action only when it??s status is Running or Stopped.诊断
400
CountLimitExceed.HaVipOnInstance
The amount of HaVip associated with the specified Instance reach its limits.诊断
400
CountLimitExceeded.HaVipOnECSInstance
The amount of Instance associated with the specified HaVip reach its limits.诊断
400
OperationFailed.DistibuteLock
Distibute lock fail.诊断
400
Forbidden.HaVip
No permissions to perform operations on HAVIPs. Please apply for privilege--vpc_privilege_allow_buy_havip_instance.诊断
400
OperationUnsupported.BindMultipleType
You cannot bind HaVip to multiple instance types.诊断
404
InvalidHaVip.Exist
haVip already bind exist.诊断
404
InvalidRegionId.NotFound
The RegionId provided does not exist in our records.诊断
404
InvalidHaVipId.NotFound
The specified HaVip does not exist in the specified region.诊断
404
InvalidInstanceId.NotFound
The specified Instance does not exist in the specified region.诊断

变更历史

变更时间变更内容概要操作
2023-07-12
变更错误码400
2023-06-12
变更错误码400

相关示例