Actions34
- LAN Actions
- NIC Actions
- Firewall Rule Actions
- IP Block Actions
- NAT Gateway Actions
- NAT Gateway Rule Actions
- Flow Log Actions
NAT Gateway → Create
AI-generatedSummary
Create a NAT gateway in a datacenter with specified public IPs and LAN connections.
Inputs
- datacenterId (required) — The unique ID of the datacenter
- natGatewayName (required) — The name of the NAT gateway
- publicIps (required) — Comma-separated list of public IPs for the NAT gateway
- lans (required) — Comma-separated list of LAN IDs to connect to the NAT gateway
Output shape
The API response representing the created NAT gateway
No additional fields from the node's Additional Fields collection are applied during creation, as the implementation uses only the four required parameters.
Examples
Example 1: Create a NAT gateway named 'gw-1' in datacenter 'dc123' with public IPs '1.2.3.4,5.6.7.8' and LAN IDs '10,20'.
datacenterId: 'dc123', natGatewayName: 'gw-1', publicIps: '1.2.3.4,5.6.7.8', lans: '10,20'