/// <summary> /// Gets the detailed information for a given pipeline run. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group to which the container registry belongs. /// </param> /// <param name='registryName'> /// The name of the container registry. /// </param> /// <param name='pipelineRunName'> /// The name of the pipeline run. /// </param> public static PipelineRun Get(this IPipelineRunsOperations operations, string resourceGroupName, string registryName, string pipelineRunName) { return(operations.GetAsync(resourceGroupName, registryName, pipelineRunName).GetAwaiter().GetResult()); }
/// <summary> /// Get a pipeline run by its run ID. /// </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='runId'> /// The pipeline run identifier. /// </param> public static PipelineRun Get(this IPipelineRunsOperations operations, string resourceGroupName, string factoryName, string runId) { return(operations.GetAsync(resourceGroupName, factoryName, runId).GetAwaiter().GetResult()); }