Inspecting Resources

Inspecting resources in a compartment allows you to confirm existence of a resource that you provisioned (by running an apply job) or absence of a resource that you released (by running a destroy job).

For information about apply and destroy jobs, see Creating an Apply Job and Creating a Destroy Job.

    1. In the Console, confirm you're viewing the compartment that contains the resources that you want to inspect.
    2. Go to the page that lists the resources that you want.
      For example, to inspect VCNs: Open the navigation menu, click Networking, and then click Virtual cloud networks.
  • Use the command corresponding to the resources that you want to inspect.

    For example, to inspect VCN resources, use the oci network vcn list command and required parameters.

    oci network vcn list [OPTIONS]

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

  • Use the command corresponding to the resources that you want to inspect.

    For example, use the ListVcns command to inspect VCN resources in the specified compartment.