查询高速通道子网详情

1.接口描述

调用DescribePeerConnectSubnet接口查询高速通道子网详情

2.请求参数

名称 类型 是否必选 说明
Action String 固定取值:DescribePeerConnectSubnet
VpcUUID String 子网标识
PeerConnectUUID String 高速通道标识

3.返回数据

名称 类型 说明
peerConnectSubnetInfo PeerConnectSubnetInfo 高速通道子网详情信息
RequestId String 请求ID

4.示例

请求示例

http://openapi.kaopuyun.com/?AccessKeyId=ix00000kmig1
&Action=DescribePeerConnectSubnet
&Format=JSON
&PeerConnectUUID=p2c-5d000007z42q
&SignatureMethod=HMAC-SHA1
&SignatureNonce=932bcaa1-3f98-488e-8d93-0741e66b9fc8
&SignatureVersion=1.0
&SubnetUUID=vnet-na00000002bq
&Timestamp=2024-06-05T06%3A18%3A48Z
&Version=2014-05-26
&Signature=v%2BxGif0y1%2BjNWAuxFNPXi0JHMWA%3D

正常返回示例

{
    "RequestId": "87a79720-27a1-11ef-b714-fe0295676a93",
    "peerConnectSubnetInfo": {
        "PeerRegionCode": "cn-dev-1",
        "Status": "Connected",
        "PeerConnectionUUID": "p2c-5d000007z42q",
        "VpcId": "vpc-9p000007qpxd",
        "ReceiveType": "Receive",
        "CreateTime": "2024-05-07T17:40:42.000+08:00",
        "VpcName": "系统预设的经典网络",
        "RouteTableInfos": [
            {
                "RouteTableUUID": "rtb-sd000007z5t6",
                "RouteType": "Default",
                "SubnetNumber": 0,
                "RouteTableName": "高速通道路由表",
                "RouteStrategyNumber": 2
            }
        ],
        "GuaranteeBandwidth": 10,
        "ElasticBandwidth": 10,
        "AccountType": "sameAccount",
        "PeerConnectionName": "测试十区-测试十二区高速通道"
    }
}

5.错误码

错误码 错误信息
MissingParameter VpcUUID参数不能为空
MissingParameter PeerConnectUUID参数不能为空
PeerConnectDeleted 高速通道状态为已删除
PeerConnectCreateFailed 高速通道状态为创建失败
VpcDeleted Vpc已被删除
VpcCreateFailed Vpc状态为创建失败
AvailableVpcNotFound 可用的Vpc未找到
AvailablePeerConnectNotFound 高速通道未找到
NoPermission 没有操作权限
AvailableRegionNotFound 找不到可用地域
PeerConnectNotMatchVpc 高速通道与Vpc不匹配
AvailableUserInfoNotFound 找不到用户
DescribePeerConnectSubnetFail 查询高速通道子网详情失败:xxx
kaopuyun all right reserved,powered by GitbookUpdated Time: 2024-10-09 06:22:14

results matching ""

    No results matching ""