Creates a forwarding route for a domain name.

Request parameters

Name Type Required Description
Domain String Yes The domain name to be operated.
Ips List Yes The list of Anti-DDoS Pro IP addresses to associate with the domain name.
RealServer List Yes The list of origin servers. Depending on the value of Type, you can specify an IP address or domain name for the origin server.
Type String Yes The origin server type. Value:
  • IP
  • DOMAIN

Response parameters

Name Type Description
RequestId String The unique identifier (ID) for this request.

Example

Request example
https://ddospro.cn-hangzhou.aliyuncs.com/?Action=CreateTransmitLine
&Domain=www.aliyun.com
&Ips=["1.1.1.1", "2.2.2.2"]
&RealServer=["1.1.1.1", "2.2.2.2"]
&Type=IP
&public parameters
Response example
  • JSON format
    {
    	"RequestId": "C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E"
    }