EdgeContextResource.GetEdgeWorkflow(String, CancellationToken) Method

Definition

Get a Workflow resource.

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