DataFactoryResource.GetActivityRunAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.AsyncPageable<Azure.ResourceManager.DataFactory.Models.PipelineActivityRunInformation> GetActivityRunAsync (string runId, Azure.ResourceManager.DataFactory.Models.RunFilterContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetActivityRunAsync : string * Azure.ResourceManager.DataFactory.Models.RunFilterContent * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataFactory.Models.PipelineActivityRunInformation>
override this.GetActivityRunAsync : string * Azure.ResourceManager.DataFactory.Models.RunFilterContent * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataFactory.Models.PipelineActivityRunInformation>
Public Overridable Function GetActivityRunAsync (runId As String, content As RunFilterContent, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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
An async 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.