ncloud_create_nat_gateway
Create a NAT Gateway in a VPC to provide outbound internet access for private resources. Supports public and private subnet types with flexible IP assignment.
Instructions
Create a new NAT Gateway instance in a VPC. Supports both Public (PBLIP) and Private (PRVT) types.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"vpcNo": "<vpcNo>",
"zoneCode": "<zoneCode>"
},
"name": "ncloud_create_nat_gateway"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vpcNo | Yes | VPC number to create NAT Gateway in (from getVpcList) | |
| subnetNo | No | NATGW-type subnet number. If NULL, creates a PUBLIC-type NATGW subnet automatically. If specified, creates NAT Gateway according to the subnet's subnetTypeCode (PUBLIC or PRIVATE). | |
| zoneCode | Yes | Zone code (e.g., KR-1, KR-2) | |
| privateIp | No | Private IP address. Ignored for PUBLIC subnet type. For PRIVATE subnet: auto-assigned if NULL, created with specified IP if provided. | |
| natGatewayName | No | NAT Gateway name (3-30 chars, English letters/numbers/hyphens, must start with letter and end with letter or number) | |
| publicIpInstanceNo | No | Public IP instance number. Ignored for PRIVATE subnet type. For PUBLIC subnet: auto-created if NULL, assigned if specified. | |
| natGatewayDescription | No | Description for the NAT Gateway (max 1000 bytes) |