stratumctl nat-gateways
Manage NAT gateways
stratumctl nat-gateways [flags]Aliases: nat-gateway, natgw, natgws
Subcommands
Section titled “Subcommands”stratumctl nat-gateways create: Create a NAT gateway (returns 202)stratumctl nat-gateways delete: Delete a NAT gatewaystratumctl nat-gateways get: Describe a NAT gatewaystratumctl nat-gateways list: List NAT gateways in a project
stratumctl nat-gateways create
Section titled “stratumctl nat-gateways create”Create a NAT gateway (returns 202)
stratumctl nat-gateways create [flags]Examples
Section titled “Examples”stratumctl nat-gateways create --project p-team-a --vpc vpc-9k2m4x7q --subnet subnet-3k8m2x7q --floating-ip fip-4k8m2x7q9a| Flag | Type | Default | Description |
|---|---|---|---|
--az |
string | Availability zone override | |
--floating-ip |
string | Floating IP ID to use as the egress public IP (required) | |
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) | |
--region |
string | Region override | |
--subnet |
string | Public subnet where the NAT GW lives (required) | |
--vpc |
string | Parent VPC ID (required) |
stratumctl nat-gateways delete
Section titled “stratumctl nat-gateways delete”Delete a NAT gateway
stratumctl nat-gateways delete <natgw-id> [flags]Examples
Section titled “Examples”stratumctl nat-gateways delete natgw-6k2m8x4q7a| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl nat-gateways get
Section titled “stratumctl nat-gateways get”Describe a NAT gateway
stratumctl nat-gateways get <natgw-id> [flags]Examples
Section titled “Examples”stratumctl nat-gateways get natgw-6k2m8x4q7astratumctl nat-gateways get natgw-6k2m8x4q7a --output json| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl nat-gateways list
Section titled “stratumctl nat-gateways list”List NAT gateways in a project
stratumctl nat-gateways list [flags]Examples
Section titled “Examples”stratumctl nat-gateways liststratumctl nat-gateways list --vpc vpc-9k2m4x7q --output json| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) | |
--vpc |
string | Filter by VPC ID |
