EdgeWorkflowCollection.GetAsync(String, CancellationToken) Method

Definition

Get a Workflow resource

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/contexts/{contextName}/workflows/{workflowName}.
  • Operation Id. : Workflows_Get.
  • Default Api Version. : 2025-06-01.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WorkloadOrchestration.EdgeWorkflowResource>> GetAsync(string workflowName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WorkloadOrchestration.EdgeWorkflowResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WorkloadOrchestration.EdgeWorkflowResource>>
Public Overridable Function GetAsync (workflowName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EdgeWorkflowResource))

Parameters

workflowName
String

Name of the workflow.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

workflowName is null.

workflowName is an empty string, and was expected to be non-empty.

Applies to