getVpcList
    • PDF

    getVpcList

    • PDF

    Article summary

    Available in VPC

    View the VPC types that can be created when creating Notebooks.

    Requests

    Request headers

    See common guide.

    Request bodies

    • JSON
      {}
      
    • XML
        <?xml version="1.0" encoding="UTF-8"?>
        <!-- XML example cannot be generated; root element name is undefined -->
      

    Errors

    HTTP StatusDescription
    400invalid request parameters
    403not allowed to access
    404no such element
    500unexpected error

    Examples

    Request Examples

    POST https://df.apigw.ntruss.com/api/v2/notebooks/getVpcList
    HOST: df.apigw.ntruss.com
    Content-Type: application/json
    x-ncp-apigw-signature-v2: Azm1WBMWDgEONUCUbsVkB4tRIpc053uOHU8bitbQRtU=
    x-ncp-apigw-timestamp: 1658898041497
    x-ncp-iam-access-key: F5O55GOTR4CqYJqPDnCu
    
    curl -X POST "https://df.apigw.ntruss.com/api/v2/notebooks/getVpcList" \
    -H "accept: application/json" \
    -H "Content-Type: application/json" \
    -H "x-ncp-iam-access-key: F5O55GOTR4CqYJqPDnCu" \
    -H "x-ncp-apigw-timestamp: 1684742591846" \
    -H "x-ncp-apigw-signature-v2: A044wbqEzU0gtEHWxtkP94d47KcmUXFE79Re+19wOSM=" \
    -d "{}"
    

    Response examples

    • HTTP

      HTTP StatusDescription
      200OK
    • BASH

      {
          "success": true,
          "total": 2,
          "contents": [
              {
              "vpcNo": 9166,
              "vpcName": "vpc2",
              "regionNo": 1
              },
              {
              "vpcNo": 8717,
              "vpcName": "test-vpc",
              "regionNo": 1
              }
              ]
          }
      
    
    

    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.