GetMetaLb
    • PDF

    GetMetaLb

    • PDF

    Article Summary

    Overview

    Available in the VPC environment.

    Inquire the Load Balancer available on NTM.

    Request

    API URL

    URL: https://vpc-ntm.apigw.ntruss.com/meta/v1/lb
    Method: GET
    

    Request header

    The request header specified in the common setting is required.

    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    
    Parameter NameRequiredTypeConstraintsDescription
    ipNStringString
    regionCodeNStringregionCode, default KR
    pageYIntpage number
    sizeYIntpage size

    Example

    Request example

    GET /meta/v1/server?regionCode=KR
    Host: vpc-ntm.apigw.ntruss.com
    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    

    Response example

    If the inquiry is completed without errors, HTTP code 200 and Load Balancer information are inquired.

    {
      "lbList": [
        {
          "instanceNo": 1803849,
          "loadBalancerName": "test-lb",
          "regionNo": 1,
          "regionCode": "KR",
          "regionName": "Korea",
          "instanceStatusCode": "USED",
          "instanceStatusName": "Running",
          "loadBalancerIpList": [
            "101.101.222.163"
          ],
          "ipTypeCode": "PUBLIC",
          "networkTrafficMonitoringInstanceNo": null,
          "subscribed": false
        }
      ],
      "total": 2
    }
    

    Was this article helpful?

    What's Next
    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.