Listing Resource Discovery Services

List services that are supported for resource discovery in Resource Manager.

When you create a stack from a compartment, the stack represents all supported resources in the entire compartment, at the appropriate scope. If you select the root compartment for your tenancy, then the scope is the tenancy level, such as users and groups. If you select a non-root compartment, then the scope is compartment level, such as Compute instances.

  • Begin the stack creation process for an existing compartment to view the list of resource discovery services.
    1. Open the navigation menu and click Developer Services. Under Resource Manager, click Stacks.
    2. On the Stacks page, select a compartment.
    3. Click Create stack.
    4. On the Create stack page, under Choose the origin of the Terraform configuration, select Existing compartment.
    5. (Optional) To filter for specific services supported for resource discovery, select Selected and then select the services you want.

      This setting can't be changed when editing the stack later.
    6. (Optional) To finish creating a stack from a compartment, provide values for other fields and click Create.
      For information about the fields, see Creating a Stack from an Existing Compartment.
  • Use the oci resource-manager stack list-resource-discovery-services command and required parameters to list services for resource discovery.

    oci resource-manager stack list-resource-discovery-services [OPTIONS]

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

  • Use the ListResourceDiscoveryServices operation to list services for resource discovery.