Share via


MockableLogicResourceGroupResource.GetLogicWorkflowAsync Method

Definition

Gets a workflow.

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

Parameters

workflowName
String

The workflow name.

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