文档

BindSmartAccessGateway - 将智能接入网关绑定到指定的云连接网中

更新时间:

调用BindSmartAccessGateway接口将智能接入网关绑定到指定的云连接网中。 。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用背景高亮的方式表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作访问级别资源类型条件关键字关联操作
smartag:BindSmartAccessGatewayWrite
  • CloudConnectNetwork
    acs:smartag:{#regionId}:{#accountId}:ccn/{#CcnId}

请求参数

名称类型必填描述示例值
CcnIdstring

要绑定的云连接网 ID。

ccn-isdjvvkexkrpk*****
SmartAGIdstring

智能接入网关 ID。

sag-m7ez44zpayma*****
RegionIdstring

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

cn-hangzhou
SmartAGUidlong

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

1250123456123456

返回参数

名称类型描述示例值
object
RequestIdstring

请求 ID。

8A3FF8DD-B27D-4ED2-B032-5EF90B38195D

示例

正常返回示例

JSON格式

{
  "RequestId": "8A3FF8DD-B27D-4ED2-B032-5EF90B38195D"
}

错误码

HTTP status code错误码错误信息描述
400SAG.NoBindSNThe specified SAG is not bound with a serial number. Please perform binding first.当前智能接入网关实例还未绑定序列号,请先绑定后再操作。
400SAG.NoBandwidthBuy bandwidth for the specified SAG instance before binding it to a CCN instance.当前SAG实例还未购买带宽,请先购买后再绑定CCN实例。
400NotBoundCENBind the specified CCN instance to a CEN instance first.当前CCN实例还未绑定CEN,请先绑定。
400SAG.VbrNotBondCenBind the specified VBR instance to a CEN instance first.当前VBR还未绑定到CEN,请先绑定CEN。
400AlreadyBound.CCNThe specified SAG instance is bound to another CCN instance. Unbind them first.当前SAG实例已经绑定其他CCN实例,请先解绑。
400LinkLevelBackupExistsThe specified SAG instance is already used as a leased line backup.当前实例已经存在专线备份。
400TunnelIdDistributeErrorTunnel id distribute error.隧道ID分配出错。
400UpdateError.SMARTAGUpdate smart access gateway error.更新智能接入网关出错。
400SmartAccessGatewayInArrearsThe specified Smart Access Gateway has expired.该智能接入网关已经到期停服,请续费。
400SmartAccessGatewayNotActivatedThe specified Smart Access Gateway has not been activated.该智能接入网关尚未激活,请先激活该实例。
403CidrConflictCidr is conflict, Please Check your input.-
403MissingParameterThe input parameter is missing, please check your input.输入参数缺失,请检查您的输入。
403InvalidId.CCNInvalid cloud connect network id.无效的云连接网ID。
403InvalidId.SMARTAGThe specified smart access gateway instance id is invalid.无效的智能接入网关实例ID。
403SmartAccessGatewayAlreadyBoundThe smart access gateway already bound.该智能接入网关已经绑定。
403TunnelIdNotEnoughTunnel id is not enough.隧道ID不足。
403ForbiddenUser not authorized to operate on the specified resource.用户没有操作此资源的权限。
403VbrConflict.ChangeSubnetThe subnet of the gateway conflicts with the VBR. Modify the subnet first.该智能接入网关的子网网段与VBR有冲突,请修改子网网段。

访问错误中心查看更多错误码。

  • 本页导读 (1)
文档反馈