Cloning a Catalog Item Version to a Different Compartment

Make a copy of a catalog item version to a different compartment in Oracle Cloud Infrastructure tenancy.

Cloning allows you to efficiently manage access to resources for various groups of users while minimizing the effort required to create new catalog items from scratch.

Suppose you have a catalog item called "Marketing resources" that's assigned to the "Marketing" compartment and has policies set for the marketing team (group of users). You want to create a similar catalog item for the sales team, but with different policies and access requirements. You can clone the "Marketing resources" catalog item, assign it to the "sales" compartment, and update the policies to reflect the sales team's access requirements. This way, you can efficiently manage access to resources for both teams while minimizing the effort required to create new catalog items.

    1. On the Private catalog list page, select the catalog item you want to work with. If you need help finding the list page or the catalog item, see Listing Private Catalog Items.
    2. On the details page, select the Versions tab.
    3. From the Actions menu (Actions Menu) for the catalog item version, select Clone.
    4. In the Clone version dialog box, update the version description and select the compartment from the list where you want the copy of this catalog item version.
      Note

      Ensure you select a different compartment where the cloned version can exist.
    5. Select Clone version.
    Another version of the catalog item is created in a different compartment and you can opt to access it.
  • Use the oci fleet-apps-management fleet-apps-management-catalog catalog-item clone command and required parameters to clone a private catalog item version to a different compartment.

    oci fleet-apps-management fleet-apps-management-catalog catalog-item clone --catalog-item-id <catalog-item_OCID> --compartment-id <compartment_OCID> [OPTIONS]

    For a complete list of flags and variable options for Fleet Application Management CLI commands, see the CLI for Fleet Application Management.

  • Run the CloneCatalogItem operation to clone a private catalog item version to another compartment.