CreatePhysicalConnection_专有网络_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.

接口说明

您可以申请独享物理专线,也可以为租户申请共享物理专线。 申请完成后,物理专线的状态为 Initial,请联系运营商进行施工。

调用该接口时,请注意:

  • 申请物理专线时,处于 Enabled 状态之外的物理专线不得超过 5 条。

  • 若账号下存在欠费状态的物理专线,则不能再申请物理专线。

流控信息

请求速率为300/60(s)。更多流控信息,请前往配额中心查看

授权信息

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

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
vpc:CreatePhysicalConnection
Create
PhysicalConnection
acs:vpc:{#regionId}:{#accountId}:physicalconnection/*

请求参数

字段名称字段详情
RegionIdstring

物理专线所在的地域 ID。展开详情

示例值:cn-shanghai参考取值来源:
    DescribeRegions
AccessPointIdstring

物理专线所在的接入点 ID。

示例值:ap-cn-beijing-ft-A参考取值来源:
    DescribeAccessPoints
    ListBusinessAccessPoints
Typestring

物理专线的类型。默认值为 VPC

示例值:VPC
LineOperatorstring

提供接入物理线路的运营商。取值:展开详情

示例值:CT
bandwidthinteger<int32>

共享专线的带宽。单位:Mbps。展开详情

示例值:50
PeerLocationstring

本地数据中心的地理位置。

示例值:XX街道
PortTypestring

物理专线接入端口类型。取值:展开详情

示例值:1000Base-T
RedundantPhysicalConnectionIdstring

冗余物理专线的实例 ID。该专线的状态必须为 AllocatedConfirmedEnabled

示例值:pc-119mfjzm****参考取值来源:
    ListVirtualPhysicalConnections
    DescribePhysicalConnections
Descriptionstring

物理专线的描述信息。 展开详情

示例值:description
Namestring

物理专线的名称。 展开详情

示例值:test
CircuitCodestring

运营商为物理专线提供的电路编码。

示例值:longtel001
ClientTokenstring

客户端 Token,用于保证请求的幂等性。展开详情

示例值:123e4567-e89b-12d3-a456-42665544****
ResourceGroupIdstring

物理专线所在的资源组 ID。

示例值:rg-acfmoiyermp****
Tagarray<object>

标签列表。

子级条数 <= 20
DeviceAdvancedCapacityarray<string>

设备高级能力列表。

子级条数 <= 100

返回参数

字段名称字段详情
PhysicalConnectionIdstring

物理专线实例 ID。

示例值:pc-bp1ciz7ekd2grn1as****
RequestIdstring

请求 ID。

示例值:8A6A5EC5-6F6C-4906-9689-56ACE58A13E0

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
Invalid.Status
The device or interface status invalid, or has been used..诊断
400
InvalidType.Malformd
The Type provided was invalid.诊断
400
InvalidPeerLocation.Malformd
The PeerLocation provided was invalid.诊断
400
InvalidLineOperator.Malformd
The LineOperator provided was invalid.诊断
400
InvalidPortType.Malformd
The PortType provided was invalid.诊断
400
InvalidDescription.Malformed
The specifid ?Description? is not valid.诊断
400
InvalidRedundantPhysicalConnectionId.NotFound
The RedundantPhysicalConnectionId does not found.诊断
400
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
InvalidRedundantPhysicalConnection
redundant physical connection doesn't belong to current user.诊断
400
InvalidRedundantPhysicalConnectionStatus
invalid redundant physical connection status.诊断
400
InvalidCircuitCode.Malformed
circuitCode is illegal.诊断
400
QuotaExceeded.freePconnPerAP
free physical connections count excceeded.诊断
400
InvalidPhysicalConnectionOperator.Malformed
Specified PhysicalConnection Operator is not valid.诊断
400
InvalidPhysicalConnectionPortType.Malformed
Specified PhysicalConnection PortType is not valid.诊断
400
InvalidPhysicalConnectionBandwidth.Malformed
Specified PhysicalConnection Bandwidth is not valid.诊断
400
IllegalParam.ClientToken
Token verify failed because client token length too long.诊断
400
InvalidPortType.NotFound
Specified port type is not found.诊断
400
OperationFailed.PconnTrafficNotEnable
The operation is failed because of PconnTrafficNotEnable.诊断
400
InvalidAccessPointId.NotEnabled
Invalid access point status.诊断
400
ResourceNotFound.AccessPointId
The specified resource of access point id is not found.诊断
404
InvalidPortType.NotFound
There are no resources with the portType.诊断

变更历史

变更时间变更内容概要操作
2024-07-15
变更错误码400
2024-06-28
变更错误码400
2023-10-12
变更错误码400
变更错误码404
新增请求参数DeviceAdvancedCapacity
2023-03-14
新增请求参数Tag
2022-12-02
新增请求参数ResourceGroupId
  • 1
  • 2
  • 10 条/页

相关示例

CreatePhysicalConnection
2022-11-17