/// <summary> /// Gets the next page of pipeline instances with the link to the next /// page. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.DataFactories.IPipelineOperations. /// </param> /// <param name='nextLink'> /// Required. The url to the next pipelines page. /// </param> /// <returns> /// The List pipeline operation response. /// </returns> public static Task <PipelineListResponse> ListNextAsync(this IPipelineOperations operations, string nextLink) { return(operations.ListNextAsync(nextLink, CancellationToken.None)); }
/// <summary> /// Lists all pipelines. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> public static IPage <JobPipelineInformation> ListNext(this IPipelineOperations operations, string nextPageLink) { return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult()); }