getLoadBalancerInstanceList
    • PDF

    getLoadBalancerInstanceList

    • PDF

    Article summary

    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:

    MethodURI
    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.

    FieldTypeRequiredDescription
    regionCodeStringOptionalRegion code of the load balancer instance whose list you want to view
    • First Region of the getRegionList search result (default)
    • Check through getRegionList
    vpcNoStringOptionalVPC number of the load balancer instance whose list you want to view
    loadBalancerTypeCodeStringOptionalLoad balancer type
    • APPLICATION | NETWORK | NETWORK_PROXY
    loadBalancerNetworkTypeCodeStringOptionalLoad balancer network type
    • PUBLIC | PRIVATE
    loadBalancerInstanceNoList.NList<String>OptionalList of numbers of the load balancer instances
    • loadBalancerInstanceNo can be obtained through getLoadBalancerInstanceList
    • <E.g.> loadBalancerInstanceNoList.1=1234&loadBalancerInstanceNoList.2=2345
    pageNoIntegerOptionalPage number in paged results
    pageSizeIntegerConditionalNumber of results to display on a page
    • It is required when entering pageNo
    sortList.N.sortedByStringOptionalSort by
    • loadBalancerName
      • loadBalancerName: load balancer name
    • <E.g.> sortList.1.sortedBy=loadBalancerName
    sortList.N.sortingOrderStringOptionalSort order
    • ASC (default) | DESC
      • ASC: ascending
      • DESC: descending
    • <E.g.> sortList.1.sortingOrder=DESC
    responseFormatTypeStringOptionalResponse result format
    • xml (default) | json

    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?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.