getLoadBalancerRuleList
- 인쇄
- PDF
getLoadBalancerRuleList
- 인쇄
- PDF
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
개요
로드밸런서 리스너에 등록된 규칙 리스트를 조회합니다.
요청
요청 파라미터
파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
---|---|---|---|---|
regionCode | No | String | - 리전 코드 규칙 리스트가 조회될 로드밸런서 인스턴스의 리전(Region) 결정 가능 regionCode는 getRegionList 액션을 통해 획득 가능 Default : getRegionList 조회 결과의 첫 번째 리전을 선택 | |
loadBalancerListenerNo | Yes | String | - 규칙 리스트를 조회할 로드밸런서 리스너 번호 loadBalancerListenerNo는 getLoadBalancerListenerList 액션을 통해 획득 가능 | |
responseFormatType | No | String | - 응답 결과의 포맷 타입 Options : xml | json Default : xml |
응답
응답 데이터 타입
- LoadBalancerRuleList 타입
LoadBalancerRuleList extends CommonResponse |
---|
private Integer totalRows; |
private List |
LoadBalancerRule |
---|
private String loadBalancerListenerNo; |
private String loadBalancerRuleNo; |
private Integer priority; |
private List |
private List |
LoadBalancerRuleCondition |
---|
private CommonCode ruleConditionType; |
private HostHeaderCondition hostHeaderCondition; |
private PathPatternCondition pathPatternCondition; |
HostHeaderCondition |
---|
private HostHeaderList hostHeaderList; |
HostHeaderList |
---|
private List |
PathPatternCondition |
---|
private PathPatternList pathPatternList; |
PathPatternList |
---|
private List |
LoadBalancerRuleAction |
---|
private CommonCode ruleActionType; |
private TargetGroupAction targetGroupAction; |
private RedirectionAction redirectionAction; |
TargetGroupAction |
---|
private List |
private Boolean useStickySession; |
TargetGroupWeight |
---|
private String targetGroupNo; |
private Integer weight; |
RedirectionAction |
---|
private String protocol; |
private String port; |
private String host; |
private String path; |
private String query; |
private String statusCode; |
예시
요청 예시
ncloud vloadbalancer getLoadBalancerRuleList --regionCode FKR --loadBalancerListenerNo ***961
응답 예시
<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>
이 문서가 도움이 되었습니까?