Oracle Cloud Infrastructure Documentation

Viewing All Resources in a Compartment

This topic describes how you can use the compartment explorer to get a cross-region view of all resources in a compartment.

Compartment Explorer Overview

The compartment explorer allows you to view all your resources in a specific compartment, across all regions. You can also easily navigate up and down the compartment hierarchy to get the complete view of the resources in a specific compartment tree. From the compartment explorer you can navigate directly to resources, providing an alternative interface to access the resources in each compartment. The compartment explorer also allows you to move a resource to a different compartment.

The following image highlights these features:

Features of the compartment explorer

When using the compartment explorer, be aware of the following:

  • If you recently created a resource, it might not show up in the compartment explorer immediately. Similarly, if you recently updated a resource, your changes might not immediately appear.
  • To navigate to the details page of a resource or to move it to another compartment, you must be in the same region as the resource. The compartment explorer displays the resource's region. Use the region selector at the top of the Console to change to the same region as the resource to enable these actions.

Resources Supported by the Compartment Explorer

The compartment explorer is powered by the Search service and supports the same resource types. Most resources are supported.

Supported resources

Required IAM Policy to View Resources in the Compartment Explorer

The resources that you see in the compartment explorer depend on the permissions you have in place for the resource type. You do not necessarily see results for everything in the compartment. For example, if your user account is not associated with a policy that grants you the ability to, at a minimum, inspect the dbsystem resource type, then you will not be able to view DB systems in the compartment explorer. (The verb inspect lets you list and get resources.) For more information about policies, see How Policies Work. For information about the permissions required for the list API operation for a specific resource type, see the Policy Reference for the appropriate service.

Navigating to the Compartment Explorer and Viewing Resources

Open the navigation menu. Under Governance and Administration, go to Governance and click Compartment Explorer.

When you open the compartment explorer, the list of all resources that you have permission to view is displayed. The compartment explorer opens with a view of the root compartment. The Name and Description of the compartment you are viewing are displayed at the top of the page.

To navigate to the compartment you are interested in, use the compartment picker on the left of the Console page.

Filtering Displayed Resources

To view only specific resource types, select the resource types you are interested in from the Filter by resource type menu. You can select multiple resources to include in the filtered list.

Opening the Resource Details Page

To open the details page for a resource:

  1. Locate the resource in the list.
  2. Verify that you are in the same region as the resource. The resource's region is listed in the compartment explorer results. If it is not the same as the region you are currently in (shown at the top of the Console), then select the appropriate region from the Regions menu.
  3. To open the details page, you can either:

    • Click the name.
    • Click the the Actions icon (three dots) and select View Details.

Detail page navigation is not supported for all resource types. If detail page navigation is not supported, the resource name does not display as a link and the option is not available from the Action menu.

Moving a Resource to a Different Compartment

To move a resource to a different compartment:

  1. Locate the resource in the list.
  2. Verify that you are in the same region as the resource. The resource's region is listed in the compartment explorer results. If it is not the same as the region you are currently in (shown at the top of the Console), then select the appropriate region from the Regions menu.
  3. Click the the Actions icon (three dots) and select Move Resource.
  4. In the dialog, choose the destination compartment from the list.
  5. Click Move Resource.

Important

Ensure that you understand the impact for a resource before you move it. See the resource's service documentation for details.

Not all resources can be moved to a different compartment. If the resource cannot be moved, the option is not available from the Action menu.