---
title: "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}"
method: PATCH
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}"
tags: ["Schedulers"]
---

# PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}`

Update a Scheduler

## Path parameters

- `schedulerName` string, required

## Parameters

- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/ResourceGroupNameParameter` — unresolved $ref

## Request body

- SchedulerUpdate — The update request model for the Scheduler resource
  - `properties` SchedulerPropertiesUpdate — The Scheduler resource properties to be updated
    - `provisioningState` 'Succeeded' | 'Failed' | 'Canceled' | 'Provisioning' | 'Updating' | 'Deleting' | 'Accepted' — The status of the current operation
    - `endpoint` string — URL of the durable task scheduler
    - `ipAllowlist` string[] — IP allow list for durable task scheduler. Values can be IPv4, IPv6 or CIDR
    - `sku` SchedulerSkuUpdate — The SKU (Stock Keeping Unit) properties to be updated
      - `name` 'Dedicated' | 'Consumption' — The name of the Stock Keeping Unit (SKU) of a Durable Task Scheduler
      - `capacity` integer — The SKU capacity. This allows scale out/in for the resource and impacts zone redundancy
      - `redundancyState` 'None' | 'Zone' — The state of the resource redundancy
    - `publicNetworkAccess` 'Enabled' | 'Disabled' — State of the public network access.
  - `tags` object — Resource tags.
  - `identity` ManagedServiceIdentity — unresolved $ref

## Response `200`

Azure operation completed successfully.

- Scheduler — unresolved $ref

## Other responses

- `202` — Resource update request accepted.
- `default` — Validation error: required parameters are missing

---

[API](https://skmtc.dev/azure/apis/durabletask-microsoft-durabletask-durabletask.md) · [All operations](https://skmtc.dev/azure/apis/durabletask-microsoft-durabletask-durabletask/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/durabletask-microsoft-durabletask-durabletask/revisions/c881f58bd363/schema)
