确认物理专线为可用状态,物理专线的状态会变为Confirmed。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
物理专线所在的地域 ID。 您可以通过调用 DescribeRegions 接口获取地域 ID。 |
cn-shanghai |
| PhysicalConnectionId |
string |
是 |
物理专线的 ID。 |
pc-119mf**** |
| ClientToken |
string |
否 |
客户端 Token,用于保证请求的幂等性。 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过 64 个 ASCII 字符。 说明
若您未指定,则系统自动使用 API 请求的 RequestId 作为 ClientToken 标识。每次 API 请求的 RequestId 可能不一样。 |
02fb3da4-130e-11e9-8e44-0016e0**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
API-20365164-5b0d-460a-83c2-2189972b**** |
示例
正常返回示例
JSON格式
{
"RequestId": "API-20365164-5b0d-460a-83c2-2189972b****"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | OperationFailed.PconnTrafficNotEnable | The operation is failed because of PconnTrafficNotEnable. | 操作失败,因为出方向流量未开通。 |
| 400 | ResourceNotFound.PhysicalConnectionId | PhysicalConnection is not found. | PhysicalConnectionId未找到。 |
| 400 | MissingParam.RegionNo | RegionNo is missing. | RegionNo参数缺失 |
| 400 | MissingParam.AliUid | AliUid is missing. | AliUid参数缺失 |
| 400 | MissingParam.PhysicalConnectionId | PhysicalConnectionId is missing. | PhysicalConnectionId参数缺失 |
| 400 | InvalidPhysicalConnectionId.NotFound | The specified physicalConnection is not found | 无效的参数PhysicalConnectionId |
| 400 | InvalidRegionId.NotFound | The specified RegionId is not found. | 指定的RegionId不存在,请您检查此产品在该地域是否可用。 |
| 400 | IncorrectStatus.PhysicalConnection | The specified PhysicalConnectionId is not in Allocated state. | 指定的PhysicalConnectionId没有处于已分配状态 |
| 400 | OperationUnsupported.SkipConstruction | You can not skip construction. | 不能跳过施工步骤进入下一步 |
| 400 | ResourceNotFound.PhysicalConnection | The specified resource of %s is not found. | 物理专线不存在 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。