Listing VCNs
List the VCNs available in a given compartment.
The console displays a list of VCNs in that compartment. The table is empty if there are no VCNs in that compartment. Use the network vcn list command and required parameters to list the VCNs in a compartment:
oci network vcn list --compartment-id compartment_id [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ListVcns operation to list the VCNs in the currently selected compartment.