查询高速通道详情
1.接口描述
调用DescribePeerConnectDetail接口查询指定高速通道的信息
2.请求参数
名称 | 类型 | 是否必选 | 描述 |
---|---|---|---|
Action | String | 是 | 固定取值:DescribePeerConnectDetail |
RegionCode | String | 是 | 要查询的地域,您可以调用 DescribeRegionConfig 查看最新的地域列表 |
PeerConnectUUID | String | 是 | 高速通道资源UUID |
3.返回数据
名称 | 类型 | 说明 |
---|---|---|
peerConnectInfo | PeerConnectInfo | 高速通道信息 |
RequestId | String | 请求ID |
4.示例
请求示例
http://openapi.kaopuyun.com/?AccessKeyId=ix00000kmig1
&Action=DescribePeerConnectDetail
&Format=JSON
&PeerConnectUUID=p2c-5d000007z42q
&RegionCode=cn-dev-2
&SignatureMethod=HMAC-SHA1
&SignatureNonce=36a0f8a8-7fd2-422e-93da-261db493f6bc
&SignatureVersion=1.0
&Timestamp=2024-05-28T07%3A32%3A10Z
&Version=2014-05-26
&Signature=wkpq7RYc5rHsMjo9YJ2b029cBEg%3D
正常返回示例
{
"peerConnectInfo": {
"PeerFullName": "xxxxxxxx公司",
"RegionCode": "cn-dev-1",
"AutoRenew": "Infinite",
"PeerUserId": 114008834,
"PeerVpcUUID": "vpc-9p000007qpxc",
"GuaranteeBandwidth": 10,
"InArrearage": false,
"ReceiveType": "Send",
"VpcUUID": "vpc-na00000002br",
"Status": "Connected",
"PeerConnectionUUID": "p2c-5d000007z42q",
"UserName": "pm_test",
"CreateTime": "2024-05-10T17:51:45.000+08:00",
"ResourceType": "P2PConnect",
"AccountType": "sameAccount",
"PendingStatus": "None",
"PeerRegionCode": "cn-dev-2",
"BandwidthItem": "PostPaidMonthMax",
"PeerReceiveType": "Receive",
"ChargeType": "HybridPaid",
"UserId": 114008834,
"FullName": "xxxxxxxxxx公司",
"ElasticBandwidth": 10,
"ExpireTime": "2024-08-31T23:59:59.000+08:00",
"PeerConnectionName": "测试十区-测试十二区高速通道",
"PeerUserName": "pm_test"
},
"RequestId": "066d13e0-224e-11ef-a81c-d24bbf2655d0"
}
5.错误码
错误码 | 错误信息 |
---|---|
MissingParameter | RegionCode参数不能为空 |
MissingParameter | PeerConnectUUID参数不能为空 |
PeerConnectCreateFailed | 本高速通道状态为创建失败 |
AvailablePeerConnectNotFound | 可用的高速通道未找到 |
NoOperationAuthority | 无操作权限 |
PeerConnectHasDeleted | 本高速通道状态为已删除 |
AvailableRegionNotFound | 可用的地域未找到 |
DescribePeerConnectDetailFail | 查询高速通道列表失败:xxx |