Share via


EdgeContextResource.GetEdgeWorkflowAsync(String, CancellationToken) Method

Definition

Get a Workflow resource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/contexts/{contextName}/workflows/{workflowName}
  • Operation Id: Workflow_Get
  • Default Api Version: 2025-06-01
  • Resource: EdgeWorkflowResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WorkloadOrchestration.EdgeWorkflowResource>> GetEdgeWorkflowAsync(string workflowName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEdgeWorkflowAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WorkloadOrchestration.EdgeWorkflowResource>>
override this.GetEdgeWorkflowAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WorkloadOrchestration.EdgeWorkflowResource>>
Public Overridable Function GetEdgeWorkflowAsync (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