getVpcList
    • PDF

    getVpcList

    • PDF

    기사 요약

    VPC 환경에서 이용 가능합니다.

    Notebook 생성 시, 생성 가능한 VPC를 확인합니다.

    요청

    요청 헤더

    공통 가이드 참조

    요청 바디

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

    응답

    응답 바디

    • JSON
        {
          "contents": [
            {
              "regionNo": 0,
              "vpcName": "string",
              "vpcNo": 0
            }
          ],
          "message": "string",
          "success": true,
          "total": 0
        }
      
    • XML
        <?xml version="1.0" encoding="UTF-8"?>
        <GetVpcListResponse>
            <contents>
                <regionNo>0</regionNo>
                <vpcName>string</vpcName>
                <vpcNo>0</vpcNo>
            </contents>
            <message>string</message>
            <success>true</success>
            <total>0</total>
        </GetVpcListResponse>
      

    오류코드

    DataForest 개요 참조

    예시

    요청 예시

    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 "{}"
    

    응답 예시

    • HTTP

      HTTP StatusDescription
      200OK
    • BASH

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

    이 문서가 도움이 되었습니까?

    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.