IONOS Cloud (Infrastructure) icon

IONOS Cloud (Infrastructure)

Manage IONOS Cloud infrastructure resources

Actions140

NAT Gateway → Create

AI-generated

Summary

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.

Links

Discussion