Calls the DescribeSupportLines operation to query all of the resolution lines supported by Alibaba Cloud DNS.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeSupportLines

The operation that you want to perform. Set the value to DescribeSupportLines.

AccessKeyId String No your_accesskey_id

The AccessKey ID provided to you by Alibaba Cloud.

DomainName String No example.com

The domain name.

Lang String No en

The language type.

UserClientIp String No 1.1.1.1

The IP address of the client.

Response parameters

Parameter Type Example Description
RecordLines Array

The list of Alibaba Cloud DNS lines.

RecordLine

Details about an Alibaba Cloud DNS line.

FatherCode String unicom

The code of the parent line. Leave it blank if there is no parent line.

LineCode String cn_unicom_shanxi

The code of the child line.

LineDisplayName String cn_unicom_shanxi

The name of the parent line.

LineName String shanxi

The name of the child line.

RequestId String CFDA0830-7D6E-4C13-8632-B57C7EDCF079

The ID of the request.

Examples

Sample requests

http(s)://alidns.aliyuncs.com/?Action=DescribeSupportLines&<Common request parameters>

Sample success responses

XML format

<DescribeSupportLinesResponse>      <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>      <RecordLines>             <RecordLine>                     <LineCode>cn_unicom_heilongjiang</LineCode>                     <LineName>heilongjiang</LineName>                     <LineDisplayName>cn_unicom_heilongjiang</LineDisplayName>             </RecordLine>      </RecordLines></DescribeSupportLinesResponse>

JSON format

{    “RecordLines”:{        “RecordLine”:[            {                “LineDisplayName”:”default”,                “LineName”:”default”,                “LineCode”:”default”            },            {                “LineDisplayName”:”unicom”,                “LineName”:”unicom”,                “LineCode”:”unicom”            },            {                “LineDisplayName”:”cn_unicom_shanxi”,                “LineName”:”shanxi”,                “LineCode”:”cn_unicom_shanxi”,                “FatherCode”:”unicom”            }        ]    },    “RequestId”:”CFDA0830-7D6E-4C13-8632-B57C7EDCF079”}

Error codes

For a list of error codes, visit the API Error Center.

     </article>
  </main>