阅读622 返回首页    go windows


申请物理专线接入__高速通道相关接口_API 参考_云服务器 ECS-阿里云

描述

  • 客户申请专线接入,在同一时间,处于enabled状态之外的物理专线不得超过5条
  • 若用户名下有物理专线处于欠费状态,则不允许新建更多的物理专线
  • 新创建的物理专线为Initial状态

请求参数

名称 类型 是否必须 描述
Action String 系统规定参数,取值:CreatePhysicalConnection
RegionId String 所在地域(管理实例的Region ID)
AccessPointId String 申请接入物理专线所在的接入点ID,所选择的接入点必须存在且处于可接入的状态。
Type String 专线类型,默认值:VPC ;可选值:
  • VPC - VPC类型专线
CircuitCode String 专线侧接口对应运营商的电路编码。
LineOperator String 提供接入物理线路的运营商,可选值:
  • CT - 中国电信
  • CU - 中国联通
  • CM - 中国移动
  • CO - 中国其他
  • Equinix - Equinix
  • Other - 境外其他
PeerLocation String 专线对端所在物理位置(地址)。[2,256]个字符,不能以https://https://开头。
Bandwidth String 物理专线接入接口带宽,单位Mbps,默认值:100,可选值:[2-10000]
PortType String 物理专线接入端口类型,默认为1000Base-T,如不清楚可以不填写,可选值:
  • 100Base-T - 百兆电口
  • 1000Base-T - 千兆电口
  • 1000Base-LX - 千兆单模光口(10千米)
  • 10GBase-T - 万兆电口
  • 10GBase-LR - 万兆单模光口(10千米)
RedundantPhysicalConnectionId String 互为冗余的物理专线Id(在建立第二条物理专线连接时,如果传入需要冗余的物理专线ID,阿里云将为其分配尽量独立的AD设备,以提供更高的高可用性)。传入对应的物理专线必须存在,而且处于Allocated/Confirmed/Enabled状态之一。
Name String 物理专线名字。[2,128]个字符。不能以https://https:// 开头。
Description String 物理专线描述信息。[2,256]个字符,不能以https://https:// 开头。
ClientToken String 用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大不值过64个ASCII字符。

返回参数

名称 类型 描述
PhysicalConnectionId String 申请成功物理专线ID,状态为initial

错误码


错误代码 描述 Http 状态码 语义
InvalidRegionId.NotFound The RegionId provided does not exist in our records. 404 指定的RegionId不存在
InvalidAccessPointId.NotFound The AccessPointId provided does not exist in our records. 404 指定的 AccessPointId 不存在
InvalidAccessPointId.NotEnabled The specified AccessPointId is not in Enabled state. 400 指定的 AccessPointId 不在Enabled状态
InvalidType.Malformd The Type provided was invalid. 400 指定的Type值不合法
InvalidPeerLocation.Malformd The PeerLocation provided was invalid. 400 指定的PeerLocation不合法
InvalidLineOperator.Malformd The LineOperator provided was invalid. 400 指定的LineOperator 值不合法
InvalidPortType.Malformd The PortType provided was invalid. 400 指定的 PortType 值不合法
InvalidDescription.Malformed The specified Description is not valid. 400 指定的专线描述不合法
InvalidRedundantPhysicalConnectionId .NotFound The specified RedundantPhysicalConnectionId is not found. 404 指定的冗余专线不存在
InvalidName.Malformed The specified Name is not valid. 400 指定的专线名称不合法
QuotaExceeded.pConnPerAP Physical connection count per ap quota exceed. 400 接入点接入专线总数超过配额
InvalidBandwidth invalid physical connection banwidth. 400 指定的Bandwidth不合法
InvalidRedundantPhysicalConnection redundant physical connection doesn't belong to current user. 400 指定的RedundantPhysicalConnection不属于调用者
InvalidRedundantPhysicalConnectionStatus invalid redundant physical connection status. 400 指定的RedundantPhysicalConnection状态不合法
InvalidCircuitCode.Malformed circuitCode is illegal. 400 指定的circuitCode不合法
QuotaExceeded.freePconnPerAP free physical connections count excceeded. 400 未创建边界路由器的物理专线数量超过配额

最后更新:2016-11-23 16:03:50

  上一篇:go 查询可用专线接入点信息__高速通道相关接口_API 参考_云服务器 ECS-阿里云
  下一篇:go 查询物理专线列表__高速通道相关接口_API 参考_云服务器 ECS-阿里云