Moving a Discovery Schedule

Move the discovery schedule to another compartment.

    1. Open the navigation menu and click Migration & Disaster Recovery. Under Cloud Migrations, click Discovery.
    2. Click Discovery schedules.
    3. From the list of discovery schedules, click the Actions menu to the right of the schedule that you want to move, and select Move.
    4. In the Move resource dialog box, select the destination compartment to which you want to move the discovery schedule and click 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.