PipelinesOperationsExtensions.CreateRunAsync 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.
Creates a run of a pipeline.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.CreateRunResponse> CreateRunAsync (this Microsoft.Azure.Management.DataFactory.IPipelinesOperations operations, string resourceGroupName, string factoryName, string pipelineName, string referencePipelineRunId = default, bool? isRecovery = default, string startActivityName = default, bool? startFromFailure = default, System.Collections.Generic.IDictionary<string,object> parameters = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateRunAsync : Microsoft.Azure.Management.DataFactory.IPipelinesOperations * string * string * string * string * Nullable<bool> * string * Nullable<bool> * System.Collections.Generic.IDictionary<string, obj> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.CreateRunResponse>
<Extension()>
Public Function CreateRunAsync (operations As IPipelinesOperations, resourceGroupName As String, factoryName As String, pipelineName As String, Optional referencePipelineRunId As String = Nothing, Optional isRecovery As Nullable(Of Boolean) = Nothing, Optional startActivityName As String = Nothing, Optional startFromFailure As Nullable(Of Boolean) = Nothing, Optional parameters As IDictionary(Of String, Object) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CreateRunResponse)
Parameters
- operations
- IPipelinesOperations
The operations group for this extension method.
- resourceGroupName
- String
The resource group name.
- factoryName
- String
The factory name.
- pipelineName
- String
The pipeline name.
- referencePipelineRunId
- String
The pipeline run identifier. If run ID is specified the parameters of the specified run will be used to create a new run.
Recovery mode flag. If recovery mode is set to true, the specified referenced pipeline run and the new run will be grouped under the same groupId.
- startActivityName
- String
In recovery mode, the rerun will start from this activity. If not specified, all activities will run.
In recovery mode, if set to true, the rerun will start from failed activities. The property will be used only if startActivityName is not specified.
- parameters
- IDictionary<String,Object>
Parameters of the pipeline run. These parameters will be used only if the runId is not specified.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET