Moving a Discovery Schedule
Move the discovery schedule to another compartment.
- Open the navigation menu and select Migration & Disaster Recovery. Under Cloud Migrations, select Discovery.
- In the navigation panel, select Discovery schedules.
- On the discovery schedules list page, select the for the schedule that you want to move, and select Move resource.
- 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-compartmentcommand.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-compartmentcommand 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 -hTo get help for the change compartment command, run:
oci cloud-bridge discovery discovery-schedule change-compartment -hFor 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.