Resource Management

Resource Scheduler uses three types of resource management:

Static Resource Management

With static resource (list-based) management, when you create a resource action schedule, the Resource Action Schedule is limited to a list of 0...n Resource OCIDs to act on. When a schedule is created or edited, you can search for resources and then select the specific resources that will be managed by the schedule. Specifically selecting a resource ensures that the resource is always managed by a schedule and prevents unintentionally stopping the resource

Note

Searching for resources can be done only through the Console.
Note

Resource Scheduler can process only 25 resources per schedule. If you have more than 25 resources, you can create as many schedules as needed. Select Static, and add up to 25 resources in each schedule in the order you want. You can also do this by cloning the first schedule, selecting Static, and replacing the resource list. Unless you change the dates and times, the new schedules run at the same time as the first schedule, allowing you to schedule more than 25 resources at the same time.
Important

You can add only 25 resources to a schedule, even when using Static and adding them manually. If you try to add more than 25 resources to a schedule. Resource Scheduler returns error 400 (bad request, invalid input). The update request fails and no change is applied to the schedule.

Dynamic Resource Management

An alternate approach to selecting resources for a schedule is to allow a 'Resource Filter' in the Resource Definition that will enable dynamic querying of resources based on resource type, tag values, and age since creation. When applying these filters, the list of potentially affected resources is shown so that the user who is creating the schedule can determine what the impact will be. By having both Static and Dynamic resource definition types, you can ensure that a specific resource is always managed by a schedule and also enable large scale management of resources based on their attributes.

Note

Searching for resources can be done only through the Console.
Note

Resource Scheduler can process only 25 resources per schedule. If you select Dynamic, Resource Scheduler adds the first 25 resources it sees in the queue. You cannot manually select the resources or set the order of the resources that are dynamically selected. If you create a second schedule and select Dynamic, Resource Scheduler adds the same set of 25 resources that it did before.

If you have more than 25 resources, you can create as many schedules as needed, selecting Static, and add up to 25 resources in each schedule in the order you want. You can also do this by cloning the first schedule selecting Static, and replacing the resource list. Unless you change the dates and times, the new schedules run at the same time as the first schedule, allowing you to schedule more than 25 resources at the same time.

Important

You can add only 25 resources to a schedule, even when using Static and adding them manually. If you try to add more than 25 resources to a schedule. Resource Scheduler returns error 400 (bad request, invalid input). The update request fails and no change is applied to the schedule.

Managing Resources at Scale

Most large organizations own and operate a large number of tenancies, and need to effectively manage the resources they contain. You can use Dynamic Resource Management to handle less critical resources such as test environments, and Static Resource Management to manage critical resources. Using both Static and dynamic management allows you to manage resources at scale.