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 → Get
AI-generatedSummary
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.