Query forwarding rules associated with a listener.

Request parameters

Name  Type Required  Description
Action  String   Yes The action to perform. Valid value:


RegionId String   Yes The region ID of the SLB instance.
LoadBalancerId String   Yes The ID of the SLB instance.

You can obtain the region ID by calling the DescribeRegions API.

ListenerPort String   Yes The frontend listening port of the SLB instance.

Valid value: 1-65535

Response parameters

Name Type Description
RequestId String The ID of the request.
Rules String A list of rules.
Table 1. Rule
Name  Type Description
RuleId String The ID of the forwarding rule.
RuleName String The name of the forwarding rule.
Domain String The domain name.
Url String The URL.
VServerGroupId String The ID of the target VServer group of the forwarding rule.


Request example


Response example

  • XML format
    <? xml version="1.0" encoding="utf-8"? >
  • JSON format
       "Rules": {
          "Rule ":[
                URL: "/Index ",