共用方式為


LogicExtensions.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 static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Logic.LogicWorkflowResource>> GetLogicWorkflowAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string workflowName, System.Threading.CancellationToken cancellationToken = default);
static member GetLogicWorkflowAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Logic.LogicWorkflowResource>>
<Extension()>
Public Function GetLogicWorkflowAsync (resourceGroupResource As ResourceGroupResource, workflowName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of LogicWorkflowResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

workflowName
String

The workflow name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or workflowName is null.

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

Applies to