描述 UDPN-DescribeUDPN

描述 UDPN

Request Parameters

Parameter nameTypeDescriptionRequired
UDPNIdstring申请到的 UDPN 资源 ID。若为空,则查询该用户在机房所有的专线信息。非默认项目资源,需填写ProjectIdNo
Offsetint列表起始位置偏移量,默认为 0No
Limitint返回数据长度,默认为 20No
ProjectIdstring项目Id,若不填为默认项目IDNo
Regionstring 地域No

Response Elements

Parameter nameTypeDescriptionRequired
RetCodeint操作返回码Yes
Actionstring操作名称Yes
TotalCountint查询到的总数量Yes
DataSetarrayUDPN详情No

UDPNData

Parameter nameTypeDescriptionRequired
UDPNIdstringUDPN 资源短 IDYes
Peer1string可用区域 1Yes
Peer2string可用区域 2Yes
ChargeTypestring计费类型Yes
Bandwidthstring带宽Yes
CreateTimeintunix 时间戳 创建时间Yes
ExpireTimeintunix 时间戳 到期时间Yes

Request Example

http(s)://api.ucloud.cn/?Action=DescribeUDPN
&UDPNId=udpn-uy3qvu
&ProjectId=test

Response Example

{
    "Action": "DescribeUDPNResponse",
    "TotalCount": 5,
    "RetCode": 0,
    "DataSet": [
        {
            "Peer1": "cn-bj2",
            "Peer2": "cn-gd",
            "UDPNId": "udpn-uy3qvu",
            "ExpireTime": 1509465600,
            "Bandwidth": 2,
            "ChargeType": "Month",
            "CreateTime": 1508413095
        }
    ]
}