创建高可靠模式物理专线,以满足您多线接入阿里云上业务的稳定性以及多线路容灾后可避免因为单线而导致的业务受损。
接口说明
您在购买端口时,可以选择以下三种组合类型为您的业务或工作提供容灾能力。
-
最强容灾能力:您将申请 2 个接入点内的资源,建立 4 条独立的物理专线连接。对于最强容灾能力的 SLA 可用性指标不低于 99.99%。
-
强大容灾能力:您将申请 2 个接入点内的资源,建立 2 条独立的物理专线连接。对于强大容灾能力的 SLA 可用性指标不低于 99.95%。
-
开发和测试:您将申请 1 个接入点的资源,建立 2 条独立的物理专线连接。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
vpc:CreateHighReliablePhysicalConnection |
create |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
否 |
物理专线所在的地域。 您可以通过调用 DescribeRegions 接口获取地域 ID。 |
cn-shanghai |
| ClientToken |
string |
否 |
客户端 Token,用于保证请求的幂等性。 从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。 说明
若您未指定,则系统自动使用 API 请求的 RequestId 作为 ClientToken 标识。每次 API 请求的 RequestId 不一样。 |
123e4567-e89b-12d3-a456-426655440000 |
| ClientToken |
string |
否 |
客户端 Token,用于保证请求的幂等性。 从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。 说明
若您未指定,则系统自动使用 API 请求的 RequestId 作为 ClientToken 标识。每次 API 请求的 RequestId 不一样。 |
123e4567-e89b-12d3-a456-426655440000 |
| ResourceGroupId |
string |
否 |
物理专线所在的资源组 ID。 |
rg-acfmxazb4p**** |
| Tag |
array<object> |
否 |
标签列表。 |
|
|
object |
否 |
标签列表。 |
||
| Key |
string |
否 |
资源的标签键。最多支持输入 20 个标签键。一旦传入该值,则不允许为空字符串。 最多支持 64 个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以 |
FinanceDept |
| Value |
string |
否 |
资源的标签值。最多支持输入 20 个标签值。一旦传入该值,可以为空字符串。 最多支持 128 个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以 |
FinanceJoshua |
| HighReliableType |
string |
是 |
高可靠模式。取值:
|
MultiApMultiDevice |
| PortType |
string |
是 |
物理专线接入端口类型。取值:
说明
40GBase-LR 和 100GBase-LR 需要根据实际后台端口水位情况进行创建,具体水位情况请联系商务经理。 |
1000Base-LX |
| DeviceAdvancedCapacity |
array |
否 |
设备高级能力列表 |
|
|
string |
否 |
设备高级能力。取值:
|
SubifRateLimit |
|
| ApList |
array<object> |
是 |
接入点列表 |
|
|
object |
否 |
接入点列表 |
||
| Name |
string |
否 |
物理专线的名称。 长度为 2~128 个字符,必须以字母或中文开头,可包含数字、下划线(_)和短划线(-),但不能以 |
test |
| Description |
string |
否 |
物理专线的描述信息。 长度为 2~256 个字符,必须以字母或中文开头,但不能以 |
description |
| RegionId |
string |
是 |
物理专线所在的地域 ID。 您可以通过调用 DescribeRegions 接口获取地域 ID。 |
cn-shanghai |
| LineOperator |
string |
是 |
提供接入物理线路的运营商。取值:
|
CT |
| AccessPointId |
string |
是 |
物理专线所在的接入点 ID。 说明
HighReliableType 为 MultiApMultiDevice 和 MultiApSingleDevice 的时候要求传入两个不同的接入点,HighReliableType 为 SingleApMultiDevice 和 SingleApMultiConnection 的时候要求传入一个接入点。 |
ap-cn-beijing-ft-A |
| PortNum |
integer |
否 |
端口数量。仅在 HighReliableType 为 SingleApMultiConnection 的时候要求传入,取值范围为 2-16。 |
2 |
| Type |
string |
否 |
物理专线的类型。默认值为 VPC。 |
VPC |
| Bandwidth |
integer |
否 |
共享专线的带宽。单位:Mbps。 取值分别为 50、100、200、300、400、500、1000、2000、4000、5000、8000、10000。 |
50 |
| PeerLocation |
string |
否 |
本地数据中心的地理位置。 |
XX街道 |
| CircuitCode |
string |
否 |
运营商为物理专线提供的电路编码。 |
longtel001 |
| OpticalModuleModel |
string |
否 |
物理专线接入点光模块支持型号,取值:
|
SFP-GE-LR-SM1310,10KM |
| DryRun |
string |
否 |
是否只预检此次请求。取值范围:
|
false |
| AcceptLanguage |
string |
否 |
返回结果显示的语言。取值:
|
zh-CN |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回信息。 |
||
| PhysicalConnectionList |
object |
||
| physicalConnectionList |
array<object> |
物理专线实例列表。 |
|
|
object |
物理专线实例列表。 |
||
| InstanceId |
string |
物理专线实例 ID。 |
pc-j5e5qqo616p81ncsp**** |
| RegionNo |
string |
物理专线实例对应的地域 ID |
cn-shanghai |
| RequestId |
string |
请求 ID。 |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
| ErrorInfoList |
object |
||
| errorInfoList |
array<object> |
dryrun 不通过的时候,返回的错误码和错误信息,会返回所有的错误信息,主要包括:
|
|
|
object |
错误码。 |
||
| ErrorCode |
string |
错误码。 |
pconn.high.reliable.dryrun.error.disable.outbound.data.transfer.billing |
| ErrorMessage |
string |
错误信息。 |
pconn.high.reliable.dryrun.error.disable.outbound.data.transfer.billing |
| InstanceId |
string |
物理专线实例 ID。 |
pc-j5e5qqo616p81ncsp**** |
示例
正常返回示例
JSON格式
{
"PhysicalConnectionList": {
"physicalConnectionList": [
{
"InstanceId": "pc-j5e5qqo616p81ncsp****",
"RegionNo": "cn-shanghai"
}
]
},
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0",
"ErrorInfoList": {
"errorInfoList": [
{
"ErrorCode": "pconn.high.reliable.dryrun.error.disable.outbound.data.transfer.billing",
"ErrorMessage": "pconn.high.reliable.dryrun.error.disable.outbound.data.transfer.billing",
"InstanceId": "pc-j5e5qqo616p81ncsp****"
}
]
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | Invalid.Status | The device or interface status invalid, or has been used.. | 参数Status无效 |
| 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. | 指定的资源描述格式不合法。长度为2~256个字符,不能以http://和https://开头。 |
| 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. | ClientToken参数不合法 |
| 400 | InvalidPortType.NotFound | Specified port type is not found. | 指定规格端口已无库存。 |
| 400 | OperationFailed.PconnTrafficNotEnable | The operation is failed because of PconnTrafficNotEnable. | 操作失败,因为出方向流量未开通。 |
| 400 | EcNotSupportRegion | High reliable physical connection is not support in this region. | 高可靠物理专线在本地域暂时不支持售卖 |
| 400 | EcFailToGetAp | Fail to get access point details. | 无法查询到对应接入点信息 |
| 400 | EcNotEnoughResource | Insufficient access point resources. | 接入点资源不足 |
| 400 | IllegalParam.UnsupportedAccessPoint | The access point type does not support the creation of a highly reliable physical connection. | 接入点类型不支持创建高可靠物理专线。 |
| 400 | ResourceNotFound.AccessPointId | The specified resource of access point id is not found. | 当前接入点信息不存在,请核对后重试。 |
| 400 | IllegalParam.%s | The param of %s is illegal. | 指定的参数非法 |
| 404 | InvalidPortType.NotFound | There are no resources with the portType. | 没有该端口类型 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。