GetMetaVpc
    • PDF

    GetMetaVpc

    • PDF

    Article Summary

    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 NameRequiredTypeConstraintsDescription
    vpcNameNStringVPC Name Prefix
    regionCodeNStringregion code, default KR

    Example

    Request example

    GET /meta/v1/vpc?vpcName=v&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 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?

    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.