Add Layer 7 Forwarding Rule

Last updated: 2020-06-09 15:27:37

    Note:

    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new Anti-DDoS Advanced API 3.0 which is standardized and faster.

    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

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help