/// <summary> /// Lists HDInsight clusters under the subscription. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.HDInsight.IClusterOperations. /// </param> /// <returns> /// The List Cluster operation response. /// </returns> public static Task <ClusterListResponse> ListAsync(this IClusterOperations operations) { return(operations.ListAsync(CancellationToken.None)); }