Beispiel #1
0
 /// <summary>
 /// Gets a pipeline instance.
 /// </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>
 /// <param name='dataPipelineName'>
 /// Required. Name of the data pipeline.
 /// </param>
 /// <returns>
 /// The Get pipeline operation response.
 /// </returns>
 public static Task <PipelineGetResponse> GetAsync(
     this IPipelineOperations operations,
     string resourceGroupName,
     string dataFactoryName,
     string dataPipelineName)
 {
     return(operations.GetAsync(resourceGroupName, dataFactoryName, dataPipelineName, CancellationToken.None));
 }
 /// <summary>
 /// Gets the Pipeline information for the specified pipeline ID.
 /// </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='pipelineIdentity'>
 /// Pipeline ID.
 /// </param>
 /// <param name='startDateTime'>
 /// The start date for when to get the pipeline and aggregate its data. The
 /// startDateTime and endDateTime can be no more than 30 days apart.
 /// </param>
 /// <param name='endDateTime'>
 /// The end date for when to get the pipeline and aggregate its data. The
 /// startDateTime and endDateTime can be no more than 30 days apart.
 /// </param>
 public static JobPipelineInformation Get(this IPipelineOperations operations, string accountName, System.Guid pipelineIdentity, System.DateTimeOffset?startDateTime = default(System.DateTimeOffset?), System.DateTimeOffset?endDateTime = default(System.DateTimeOffset?))
 {
     return(operations.GetAsync(accountName, pipelineIdentity, startDateTime, endDateTime).GetAwaiter().GetResult());
 }