/// <summary>
 /// Test the connectivity of an input for a stream analytics job.
 /// Asynchronous call.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.StreamAnalytics.IInputOperations.
 /// </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='inputName'>
 /// Required. The input 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 IInputOperations operations, string resourceGroupName, string jobName, string inputName)
 {
     return operations.BeginTestConnectionAsync(resourceGroupName, jobName, inputName, CancellationToken.None);
 }
 /// <summary>
 /// Test the connectivity of a function for a stream analytics job.
 /// Asynchronous call.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.StreamAnalytics.IFunctionOperations.
 /// </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='functionName'>
 /// Required. The name of the function for the stream analytics job.
 /// </param>
 /// <returns>
 /// The test result of the input or output data source.
 /// </returns>
 public static Task<ResourceTestConnectionResponse> BeginTestConnectionAsync(this IFunctionOperations operations, string resourceGroupName, string jobName, string functionName)
 {
     return operations.BeginTestConnectionAsync(resourceGroupName, jobName, functionName, CancellationToken.None);
 }