Adding Resources

This section explains how to add resources to a schedule.

  • To add resources to the schedule:

    1. In the Create a Schedule window, click Resources. The Resources dialog box and the list of existing resources in the selected compartment is displayed.
      Note

      Resource Scheduler supports multiple types of resources, which you can select with the Resource type filter. In future releases, Resource Scheduler may support other resources than those shown.
    2. Select the Resource selection method. Click either Static or Dynamic to choose the type of resource. When you search for resources, only the type you selected are shown.
    3. In the Search and filter box, use the default selection (compartment All) to search for resources, or click Compartment and use the menu to select a different way to search for resources.
    4. Click the Search and filter field to display the list of items you can use to search for resources. The following resource types are available to search for.
      • Compartment
      • Resource type
      • Status
      • Tags
    5. The following table shows the resource types and descriptions of each.
      Resource Types
      Filter name Description
      Compartment Use the selected default setting (All), or click Compartment to display the Compartment Select menu. In the Compartment Select dialog box, click Ssearch Compartments and use the menu to choose the compartment that contains the resources that you want to schedule. Click Apply Filter to select the compartment or click Clear to close the dialog box without making a selection.
      Display name Click Display name in the list to open the Display Name dialog box. Enter the display name of the resource to search for and click Apply Filter to select it. When the resource is shown in the table, click the checkbox to select it to be used in the schedule. Click Apply Filter to select the display name or click Clear to close the dialog box without making a selection.
      OCID /Click OCID in the Enter the OCID of the resource to search for.
      Resource type Click Resource Type in the list to open the Search dialog box. Select eitherAutonomous Database or (compute) Instance or both. Only the resources of the type you select are shown in the list. Click Apply Filter to select the resource type or click Clear to close the dialog box without making a selection.

      Note: Resource Scheduler currently supports compute instances and autonomous databases and might support other resource types in future releases.

      Note: You must list at least one resource type to search for resources. If you uncheck all selections, no resources are listed and search is disabled.

      Status The default selection is All. To display schedules with a different status, click Status to open the Search menu. Scroll through the menu and select any or all of the following statuses: Available, Creating, Updating, Deleting, Deleted, Failed, Inactive, Stopped, or Ended.

      Note: If you don't select a status, the dialog box closes without saving a selection.

      Time created Enter the UTC time when the resource was created
    6. Click Apply filter to run the search and display the list of resources that are found.
    7. Click Previous to go back to the Basic screen, or click Next to go to the Schedule screen, or click Cancel to close the schedule window without saving the schedule.
  • Use the Resource Scheduler Update Schedule CLI command and required parameters to add resources to a schedule:

    oci oci resource-scheduler schedule update --schedule-id, --action, --defined-tags, --description, --display-name, --force, --freeform-tags, -? | -h | --help, --recurrence-details, --resource-filters, --resources, --time-starts

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • use the Resource Scheduler UpdateSchedule API to add resources to a schedule.

    For a complete list of Resource Scheduler APIs, see Resource Scheduler APIs.