GetMetaLb
- Print
- PDF
GetMetaLb
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
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 Name | Required | Type | Constraints | Description |
---|---|---|---|---|
ip | N | String | String | |
regionCode | N | String | regionCode, default KR | |
page | Y | Int | page number | |
size | Y | Int | page 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?