GetMetaVpc
- Print
- PDF
GetMetaVpc
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Overview
Available in the VPC environment.
Inquire VPCs available on NTM.
Request
API URL
URL: https://vpc-ntm.apigw.ntruss.com/meta/v1/vpc
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 |
---|---|---|---|---|
vpcName | N | String | VPC Name Prefix | |
regionCode | N | String | region code, default KR |
Example
Request example
GET /meta/v1/vpc?vpcName=v®ionCode=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 VPC information are inquired.
[
{
"vpcNo": 458,
"vpcName": "vpc-sample",
"vxlanNo": 136,
"regionNo": 1,
"createdDate": 1594274878191,
"ipv4Cidr": "10.0.0.0/16",
"statusCode": "RUN",
"statusName": "Running"
}
]
Was this article helpful?