edit-icon download-icon

DescribeRuleAttribute

Last Updated: Apr 12, 2018

Description

Query the detailed configurations of the specified forwarding rule.

Request parameters

Name Type Required Description
Action String Yes

System required parameter.

Valid value: DescribeRuleAttribute

RegionId String Yes The region ID of the Server Load Balancer instance.
RuleId String Yes The ID of the forwarding rule.

Response parameters

Name Type Description
RequestId String The ID of the request.
RuleName String The name of the forwarding rule.
LoadBalancerId String The ID of the Server Load Balancer instance.
ListenerPort Integer The front-end listening port used by the Server Load Balancer instance.
Domain String The domain name in the forwarding rule.
Url String The URL in the forwarding rule.
VServerGroupId String The ID of the VServer group associated with the forwarding rule.

Examples

Request Example

  1. https://slb.aliyuncs.com/?<Common parameters>
  2. &Action=DescribeRuleAttribute
  3. &RegionId=cn-east-hangzhou-01
  4. &RuleId=rule-3ejhktkaeu

Response Example

  • XML format

    1. <?xml version="1.0" encoding="utf-8"?>
    2. <DescribeRuleAttribute>
    3. <RequestId>9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C</RequestId>
    4. <RuleName>Rule1</RuleName>
    5. <LoadBalancerId>152a602e315-cn-beijing-btc-a01</LoadBalancerId>
    6. <ListenerPort>80</ListenerPort>
    7. <Domain>abc.com</Domain>
    8. <Url>/cache</Url>
    9. <VServerGroupId>rsp-cige6j5e7p</VServerGroupId>
    10. </DescribeRuleAttribute>
  • JSON format

    1. {
    2. "RequestId":"9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C",
    3. "RuleName":"Rule1",
    4. "LoadBalancerId":"152a602e315-cn-beijing-btc-a01",
    5. "ListenerPort":"80",
    6. "Domain":"abc.com",
    7. "Url":"/cache",
    8. "VServerGroupId":"rsp-cige6j5e7p"
    9. }
Thank you! We've received your feedback.