Actions34
- LAN Actions
- NIC Actions
- Firewall Rule Actions
- IP Block Actions
- NAT Gateway Actions
- NAT Gateway Rule Actions
- Flow Log Actions
NAT Gateway Rule → Update
AI-generatedSummary
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