/// <summary> /// Creates a run of a pipeline. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The resource group name. /// </param> /// <param name='factoryName'> /// The factory name. /// </param> /// <param name='pipelineName'> /// The pipeline name. /// </param> /// <param name='referencePipelineRunId'> /// The pipeline run identifier. If run ID is specified the parameters of the /// specified run will be used to create a new run. /// </param> /// <param name='parameters'> /// Parameters of the pipeline run. These parameters will be used only if the /// runId is not specified. /// </param> public static CreateRunResponse CreateRun(this IPipelinesOperations operations, string resourceGroupName, string factoryName, string pipelineName, string referencePipelineRunId = default(string), IDictionary <string, object> parameters = default(IDictionary <string, object>)) { return(operations.CreateRunAsync(resourceGroupName, factoryName, pipelineName, referencePipelineRunId, parameters).GetAwaiter().GetResult()); }
/// <summary> /// Creates a run of a pipeline. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The resource group name. /// </param> /// <param name='factoryName'> /// The factory name. /// </param> /// <param name='pipelineName'> /// The pipeline name. /// </param> /// <param name='referencePipelineRunId'> /// The pipeline run identifier. If run ID is specified the parameters of the /// specified run will be used to create a new run. /// </param> /// <param name='isRecovery'> /// 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. /// </param> /// <param name='startActivityName'> /// In recovery mode, the rerun will start from this activity. If not /// specified, all activities will run. /// </param> /// <param name='startFromFailure'> /// 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. /// </param> /// <param name='parameters'> /// Parameters of the pipeline run. These parameters will be used only if the /// runId is not specified. /// </param> public static CreateRunResponse CreateRun(this IPipelinesOperations operations, string resourceGroupName, string factoryName, string pipelineName, string referencePipelineRunId = default(string), bool?isRecovery = default(bool?), string startActivityName = default(string), bool?startFromFailure = default(bool?), IDictionary <string, object> parameters = default(IDictionary <string, object>)) { return(operations.CreateRunAsync(resourceGroupName, factoryName, pipelineName, referencePipelineRunId, isRecovery, startActivityName, startFromFailure, parameters).GetAwaiter().GetResult()); }