Moving an HTTP Monitor to Another Compartment

Move an HTTP monitor in Health Checks to another compartment.

For general information about moving resources, see Moving Resources to a Different Compartment.
  • These steps show how to move an HTTP monitor from its details page. You can also move an HTTP monitor from the Health checks page by clicking the Actions menu (Actions Menu) to the right of the monitor name and then selecting Move resource.
    1. Open the navigation menu and click Observability & Management. Under Monitoring, click Health Checks.
    2. On the Health checks page, choose the compartment that contains the HTTP monitor that you want.
    3. Click the name of the HTTP monitor that you want.
      Tip

      To find an HTTP monitor by name, enter its name in the Search field.
    4. On the details page for the HTTP monitor, click Move resource.
    5. In the Move resource dialog box, select the compartment that you want to move the HTTP monitor to.
    6. Click Move resource.
  • Use the oci health-checks http-monitor change-compartment command and required parameters to move an HTTP monitor to another compartment:

    oci health-checks http-monitor change-compartment --compartment-id <destination_compartment_OCID> --monitor-id <http_monitor_OCID>

    For a complete list of parameters and values for CLI commands, see the CLI for Health Checks.

  • Run the ChangeHttpMonitorCompartment operation to move an HTTP monitor to another compartment.