Add Layer 7 Forwarding Rule

Last updated: 2019-05-07 10:25:07

PDF

API Description

This API (BGPIPAddWadTransRules) is used to add layer-7 forwarding rules to an Anti-DDoS Advanced instance.
Protocol: HTTPS
Domain Name: bgpip.api.qcloud.com
API: BGPIPAddWadTransRules

Request Parameters

Below is a list of API request parameters. You need to add common request parameters to your request when calling this API. For more information, see Common Request Parameters. The Action field for this API is BGPIPAddWadTransRules.

Parameter Required Type Description
bgpId Yes String Resource ID of the Anti-DDoS Advanced instance
vip Yes String IP of the Anti-DDoS Advanced instance
protocol Yes String IP protocol of forwarding rules. Only TCP is supported
virtualPort Yes Integer Forwarding port
sourcePort Yes Integer Real server port
ipList Yes String a list of IPs or domain names of the real server. A rule can contain a maximum of 20 IPs, which are separated with semicolons
certType No Integer Certificate type. Always enter 1
cert No String Certificate content
privateKey No String Certificate private key

Response Parameters

Parameter Example Type Description
ruleId rule-000001 String ID of the forwarding rule