---
title: "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}"
method: PUT
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}"
tags: ["JobCollections"]
---

# PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}

`PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName}`

Provisions a new job collection or updates an existing job collection.

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required
- `jobCollectionName` string, required

## Query parameters

- `api-version` string, required

## Request body

- JobCollectionDefinition
  - `id` string — Gets the job collection resource identifier.
  - `type` string — Gets the job collection resource type.
  - `name` string — Gets or sets the job collection resource name.
  - `location` string — Gets or sets the storage account location.
  - `tags` object — Gets or sets the tags.
  - `properties` JobCollectionProperties
    - `sku` Sku
      - `name` 'Standard' | 'Free' | 'P10Premium' | 'P20Premium' — Gets or set the SKU.
    - `state` 'Enabled' | 'Disabled' | 'Suspended' | 'Deleted' — Gets or sets the state.
    - `quota` JobCollectionQuota
      - `maxJobCount` integer — Gets or set the maximum job count.
      - `maxJobOccurrence` integer — Gets or sets the maximum job occurrence.
      - `maxRecurrence` JobMaxRecurrence
        - `frequency` 'Minute' | 'Hour' | 'Day' | 'Week' | 'Month' — Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
        - `interval` integer — Gets or sets the interval between retries.

## Response `200`

The job collection has been successfully updated.

- JobCollectionDefinition
  - `id` string — Gets the job collection resource identifier.
  - `type` string — Gets the job collection resource type.
  - `name` string — Gets or sets the job collection resource name.
  - `location` string — Gets or sets the storage account location.
  - `tags` object — Gets or sets the tags.
  - `properties` JobCollectionProperties
    - `sku` Sku
      - `name` 'Standard' | 'Free' | 'P10Premium' | 'P20Premium' — Gets or set the SKU.
    - `state` 'Enabled' | 'Disabled' | 'Suspended' | 'Deleted' — Gets or sets the state.
    - `quota` JobCollectionQuota
      - `maxJobCount` integer — Gets or set the maximum job count.
      - `maxJobOccurrence` integer — Gets or sets the maximum job occurrence.
      - `maxRecurrence` JobMaxRecurrence
        - `frequency` 'Minute' | 'Hour' | 'Day' | 'Week' | 'Month' — Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
        - `interval` integer — Gets or sets the interval between retries.

## Other responses

- `201` — The job collection has been successfully created.

---

[API](https://skmtc.net/azure/apis/schedulermanagementclient.md) · [All operations](https://skmtc.net/azure/apis/schedulermanagementclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/schedulermanagementclient/versions/403bfc6c7374/schema)
