BindSmartAccessGateway_智能接入网关_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 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
smartag:BindSmartAccessGateway
Write
CloudConnectNetwork
acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnId}

请求参数

字段名称字段详情
CcnIdstring

要绑定的云连接网 ID。

示例值:ccn-isdjvvkexkrpk*****
SmartAGIdstring

智能接入网关 ID。

示例值:sag-m7ez44zpayma*****参考取值来源:
    AddSnatEntry
    CreateSmartAccessGateway
    ListSmartAGByAccessPoint
RegionIdstring

智能接入网关的所属区域 ID。

示例值:cn-hangzhou参考取值来源:
    DescribeRegions
SmartAGUidinteger<int64>

智能接入网关实例的用户 ID。

注意 该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。
示例值:1250123456123456参考取值来源:
    DescribeSmartAccessGateways

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:8A3FF8DD-B27D-4ED2-B032-5EF90B38195D

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
SAG.NoBindSN
The specified SAG is not bound with a serial number. Please perform binding first.诊断
400
SAG.NoBandwidth
Buy bandwidth for the specified SAG instance before binding it to a CCN instance.诊断
400
NotBoundCEN
Bind the specified CCN instance to a CEN instance first.诊断
400
SAG.VbrNotBondCen
Bind the specified VBR instance to a CEN instance first.诊断
400
AlreadyBound.CCN
The specified SAG instance is bound to another CCN instance. Unbind them first.诊断
400
LinkLevelBackupExists
The specified SAG instance is already used as a leased line backup.诊断
400
TunnelIdDistributeError
Tunnel id distribute error.诊断
400
UpdateError.SMARTAG
Update smart access gateway error.诊断
400
SmartAccessGatewayInArrears
The specified Smart Access Gateway has expired.诊断
400
SmartAccessGatewayNotActivated
The specified Smart Access Gateway has not been activated.诊断
403
CidrConflict
Cidr is conflict, Please Check your input.诊断
403
MissingParameter
The input parameter is missing, please check your input.诊断
403
InvalidId.CCN
Invalid cloud connect network id.诊断
403
InvalidId.SMARTAG
The specified smart access gateway instance id is invalid.诊断
403
SmartAccessGatewayAlreadyBound
The smart access gateway already bound.诊断
403
TunnelIdNotEnough
Tunnel id is not enough.诊断
403
Forbidden
User not authorized to operate on the specified resource.诊断
403
VbrConflict.ChangeSubnet
The subnet of the gateway conflicts with the VBR. Modify the subnet first.诊断

变更历史

暂无变更历史

相关示例