Managing optimization schedules
  • 01 Jan 2023
  • 2 Minutes to read
  • Contributors
  • Dark
  • PDF

Managing optimization schedules

  • Dark
  • PDF

Creating a Schedule

In the Optimization section of a Cost Management Group, click Create optimization schedule (or) Add to start creating a schedule.

Provide a name to the schedule to identify it quickly among multiple schedules. Set the timezone for the schedule. Provide an optional description to the schedule, if required.

Basic details.png


The next step in creating a new optimization schedule is to specify the Up hours and Down hours of a week for the resources.

Hours Configuration.png

The hours in green will be considered as Up hours and the hours in red will be considered as Down hours.

The resources will be set to the Up configuration value or started at the beginning of every Up hours and will be set to the Down configuration value or stopped at the beginning of every Down hours based on the resource type.

Resource selection

Choose the required resources available in the selected subscriptions for optimization.

Resource selection.png

At present, the following resource types are available for optimization:

  • App service plan
  • Cosmos SQL container
  • Cosmos SQL catabase
  • Cosmos table
  • Virtual machine
  • Virtual machine scale set

Provide the Up and Down config values to the corresponding resources for the selected Up and Down hours.

Same resource cannot be added in multiple optimization schedules.


The Currency filter in Resource selection allows users to select any of the available currency types to display cost values based on their preferences.

If the currency filter value is updated, any resource chosen prior to the update will be updated with the new currency type.

Currency filter.png

Notification Settings

Configure notification channels to an optimization schedule to receive notification when the optimization schedule run is complete.

The user can also choose to receive alerts only when there is a failure for any of the scheduled resources while running the optimization schedule.

Notification selection.png


The schedule summary displays detailed information of the optimization schedule including a Cost Savings chart that helps users in gaining insights on the cost that can be saved when resources are scheduled for optimization.

Schedule summary.png

Click Create optimization schedule to finish creating the schedule.

The below illustration depicts the process of creating an optimization schedule in Cost Management Group:

Optimization schedule.gif

Scheduled & Unscheduled resources

Scheduled resources

Scheduled resources.png

A resource can be added to an existing optimization schedule at any point in time by using Schedule resources option available in the Scheduled Resources tab within Resources section.

All the scheduled resources will be listed in the Scheduled Resources tab within the Resources section.

Same resource cannot be added in multiple optimization schedules.

Unscheduled resources

Unscheduled resources.png

All the unscheduled resources matching the filter provided while scheduling the resource will be listed in the Unscheduled Resources tab within the Resources section.

Updating configuration values

Users can update the Up and Down Config values for App service plan and Cosmos resources in schedules by using the Update option available in the Scheduled Resources tab within Resources section. .

Update configuration values.gif

Updating a Schedule

The configurations of existing optimization schedules can be modified by navigating into the respecting schedule and performing changes in the Settings section.

Users can also change the schedule's name, description, and currency type.

Update schedule settings.png

Run history

The optimization schedule runs only once in every hour irrespective of the Up and Down hours specified and performs the necessary action.

The History section of an optimization schedule will display all of its schedule run information, including the run details.

Run details.png

Deleting a Schedule

A schedule that is no longer required can be removed completely by using Delete option available next to the respective schedule in the Optimization section.

Delete schedule.png

Was this article helpful?