Moving a Private Endpoint Between Compartments

Move a private endpoint in Anomaly Detection to a different compartment.

    1. Open the navigation menu and click Analytics & AI. Under AI Services, click Anomaly Detection.
    2. Click Private endpoints.

      The private endpoints in the project are displayed in the Private endpoints table.

    3. Select that compartment that contains the private endpoints that you want to move.
    4. Click the name of the private endpoint.

      The private endpoint details page opens.

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

    oci anomaly-detection pe 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 ChangeAiPrivateEndpointCompartment operation to change the compartment for the private endpoint.