/// <summary> /// Gets all the runs for a registry. /// </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='odataQuery'> /// OData parameters to apply to the operation. /// </param> public static IPage <Run> List(this IRunsOperations operations, string resourceGroupName, string registryName, ODataQuery <RunFilter> odataQuery = default(ODataQuery <RunFilter>)) { return(operations.ListAsync(resourceGroupName, registryName, odataQuery).GetAwaiter().GetResult()); }