Queries a custom line.

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 DescribeCustomLine

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

Lang String No en

The language type.

LineId Long No 597

The unique ID of the custom line.

Response parameters

Parameter Type Example Description
RequestId String B57C121B-A45F-44D8-A9B2-13E5A5044195

The ID of the request.

Id Long 597

The unique ID of the custom line.

Code String hra0yc-597

The code of the custom line. The code is used when you configure a resolution record.

Name String Beijing

The name of the custom line.

IpSegmentList Array N/A

The list of CIDR blocks.

EndIp String 11.1.1.3

The end IP address.

StartIp String 11.1.1.2

The start IP address.

DomainName String example.com

The domain name for which the custom line is configured.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeCustomLine
&LineId=597
&<Common request parameters>

Sample success responses

XML format

<DescribeCustomLineResponse>
  <domainName>customline.taobao</domainName>
  <id>598</id><code>hra0yc-597</code><ipSegmentList>
        <endIp>12.2.2.3</endIp>
        <startIp>11.1.1.2</startIp>
  </ipSegmentList>
  <name>secLine</name>
  <requestId>B57C121B-A45F-44D8-A9B2-13E5A5044195</requestId>
</DescribeCustomLineResponse>

JSON format

{
	"id":598,
	"requestId":"B57C121B-A45F-44D8-A9B2-13E5A5044195",
	"name":"secLine",
	"domainName":"customline.taobao",
	"ipSegmentList":[
		{
			"startIp":"11.1.1.2",
			"endIp":"12.2.2.3"
		}
	],
	"code":"hra0yc-597"
}

Error codes

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