调用DescribeSupportLines查询云解析支持的所有线路列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeSupportLines |
系统规定参数。取值:DescribeSupportLines。 |
Lang | String | 否 | en |
语言。 |
UserClientIp | String | 否 | 1.1.1.1 |
用户端IP。 |
DomainName | String | 否 | example.com |
域名名称。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | CFDA0830-7D6E-4C13-8632-B57C7EDCF079 |
请求ID。 |
RecordLines | Array |
云解析线路列表。 |
|
LineCode | String | cn_unicom_shanxi |
子线路Code。 |
FatherCode | String | unicom |
父线路Code,如果没有则为空。 |
LineName | String | 山西 |
子线路展示名称。 |
LineDisplayName | String | 联通_山西 |
父线路展示名称。 |
示例
请求示例
http(s)://alidns.aliyuncs.com/?Action=DescribeSupportLines
&<公共请求参数>
正常返回示例
XML
格式
<DescribeSupportLinesResponse>
<RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>
<RecordLines>
<RecordLine>
<LineCode>cn_unicom_heilongjiang</LineCode>
<LineName>黑龙江</LineName>
<LineDisplayName>联通_黑龙江</LineDisplayName>
</RecordLine>
</RecordLines>
</DescribeSupportLinesResponse>
JSON
格式
{
"RequestId": "CFDA0830-7D6E-4C13-8632-B57C7EDCF079",
"RecordLines": {
"RecordLine": [
{
"LineDisplayName": "默认",
"LineName": "默认",
"LineCode": "default"
},
{
"LineDisplayName": "联通",
"LineName": "联通",
"LineCode": "unicom"
},
{
"LineDisplayName": "联通_山西",
"LineName": "山西",
"FatherCode": "unicom",
"LineCode": "cn_unicom_shanxi"
}
]
}
}
错误码
访问错误中心查看更多错误码。
在文档使用中是否遇到以下问题
更多建议
匿名提交