IONOS Cloud Network icon

IONOS Cloud Network

Manage IONOS Cloud Network resources (LANs, NICs, IP Blocks, NAT Gateways, Firewall Rules, Flow Logs). Developped with Love by Ascenzia (ascenzia.fr)

NAT Gateway Rule → Update

AI-generated

Summary

Update protocol, target subnet, or target port range of an existing NAT gateway rule.

Inputs

  • datacenterId (required) — The unique ID of the datacenter
  • natGatewayId (required) — The unique ID of the NAT gateway
  • natGatewayRuleId (required) — The unique ID of the NAT gateway rule

Output shape

updated rule object from IONOS API

Only the fields provided in additionalFields are sent in the PATCH body; unspecified fields are left unchanged.

Examples

Example 1: Change the protocol and target port range of a NAT gateway rule

Set protocol to UDP and target port range 80-443

Links

Discussion