Getting Details for the NAT Gateway

Get detailed information for the specified NAT gateway.

A VCN only needs one NAT gateway.
    1. Open the navigation menu, click Networking, and then click Virtual cloud networks.
    2. Click the name of the VCN you're interested in.
    3. Under Resources, click NAT Gateways.
  • Use the network nat-gateway get command and required parameters to get information about the NAT gateway:

    oci network nat-gateway get --nat-gateway-id nat-ocid ... [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the GetNatGateway operation to get information about the NAT gateway.