getLoadBalancerRuleList
- Print
- PDF
getLoadBalancerRuleList
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Can be used in a VPC environment.
Summary
Search list of rules registered in the load balancer listener.
Request
Request Parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region code You can decide the region of load balancer instances where the list of rules will be searched. You can obtain the regionCode through the getRegionList action. Default: Select the first region of the getRegionList search results | |
loadBalancerListenerNo | Yes | String | The load balancer listener number to search the list of rules You can obtain the loadBalancerListenerNo through the getLoadBalancerListenerList action. | |
responseFormatType | No | String | Format type of the response results Options : xml | json Default : xml |
Response
Response body
Example
Request example
GET {API_URL}/getLoadBalancerRuleList
?regionCode=KR
&loadBalancerListenerNo=***961
Response example
<getLoadBalancerRuleListResponse>
<requestId>884a2d69-3fd2-4237-8ae9-b9bce9fc98d4</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<loadBalancerRuleList>
<loadBalancerRule>
<loadBalancerListenerNo>***961</loadBalancerListenerNo>
<loadBalancerRuleNo>***444</loadBalancerRuleNo>
<priority>10000</priority>
<loadBalancerRuleConditionList>
<loadBalancerRuleCondition>
<ruleConditionType>
<code>DEFAULT</code>
<codeName>Default condition</codeName>
</ruleConditionType>
</loadBalancerRuleCondition>
</loadBalancerRuleConditionList>
<loadBalancerRuleActionList>
<loadBalancerRuleAction>
<ruleActionType>
<code>TARGET_GROUP</code>
<codeName>Target Group action</codeName>
</ruleActionType>
<targetGroupAction>
<targetGroupWeightList>
<targetGroupWeight>
<targetGroupNo>***095</targetGroupNo>
<weight>1</weight>
</targetGroupWeight>
</targetGroupWeightList>
<useStickySession>false</useStickySession>
</targetGroupAction>
</loadBalancerRuleAction>
</loadBalancerRuleActionList>
</loadBalancerRule>
</loadBalancerRuleList>
</getLoadBalancerRuleListResponse>
Was this article helpful?