Actions140
- Application Load Balancer Actions
- Contract Actions
- Datacenter Actions
- Firewall Rule Actions
- Image Actions
- IP Block Actions
- Kubernetes Cluster Actions
- LAN Actions
- Load Balancer Actions
- Location Actions
- NAT Gateway Actions
- Network Load Balancer Actions
- NIC Actions
- Node Pool Actions
- Private Cross-Connect Actions
- Request Actions
- Security Group Actions
- Server Actions
- Snapshot Actions
- Target Group Actions
- Volume Actions
NAT Gateway → Create
AI-generatedSummary
Creates a NAT Gateway in the specified IONOS Cloud datacenter.
Inputs
- datacenterId (required) — The ID of the datacenter where the NAT Gateway will be created.
- name (required) — The name of the NAT Gateway.
- publicIps (required) — Comma-separated list of public IP addresses to assign to the NAT Gateway.
- lans — Comma-separated list of LAN IDs to attach to the NAT Gateway.
- includeRequestStatus — When true, includes the request tracking ID and status URL for asynchronous operations.
- includeResponseHeaders — When true, includes HTTP response headers and status code; the response body is nested under a 'body' key.
- requestOptions — Advanced HTTP options such as batching, SSL settings, proxy, and timeout.
Output shape
object
Returns the created NAT Gateway object. If includeRequestStatus is true, the response includes request tracking fields. If includeResponseHeaders is true, the output contains body, headers, and statusCode keys.