Microsoft.Scheduler jobCollections 2016-01-01

The jobCollections resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.Scheduler/jobCollections resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.Scheduler/jobCollections@2016-01-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  properties: {
    quota: {
      maxJobCount: int
      maxJobOccurrence: int
      maxRecurrence: {
        frequency: 'string'
        interval: int
      }
    }
    sku: {
      name: 'string'
    }
    state: 'string'
  }
}

Property values

jobCollections

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.Scheduler/jobCollections'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2016-01-01'
name The resource name string (required)
location Gets or sets the storage account location. string
tags Gets or sets the tags. Dictionary of tag names and values. See Tags in templates
properties JobCollectionProperties

JobCollectionProperties

Name Description Value
quota JobCollectionQuota
sku Sku
state Gets or sets the state. 'Deleted'
'Disabled'
'Enabled'
'Suspended'

JobCollectionQuota

Name Description Value
maxJobCount Gets or set the maximum job count. int
maxJobOccurrence Gets or sets the maximum job occurrence. int
maxRecurrence JobMaxRecurrence

JobMaxRecurrence

Name Description Value
frequency Gets or sets the frequency of recurrence (second, minute, hour, day, week, month). 'Day'
'Hour'
'Minute'
'Month'
'Week'
interval Gets or sets the interval between retries. int

Sku

Name Description Value
name Gets or set the SKU. 'Free'
'Premium'
'Standard'

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Web App with a Scheduler Job

Deploy to Azure
This template deploys an App Service Plan, creates a Web App in the App Service Plan , creates a scheduler job collection and creates a job inside it. The job is scheduled to run on Weekdays Monday to Friday everyday twice.
Create a Service Bus Queue and Azure Scheduler Job

Deploy to Azure
An Service Bus namespace, queue, and write-only SAS policy, and an Azure Scheduler job collection and job that will post a message into the Service Bus queue at a regular interval. Template originally authored by John Downs.