AssociateEnsEipAddress_边缘节点服务 ENS_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.

流控信息

请求速率为10/1(s)。

授权信息

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

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
ens:AssociateEnsEipAddress
Update
全部资源
*

请求参数

字段名称字段详情
AllocationIdstring

待绑定 EIP 的 ID。

示例值:eip-5sc1sgcrsrwgwdvx44hru****
InstanceIdstring

绑定 EIP 的云产品 ID。展开详情

示例值:lb-5saivuir6b1mupxjfbhmk****参考取值来源:
    RunInstances
    CreateInstance
    MountInstanceSDG
    RemoveInstanceSDG
    DescribeInstances
    AttachInstanceSDG
    DeployInstanceSDG
    UnmountInstanceSDG
    ModifyInstanceChargeType
    AddNetworkInterfaceToInstance
InstanceTypestring

EIP 实例的类型,取值:展开详情

示例值:SlbInstance枚举值:SlbInstanceEnsInstanceNatSlbInstanceNatNetworkInterfaceHaVip参考取值来源:
    DescribeInstanceTypes
    CreateInstance
Standbyboolean

是否备用 EIP。取值:展开详情

示例值:true

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
RegionAccessDenied
Could not operate this region's resource诊断
400
InstanceNotFound
The input parameter instancdId that is not found.诊断
400
ens.interface.error
An error occurred while call the API.诊断
400
Invalid%s
The specified parameter %s is invalid.诊断
400
Missing%s
You must specify the parameter %s.诊断
400
IncorrectEipStatus
The current status of the resource does not support this operation.诊断
400
InvalidAssociation.Duplicated
Specified instance already is associated.诊断
400
LoadBalancerNotFound
The input parameter allocationId that is not found.诊断
400
EipNotFound
The input parameter allocationId that is not found.诊断
400
IncorrectInstanceStatus
Current instance status does not support this operation.诊断
400
InvalidAssociation.AssociateEipFist
Associate EIP first.诊断
400
InvalidAssociation.RegionNotSupportStandby
The region of EIP does not support standby.诊断
400
NatNotFound
The input parameter allocationId that is not found.诊断
400
InvalidAssociation.NetworkTypeNotSupport
The instance network type does not support binding to EIP.诊断
400
EniNotFound
The input parameter allocationId that is not found.诊断
400
IncorrectEniStatus
Current instance status does not support this operation.诊断
400
InvalidParameter.EniServiceManaged
The eni is managed by service.诊断
400
InvalidAssociation.EniNotSupportStandby
Eni does not support standby eip.诊断
400
IncorrectEniType
The type of eni is invalid.诊断
400
NoPermission
Permission denied.诊断
400
InvalidParameter.%s
The specified field %s invalid. Please check it again.诊断

变更历史

变更时间变更内容概要操作
2024-01-23
变更请求参数InstanceType
2023-09-21
变更错误码400
变更请求参数InstanceType
2023-07-18
变更错误码400
新增请求参数Standby
2023-03-14
变更错误码400
2021-05-13
变更错误码400
  • 1
  • 2
  • 10 条/页

相关示例