다음을 통해 공유


LogicWorkflowRunOperationCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • 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 Azure.NullableResponse<Azure.ResourceManager.Logic.LogicWorkflowRunOperationResource> GetIfExists (string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Logic.LogicWorkflowRunOperationResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Logic.LogicWorkflowRunOperationResource>
Public Overridable Function GetIfExists (operationId As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(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