Microsoft.DurableTask (preview:2025-04-01)

2025/04/09 • 16 new methods

Operations_List (new)
Description List the operations for the provider
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.DurableTask/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedulers_ListBySubscription (new)
Description List Schedulers by subscription
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DurableTask/schedulers
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
endpoint: string ,
ipAllowlist:
[
string ,
]
,
sku:
{
name: string ,
capacity: integer ,
redundancyState: enum ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedulers_ListByResourceGroup (new)
Description List Schedulers by resource group
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
endpoint: string ,
ipAllowlist:
[
string ,
]
,
sku:
{
name: string ,
capacity: integer ,
redundancyState: enum ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedulers_Get (new)
Description Get a Scheduler
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
schedulerName: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
endpoint: string ,
ipAllowlist:
[
string ,
]
,
sku:
{
name: string ,
capacity: integer ,
redundancyState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedulers_CreateOrUpdate (new)
Description Create or update a Scheduler
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
schedulerName: string ,
resource:
{
properties:
{
provisioningState: enum ,
endpoint: string ,
ipAllowlist:
[
string ,
]
,
sku:
{
name: string ,
capacity: integer ,
redundancyState: enum ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
endpoint: string ,
ipAllowlist:
[
string ,
]
,
sku:
{
name: string ,
capacity: integer ,
redundancyState: enum ,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
endpoint: string ,
ipAllowlist:
[
string ,
]
,
sku:
{
name: string ,
capacity: integer ,
redundancyState: enum ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedulers_Update (new)
Description Update a Scheduler
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
schedulerName: string ,
properties:
{
properties:
{
provisioningState: enum ,
endpoint: string ,
ipAllowlist:
[
string ,
]
,
sku:
{
name: string ,
capacity: integer ,
redundancyState: enum ,
}
,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
endpoint: string ,
ipAllowlist:
[
string ,
]
,
sku:
{
name: string ,
capacity: integer ,
redundancyState: enum ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedulers_Delete (new)
Description Delete a Scheduler
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
schedulerName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RetentionPolicies_ListByScheduler (new)
Description List Retention Policies
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/retentionPolicies
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
schedulerName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
retentionPolicies:
[
{
retentionPeriodInDays: integer ,
orchestrationState: enum ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RetentionPolicies_Get (new)
Description Get a Retention Policy
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/retentionPolicies/default
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
schedulerName: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
retentionPolicies:
[
{
retentionPeriodInDays: integer ,
orchestrationState: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RetentionPolicies_CreateOrReplace (new)
Description Create or Update a Retention Policy
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/retentionPolicies/default
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
schedulerName: string ,
resource:
{
properties:
{
provisioningState: enum ,
retentionPolicies:
[
{
retentionPeriodInDays: integer ,
orchestrationState: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
retentionPolicies:
[
{
retentionPeriodInDays: integer ,
orchestrationState: enum ,
}
,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
retentionPolicies:
[
{
retentionPeriodInDays: integer ,
orchestrationState: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RetentionPolicies_Update (new)
Description Update a Retention Policy
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/retentionPolicies/default
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
schedulerName: string ,
properties:
{
properties:
{
provisioningState: enum ,
retentionPolicies:
[
{
retentionPeriodInDays: integer ,
orchestrationState: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
retentionPolicies:
[
{
retentionPeriodInDays: integer ,
orchestrationState: enum ,
}
,
]
,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RetentionPolicies_Delete (new)
Description Delete a Retention Policy
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/retentionPolicies/default
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
schedulerName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
TaskHubs_ListByScheduler (new)
Description List Task Hubs
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
schedulerName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
dashboardUrl: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
TaskHubs_Get (new)
Description Get a Task Hub
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
schedulerName: string ,
taskHubName: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
dashboardUrl: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
TaskHubs_CreateOrUpdate (new)
Description Create or Update a Task Hub
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
schedulerName: string ,
taskHubName: string ,
resource:
{
properties:
{
provisioningState: enum ,
dashboardUrl: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
dashboardUrl: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
dashboardUrl: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
TaskHubs_Delete (new)
Description Delete a Task Hub
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
schedulerName: string ,
taskHubName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}