Moving a Job Between Compartments

Move a job 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 a job in.
    4. Click the name of the project.

      The project details page opens.

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

    oci anomaly-detection detect-anomaly-job 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 ChangeDetectAnomalyJobCompartment operation to change the compartment for the job.