createVpc
    • PDF

    createVpc

    • PDF

    Article Summary

    Can be used in a VPC environment.

    Overview

    Create a VPC.

    Request

    Request parameters

    Parameter nameRequiredTypeRestrictionsDescription
    regionCodeNoStringRegion code
    You can decide the region in which a VPC will be created.
    regionCode can be obtained through the getRegionList action.
    Default: Select the first region of the getRegionList search results
    vpcNameNoStringMin : 3, Max : 30
    Only lower case characters, numbers, and special character (-) are allowed, and it has to start with an English letter.
    It must end with an English letter or number.
    The name of the VPC to be created
    Default: NAVER Cloud Platform automatically grants it.
    ipv4CidrBlockYesStringIt must be in the range of /16 to /28 within the private bandwidth (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16).The IP address range of the VPC to be created
    responseFormatTypeNoStringFormat type of the response results
    Options : xml | json
    Default : xml

    Response

    Response body

    Example

    Request Example

    GET {API_URL}/vpc/v2/createVpc
    ?regionCode=KR
    &vpcName=test-***
    &ipv4CidrBlock=***.***.0.0/16
    

    Response Example

    <createVpcResponse>
      <requestId>21a29c59-3139-4c23-9f92-10c1fddafef6</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <vpcList>
        <vpc>
          <vpcNo>***04</vpcNo>
          <vpcName>test-***</vpcName>
          <ipv4CidrBlock>***.***.0.0/16</ipv4CidrBlock>
          <vpcStatus>
            <code>INIT</code>
            <codeName>init</codeName>
          </vpcStatus>
          <regionCode>KR</regionCode>
          <createDate>2020-07-27T17:17:05+0900</createDate>
        </vpc>
      </vpcList>
    </createVpcResponse>
    

    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.