getLoadBalancerInstanceList
- Print
- PDF
getLoadBalancerInstanceList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
View the list of load balancer instances based on the conditions the user specifies.
Request
The following describes the request format for the endpoint. The request format is as follows:
Method | URI |
---|---|
GET | /getLoadBalancerInstanceList |
Request headers
For headers common to all Load Balancer APIs, see Load Balancer common headers.
Request query parameters
The following describes the parameters.
Field | Type | Required | Description |
---|---|---|---|
regionCode | String | Optional | Region code of the load balancer instance whose list you want to view
|
vpcNo | String | Optional | VPC number of the load balancer instance whose list you want to view
|
loadBalancerTypeCode | String | Optional | Load balancer type
|
loadBalancerNetworkTypeCode | String | Optional | Load balancer network type
|
loadBalancerInstanceNoList.N | List<String> | Optional | List of numbers of the load balancer instances
|
pageNo | Integer | Optional | Page number in paged results |
pageSize | Integer | Conditional | Number of results to display on a page
|
sortList.N.sortedBy | String | Optional | Sort by
|
sortList.N.sortingOrder | String | Optional | Sort order
|
responseFormatType | String | Optional | Response result format
|
Request example
The following is a sample request.
curl --location 'https://ncloud.apigw.ntruss.com/vloadbalancer/v2/getLoadBalancerInstanceList
?regionCode=KR
&vpcNo=*****
&loadBalancerTypeCode=APPLICATION
&loadBalancerNetworkTypeCode=PRIVATE
&loadBalancerInstanceNoList.1=********'
--header 'x-ncp-apigw-timestamp: {Timestamp}'
--header 'x-ncp-iam-access-key: {Access Key}'
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
Response
The following describes the response format.
Response body
See LoadBalancerInstanceList for the response body.
Response status codes
For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.
Response example
The following is a sample response.
<getLoadBalancerInstanceListResponse>
<requestId>b946dee5-4699-43b8-8e85-2e409d689166</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<loadBalancerInstanceList>
<loadBalancerInstance>
<loadBalancerInstanceNo>********</loadBalancerInstanceNo>
<loadBalancerInstanceStatus>
<code>USED</code>
<codeName>LB USED state</codeName>
</loadBalancerInstanceStatus>
<loadBalancerInstanceOperation>
<code>NULL</code>
<codeName>LB NULL OP</codeName>
</loadBalancerInstanceOperation>
<loadBalancerInstanceStatusName>Running</loadBalancerInstanceStatusName>
<loadBalancerDescription></loadBalancerDescription>
<createDate>2024-06-03T17:09:52+0900</createDate>
<loadBalancerName>YOUR_LOAD_BALANCER</loadBalancerName>
<loadBalancerDomain>***.com</loadBalancerDomain>
<loadBalancerIpList>
<loadBalancerIp>**.*.*.*</loadBalancerIp>
</loadBalancerIpList>
<loadBalancerType>
<code>APPLICATION</code>
<codeName>Application Load Balancer</codeName>
</loadBalancerType>
<loadBalancerNetworkType>
<code>PRIVATE</code>
<codeName>Private</codeName>
</loadBalancerNetworkType>
<throughputType>
<code>SMALL</code>
<codeName>Small</codeName>
</throughputType>
<idleTimeout>60</idleTimeout>
<vpcNo>*****</vpcNo>
<regionCode>KR</regionCode>
<subnetNoList>
<subnetNo>******</subnetNo>
</subnetNoList>
<loadBalancerSubnetList>
<loadBalancerSubnet>
<zoneCode>KR-1</zoneCode>
<subnetNo>******</subnetNo>
<publicIpInstanceNo></publicIpInstanceNo>
</loadBalancerSubnet>
</loadBalancerSubnetList>
<loadBalancerListenerNoList>
<loadBalancerListenerNo>******</loadBalancerListenerNo>
</loadBalancerListenerNoList>
</loadBalancerInstance>
</loadBalancerInstanceList>
</getLoadBalancerInstanceListResponse>
Was this article helpful?