Listing Subnets
List the subnets available in a given VCN.
Use the network subnet list command and required parameters to list the subnets in a compartment:
oci network subnet list --compartment-id ocid ... [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ListSubnets operation to list the subnets in a VCN.