For the complete documentation index, see llms.txt. This page is also available as Markdown.

update

Update a NAT Gateway Rule

Usage

ionosctl compute natgateway rule update [flags]

Aliases

For natgateway command:

[nat ng]

For rule command:

[r]

For update command:

[u up]

Description

Use this command to update the matching criteria or masquerade IP of an existing SNAT rule. Only the flags you pass are changed; the rest keep their current values.

The same constraints as on create apply: --ip must be a public IP assigned to the parent gateway, and a target port range is only valid for TCP/UDP (not ICMP).

Use --wait (-w) to wait for the resource to reach AVAILABLE state before returning.

Required values to run command:

  • Data Center Id

  • NAT Gateway Id

  • NAT Gateway Rule Id

Options

Examples

Last updated