Add Layer-4 Forwarding Rule

Last updated: 2019-05-07 10:24:48

API Description

This API (BGPIPAddTransRules) is used to add layer-4 forwarding rules to Anti-DDoS Advanced instances.
Protocol: HTTPS
Domain Name: bgpip.api.qcloud.com
API: BGPIPAddTransRules

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 BGPIPAddTransRules.

Parameter Required Type Description
bgpId Yes String Resource ID of the Anti-DDoS instance
vip Yes String IP of the Anti-DDoS Advance instance
protocol Yes String Protocol used in forwarding rules. Only TCP is supported
virtualPort Yes Integer Forwarding port
sourcePort Yes Integer Real server port
ipList Yes String IP list of the real server. Up to 20 IPs allowed for each rule

Response Parameters

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