Listing NAT Gateways
List the NAT gateway in a VCN.
- Open the navigation menu , select Networking, and then select Virtual cloud networks.
- Select the name of the VCN you're interested in.
- Under Resources, select NAT Gateways.
Use the network nat-gateway list command and required parameters to list the NAT gateways in a compartment:
oci network nat-gateway list --compartment-id compartment-ocid ... [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ListNatGateways operation to list the NAT gateways in a compartment.