doctl compute vpc-nat-gateway update
Generated on 1 Apr 2026
from doctl version
v1.154.0
Usage
doctl compute vpc-nat-gateway update <gateway-id> [flags]Aliases
uFlags
| Option | Description |
|---|---|
--format |
Columns for output in a comma-separated list. Possible values: ID, Name, Type, State, Region, VPC, GatewayIP, Default, Egresses, Timeouts. |
--help, -h |
Help for this command |
--icmp-timeout |
ICMP connection timeout (seconds) Default: 30 |
--name |
Name of the VPC NAT Gateway (required) |
--no-header |
Return raw data with no headers Default: false |
--region |
Gateway region (required) |
--size |
Gateway size Default: 1 |
--tcp-timeout |
TCP connection timeout (seconds) Default: 300 |
--type |
Gateway type Default: PUBLIC |
--udp-timeout |
UDP connection timeout (seconds) Default: 30 |
--vpcs |
Ingress VPCs, takes a kv-pair of Ingress VPC ID and optional ‘default’ to indicate the gateway to be set as default for the VPC (e.g. –vpcs 6df2c5f4-d2da-4bce-b8dc-e9d2b7bd5db6:default,abcd8994-7f1b-4512-bc2e-13d47ca68632) |
Related Commands
| Command | Description |
|---|---|
| doctl compute vpc-nat-gateway | Display commands to manage VPC NAT Gateways |
Global Flags
| Option | Description |
|---|---|
--access-token, -t |
API V2 access token |
--api-url, -u |
Override default API endpoint |
--config, -c |
Specify a custom config file Default: |
--context |
Specify a custom authentication context name |
--http-retry-max |
Set maximum number of retries for requests that fail with a 429 or 500-level error
Default: 5 |
--http-retry-wait-max |
Set the minimum number of seconds to wait before retrying a failed request
Default: 30 |
--http-retry-wait-min |
Set the maximum number of seconds to wait before retrying a failed request
Default: 1 |
--interactive |
Enable interactive behavior. Defaults to true if the terminal supports it (default false)
Default: false |
--output, -o |
Desired output format [text|json] Default: text |
--trace |
Show a log of network activity while performing a command Default: false |
--verbose, -v |
Enable verbose output Default: false |