Share via


EdgeContextResource.GetEdgeWorkflow(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 Azure.Response<Azure.ResourceManager.WorkloadOrchestration.EdgeWorkflowResource> GetEdgeWorkflow(string workflowName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEdgeWorkflow : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.WorkloadOrchestration.EdgeWorkflowResource>
override this.GetEdgeWorkflow : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.WorkloadOrchestration.EdgeWorkflowResource>
Public Overridable Function GetEdgeWorkflow (workflowName As String, Optional cancellationToken As CancellationToken = Nothing) As 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