Compartir a través de


DataFactoryResource.GetActivityRun Method

Definition

Query activity runs based on input filter conditions.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}/queryActivityruns
  • Operation Id: ActivityRuns_QueryByPipelineRun
  • Default Api Version: 2018-06-01
public virtual Azure.Pageable<Azure.ResourceManager.DataFactory.Models.PipelineActivityRunInformation> GetActivityRun (string runId, Azure.ResourceManager.DataFactory.Models.RunFilterContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetActivityRun : string * Azure.ResourceManager.DataFactory.Models.RunFilterContent * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataFactory.Models.PipelineActivityRunInformation>
override this.GetActivityRun : string * Azure.ResourceManager.DataFactory.Models.RunFilterContent * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataFactory.Models.PipelineActivityRunInformation>
Public Overridable Function GetActivityRun (runId As String, content As RunFilterContent, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PipelineActivityRunInformation)

Parameters

runId
String

The pipeline run identifier.

content
RunFilterContent

Parameters to filter the activity runs.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of PipelineActivityRunInformation that may take multiple service requests to iterate over.

Exceptions

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

runId or content is null.

Applies to