Creating a Discovery Schedule

Create a schedule for asset discovery.

    1. Open the navigation menu and click Migration & Disaster Recovery. Under Cloud Migrations, click Discovery.
    2. Click Discovery schedules.
    3. On the Discovery schedules page, click Create discovery schedule.
    4. On the Create discovery schedule panel, provide the following information:
      1. Enter a name.
      2. Select the compartment.
      3. Select the type of the schedule. The available options are as follows:
        • Daily: Select the time when asset discovery should start.
        • Weekly: Select a day of the week and the time when the schedule starts.
        • Monthly: Select a day of the month and the time when the schedule starts.
        • Yearly: Select the month of the year, day of the month, and the time when the schedule starts.
      4. (Optional) Add tags to organize the resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you are not sure whether to apply tags, skip this option (you can apply tags later) or ask your administrator.
    5. Click Create.
    On the Discovery schedules page, you can now view the discovery schedule.
  • To create a discovery schedules, use the create command.

    oci cloud-bridge discovery discovery-schedule create --compartment-id target_compartment_ID --execution-recurrences execution_recurrences [OPTIONS]

    The required parameters for the create command are:

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

    --execution-recurrences: Recurrence specification for the discovery schedule execution.

    To get all the commands for discovery schedules, run:

    oci cloud-bridge discovery discovery-schedule -h

    To get help for the create command, run:

    oci cloud-bridge discovery discovery-schedule create -h

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

  • To create a discovery schedules, use the CreateDiscoverySchedule operation.