VPC Overview

Prev Next

Can be used in a VPC environment.

Overview

NAVER Cloud Platform is a cloud service built with NAVER's latest computing technology and operational know-how.
Among the many product groups provided by NAVER Cloud Platform, the set of application programming interfaces (APIs) that allow you to use solution products is called NAVER Cloud Platform API.
NAVER Cloud Platform API is provided in the RESTful format.
It is done through GET/POST method calls in HTTP.

Common VPC settings

The following describes commonly used request and response formats in VPC APIs.

Request

The following describes the common request format.

API URL

The request API URL is as follows:

https://ncloud.apigw.ntruss.com

Request headers

The following describes the request headers.

Field Required Description
x-ncp-apigw-timestamp Required This is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC.
  • Request is considered invalid if the timestamp differs from the current time by more than 5 minutes.
  • Unix timestamp format.
x-ncp-iam-access-key Required Access key issued on NAVER Cloud Platform
x-ncp-apigw-signature-v2 Required Base64-encoded signature that encrypts the request information with a secret key that maps to the access key issued on NAVER Cloud Platform, using the HMAC encryption algorithm (HmacSHA256)

Response

The following describes the common response format.

Response status codes

VPC APIs use NAVER Cloud Platform's common response status codes. For information about the HTTP status codes common to all NAVER Cloud Platform, see Ncloud API response status codes.

Operations

VPC Management

API name Description
getVpcList Gets VPC list
getVpcDetail Gets VPC details by using a VPC number.
createVpc Creates VPC.
deleteVpc Deletes VPC.

Subnet Management

API name Description
getSubnetList Gets the list of subnets.
getSubnetDetail Gets the subnet details using a subnet number.
createSubnet Creates subnet.
deleteSubnet Deletes subnet.

Network ACL

API name Description
getNetworkAclList Gets the network ACL list.
getNetworkAclDetail Gets the network ACL details using the network ACL number.
createNetworkAcl Creates network ACL.
deleteNetworkAcl Deletes network ACL.
setSubnetNetworkAcl Sets a subnet's network ACL.
getNetworkAclRuleList Gets a network ACL rule list using the network ACL number.
addNetworkAclInboundRule Adds the network ACL inbound rule list.
addNetworkAclOutboundRule Adds the network ACL outbound rule list.
removeNetworkAclInboundRule Removes the network ACL inbound rule list.
removeNetworkAclOutboundRule Removes the network ACL outbound rule list.
setNetworkAclDescription Edits the network ACL description.
getNetworkAclDenyAllowGroupList Gets the network ACL's Deny-Allow group list.
getNetworkAclDenyAllowGroupDetail Gets the network ACL's Deny-Allow group details using the Deny-Allow group number.
createNetworkAclDenyAllowGroup Creates network ACL's Deny-Allow group.
deleteNetworkAclDenyAllowGroup Deletes network ACL's Deny-Allow group.
setNetworkAclDenyAllowGroupIpList Sets the IP list of network ACL's Deny-Allow groups.
setNetworkAclDenyAllowGroupDescription Edits the description of network ACL's Deny-Allow groups.

NAT Gateway

API name Description
getNatGatewayInstanceList Gets NAT Gateway instance list
getNatGatewayInstanceDetail Gets NAT Gateway instance details using the NAT Gateway instance number.
createNatGatewayInstance Creates NAT Gateway instance.
deleteNatGatewayInstance Deletes NAT Gateway instance.
setNatGatewayDescription Edits NAT Gateway description.

VPC Peering

API name Description
getVpcPeeringInstanceList Gets VPC peering instance list.
getVpcPeeringInstanceDetail Gets VPC peering instance details using the VPC peering instance number.
createVpcPeeringInstance Creates VPC peering instance through peering request.
deleteVpcPeeringInstance Deletes VPC peering instance.
acceptOrRejectVpcPeering Accepts or rejects VPC peering request.
setVpcPeeringDescription Edits VPC peering description.

Route Table

API name Description
getRouteTableList Gets routing table list.
getRouteTableDetail Gets routing table details using a routing table number.
createRouteTable Creates routing table.
deleteRouteTable Deletes routing table.
getRouteList Gets route list set in a routing table.
addRoute Adds route list to a routing table.
removeRoute Removes route list set in a routing table.
The route set as default can't be removed.
getRouteTableSubnetList Gets related subnet list set in a routing table.
addRouteTableSubnet Adds related subnet list to a routing table.
removeRouteTableSubnet Removes related subnet list from a routing table.
setRouteTableDescription Edits routing table description.