Can be used in a VPC environment.
Summary
Search list of listeners registered in the load balancer.
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 listeners will be searched. - You can obtain the regionCode through the getRegionList action. - Default: Select the first region of the getRegionList search results |
|
| loadBalancerInstanceNo | Yes | String | The load balancer instance number to search the list of listeners - You can obtain the loadBalancerInstanceNo through the getLoadBalancerInstanceList action. |
|
| responseFormatType | No | String | Format type of the response results - Options : xml | json - Default : xml |
Response
Response data type
- LoadBalancerListenerList type
| LoadBalancerListenerList extends CommonResponse |
|---|
| private Integer totalRows; |
| private List |
| LoadBalancerListener |
|---|
| private String loadBalancerInstanceNo; |
| private String loadBalancerListenerNo; |
| private CommonCode protocolType; |
| private Integer port; |
| private Boolean useHttp2; |
| private String sslCertificateNo; |
| private CommonCode tlsMinVersionType; |
| private LoadBalancerRuleNoList loadBalancerRuleNoList; |
| private CipherSuiteList cipherSuiteList; |
| LoadBalancerRuleNoList |
|---|
| private List<String> loadBalancerRuleNoList = new ArrayList<>(); |
| CipherSuiteList |
|---|
| private List<String> cipherSuiteList = new ArrayList<>(); |
Example
Request example
ncloud vloadbalancer getLoadBalancerListenerList --regionCode KR --loadBalancerInstanceNo ***887
Response example
<getLoadBalancerListenerListResponse>
<requestId>55fc050c-3006-4472-bd96-2cb3b1547a53</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<loadBalancerListenerList>
<loadBalancerListener>
<loadBalancerInstanceNo>***887</loadBalancerInstanceNo>
<loadBalancerListenerNo>***961</loadBalancerListenerNo>
<protocolType>
<code>HTTP</code>
<codeName>HTTP protocol</codeName>
</protocolType>
<port>80</port>
<useHttp2>false</useHttp2>
<sslCertificateNo></sslCertificateNo>
<tlsMinVersionType/>
<loadBalancerRuleNoList>
<loadBalancerRuleNo>***444</loadBalancerRuleNo>
</loadBalancerRuleNoList>
<cipherSuiteList/>
</loadBalancerListener>
</loadBalancerListenerList>
</getLoadBalancerListenerListResponse>