Share via


LogicWorkflowRunOperationCollection.GetAsync Method

Definition

Gets an operation for a run.

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

Parameters

operationId
String

The workflow operation id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

operationId is null.

Applies to