IONOS Cloud (Infrastructure) icon

IONOS Cloud (Infrastructure)

Manage IONOS Cloud infrastructure resources

Actions140

NAT Gateway → Get

AI-generated

Summary

Retrieve a NAT Gateway by its ID from a specified datacenter in IONOS Cloud.

Inputs

  • datacenterId (required) — ID of the datacenter containing the NAT Gateway.
  • natGatewayId (required) — ID of the NAT Gateway to retrieve.
  • includeRequestStatus — Include request tracking ID and status URL from async operations.
  • includeResponseHeaders — Include HTTP response headers and status code in the output.
  • requestOptions — Advanced request options such as batching, proxy, timeout, and SSL settings.

Output shape

NAT Gateway object; if includeResponseHeaders true, wrapped with body, headers, statusCode; if includeRequestStatus true, includes request tracking fields.

Returned data matches the IONOS Cloud API response for a GET on a NAT Gateway.

Examples

Example 1: Get NAT Gateway details

Provide datacenterId and natGatewayId; optionally enable includeResponseHeaders to see raw HTTP info.

Links

Discussion