DurableTaskExtensions.GetDurableTaskSchedulerAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a Scheduler
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}
- Operation Id: Scheduler_Get
- Default Api Version: 2025-04-01-preview
- Resource: DurableTaskSchedulerResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DurableTask.DurableTaskSchedulerResource>> GetDurableTaskSchedulerAsync(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string schedulerName, System.Threading.CancellationToken cancellationToken = default);
static member GetDurableTaskSchedulerAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DurableTask.DurableTaskSchedulerResource>>
<Extension()>
Public Function GetDurableTaskSchedulerAsync (resourceGroupResource As ResourceGroupResource, schedulerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DurableTaskSchedulerResource))
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
- schedulerName
- String
The name of the Scheduler.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
resourceGroupResource
or schedulerName
is null.
schedulerName
is an empty string, and was expected to be non-empty.