Beispiel #1
0
 /// <summary>
 /// Gets the first 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='resourceGroupName'>
 /// Required. The resource group name of the data factory.
 /// </param>
 /// <param name='dataFactoryName'>
 /// Required. A unique data factory instance name.
 /// </param>
 /// <returns>
 /// The List pipeline operation response.
 /// </returns>
 public static Task <PipelineListResponse> ListAsync(
     this IPipelineOperations operations,
     string resourceGroupName,
     string dataFactoryName)
 {
     return(operations.ListAsync(resourceGroupName, dataFactoryName, CancellationToken.None));
 }
 /// <summary>
 /// Lists all pipelines.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='accountName'>
 /// The Azure Data Lake Analytics account to execute job operations on.
 /// </param>
 /// <param name='startDateTime'>
 /// The start date for when to get the list of pipelines. The startDateTime and
 /// endDateTime can be no more than 30 days apart.
 /// </param>
 /// <param name='endDateTime'>
 /// The end date for when to get the list of pipelines. The startDateTime and
 /// endDateTime can be no more than 30 days apart.
 /// </param>
 public static IPage <JobPipelineInformation> List(this IPipelineOperations operations, string accountName, System.DateTimeOffset?startDateTime = default(System.DateTimeOffset?), System.DateTimeOffset?endDateTime = default(System.DateTimeOffset?))
 {
     return(operations.ListAsync(accountName, startDateTime, endDateTime).GetAwaiter().GetResult());
 }