Moving a Discovery Schedule

Move the discovery schedule to another compartment.

    1. Open the navigation menu  and select Migration & Disaster Recovery. Under Cloud Migrations, select Discovery.
    2. In the navigation panel, select Discovery schedules.
    3. On the discovery schedules list page, select the Actions menu (three dots) for the schedule that you want to move, and select Move resource.
    4. In the Move resource panel, select the destination compartment to which you want to move the discovery schedule and then select Move resource.
  • To move a discovery schedules, use the change-compartment command.

    oci cloud-bridge discovery discovery-schedule change-compartment --compartment-id target_compartment_ID --discovery-schedule-id discovery_schedule_ID [OPTIONS]

    The required parameters for the change-compartment command are:

    --compartment-id: Specifies the compartment OCID in which the discovery schedule is created.

    --discovery-schedule-id: The OCID of the discovery schedule.

    To get all the commands for discovery schedules, run:

    oci cloud-bridge discovery discovery-schedule -h

    To get help for the change compartment command, run:

    oci cloud-bridge discovery discovery-schedule change-compartment -h

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

  • To change compartment of discovery schedules, use the ChangeDiscoveryScheduleCompartment operation.