根据ID查询专线详情。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
DedicatedLineId | string | 是 | 专线 ID | space_isp-6dk5xpoyoopr6obf |
InstanceId | string | 是 | 实例 ID | cmn-cn-xxxxx |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "8de935f6-90c7-444e-a2b4-bb4185153435",
"DedicatedLine": {
"DedicatedLineId": "space_isp-6dk5xpoyoopr6obf",
"Isp": "电信",
"Bandwidth": 100,
"DedicatedLineIp": "111.111.xxx.xxx",
"DedicatedLineGateway": "111.111.xxx.xxx",
"DedicatedLineRole": "主",
"DeviceId": "device-evve560juend5owh",
"DevicePort": "GigabitEthernet1/0/0",
"DeviceName": "HZYT_USG6620_A",
"PhysicalSpaceId": "space-ez6zd3w68ma4fsd4",
"Description": "专线备注"
}
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | Missing%s | You must specify the parameter %s. | 必填参数没有填。请检查调用时是否填写了此参数,并重试请求。 |
400 | SignatureDoesNotMatch | 签名不通过 | - |
403 | NoPermission | 没有权限 | - |
404 | Invalid%s.NotFound | The specified resource %s does not exist. | 找不到对应资源 |
404 | ServiceNotFound | 后端服务未找到 | - |
500 | InternalError | 服务器内部错误 | - |
503 | ServiceUnavailable | 服务不可用 | - |
访问错误中心查看更多错误码。