Moving a Data Asset Between Compartments

Move a data asset in Anomaly Detection to a different compartment.

    1. Open the navigation menu and click Analytics & AI. Under AI Services, click Anomaly Detection.
    2. In the left-side navigation menu, click Projects.
    3. Select the compartment that contains the project that you want to create the data asset in.
    4. Click the name of the project.

      The project details page opens.

    5. Under Details, click Data assets.
    6. Click the name of the data asset.
    7. Click Move resource.
    8. Select the new compartment for the data asset, and then click Move resource.
    A notification displays indicating that the data asset is moved to the new compartment successfully. You might notice the data asset status change to Moving. After the move is completed successfully, the data asset status changes back to Active.
  • Use the oci anomaly-detection data-asset change-compartment command and required parameters to change the compartment:

    oci anomaly-detection data-asset change-compartment --compartment-id <compartment-id>.-c [<text>].. [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.

  • Use the ChangeDataAssetCompartment operation to change the compartment for the data asset.