/// <summary>
 /// Initializes a new instance of the StreamAnalyticsManagementClient
 /// class.
 /// </summary>
 /// <param name='httpClient'>
 /// The Http client
 /// </param>
 public StreamAnalyticsManagementClient(HttpClient httpClient)
     : base(httpClient)
 {
     this._functions       = new FunctionOperations(this);
     this._inputs          = new InputOperations(this);
     this._streamingJobs   = new JobOperations(this);
     this._outputs         = new OutputOperations(this);
     this._subscriptions   = new SubscriptionOperations(this);
     this._transformations = new TransformationOperations(this);
     this._apiVersion      = "2015-09-01";
     this._longRunningOperationInitialTimeout = -1;
     this._longRunningOperationRetryTimeout   = -1;
     this.HttpClient.Timeout = TimeSpan.FromSeconds(60);
 }
 /// <summary>
 /// Test an output for a stream analytics job. Asynchronous call.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.StreamAnalytics.IOutputOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The resource group name of the stream analytics job.
 /// </param>
 /// <param name='jobName'>
 /// Required. The name of the stream analytics job.
 /// </param>
 /// <param name='outputName'>
 /// Required. The output Name of the stream analytics job.
 /// </param>
 /// <returns>
 /// The test result of the input or output data source.
 /// </returns>
 public static Task <DataSourceTestConnectionResponse> BeginTestConnectionAsync(this IOutputOperations operations, string resourceGroupName, string jobName, string outputName)
 {
     return(operations.BeginTestConnectionAsync(resourceGroupName, jobName, outputName, CancellationToken.None));
 }
 /// <summary>
 /// Update an output for a stream analytics job.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.StreamAnalytics.IOutputOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The resource group name of the stream analytics job.
 /// </param>
 /// <param name='jobName'>
 /// Required. The name of the stream analytics job.
 /// </param>
 /// <param name='outputName'>
 /// Required. The name of the output for the stream analytics job.
 /// </param>
 /// <param name='parameters'>
 /// Required. The parameters required to create or update an output for
 /// a stream analytics job.
 /// </param>
 /// <returns>
 /// The response of the output patch operation.
 /// </returns>
 public static Task <OutputPatchResponse> PatchAsync(this IOutputOperations operations, string resourceGroupName, string jobName, string outputName, OutputPatchParameters parameters)
 {
     return(operations.PatchAsync(resourceGroupName, jobName, outputName, parameters, CancellationToken.None));
 }
 /// <summary>
 /// Get a list of the outputs defined in a stream analytics job.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.StreamAnalytics.IOutputOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The resource group name of the stream analytics job.
 /// </param>
 /// <param name='jobName'>
 /// Required. The name of the stream analytics job.
 /// </param>
 /// <returns>
 /// The response of the output list operation.
 /// </returns>
 public static Task <OutputListResponse> ListOutputInJobAsync(this IOutputOperations operations, string resourceGroupName, string jobName)
 {
     return(operations.ListOutputInJobAsync(resourceGroupName, jobName, CancellationToken.None));
 }
 /// <summary>
 /// Get an output for a stream analytics job.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.StreamAnalytics.IOutputOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The resource group name of the stream analytics job.
 /// </param>
 /// <param name='jobName'>
 /// Required. The name of the stream analytics job.
 /// </param>
 /// <param name='outputName'>
 /// Required. The name of the output for the stream analytics job.
 /// </param>
 /// <returns>
 /// The response of the output get operation.
 /// </returns>
 public static Task <OutputGetResponse> GetAsync(this IOutputOperations operations, string resourceGroupName, string jobName, string outputName)
 {
     return(operations.GetAsync(resourceGroupName, jobName, outputName, CancellationToken.None));
 }
 /// <summary>
 /// Delete an output for a stream analytics job.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.StreamAnalytics.IOutputOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The resource group name of the stream analytics job.
 /// </param>
 /// <param name='jobName'>
 /// Required. The name of the stream analytics job.
 /// </param>
 /// <param name='outputName'>
 /// Required. The name of the output for the stream analytics job.
 /// </param>
 /// <returns>
 /// The common operation response.
 /// </returns>
 public static Task <CommonOperationResponse> DeleteAsync(this IOutputOperations operations, string resourceGroupName, string jobName, string outputName)
 {
     return(operations.DeleteAsync(resourceGroupName, jobName, outputName, CancellationToken.None));
 }
 /// <summary>
 /// Create or update an output for a stream analytics job. The raw json
 /// content will be used.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.StreamAnalytics.IOutputOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The resource group name of the stream analytics job.
 /// </param>
 /// <param name='jobName'>
 /// Required. The name of the stream analytics job.
 /// </param>
 /// <param name='outputName'>
 /// Required. The name of the output for the stream analytics job.
 /// </param>
 /// <param name='parameters'>
 /// Required. The parameters required to create or update an output for
 /// a stream analytics job. It is in json format
 /// </param>
 /// <returns>
 /// The response of the output CreateOrUpdate operation.
 /// </returns>
 public static Task <OutputCreateOrUpdateResponse> CreateOrUpdateWithRawJsonContentAsync(this IOutputOperations operations, string resourceGroupName, string jobName, string outputName, OutputCreateOrUpdateWithRawJsonContentParameters parameters)
 {
     return(operations.CreateOrUpdateWithRawJsonContentAsync(resourceGroupName, jobName, outputName, parameters, CancellationToken.None));
 }