Moving a Model Between Compartments

Move a model 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 with the models that you want to view.
    4. Click the name of the project.

      The project details page opens.

    5. Under Details, click Models.

      The models in the project are displayed in the Anomaly detection models table.

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

    oci anomaly-detection model 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 ChangeModelCompartment operation to change the compartment for the model.