/// <summary> /// Gets the specified cluster. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.HDInsight.IClusterOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The name of the resource group. /// </param> /// <param name='clusterName'> /// Required. The name of the cluster. /// </param> /// <returns> /// The GetCluster operation response. /// </returns> public static Task <ClusterGetResponse> GetAsync(this IClusterOperations operations, string resourceGroupName, string clusterName) { return(operations.GetAsync(resourceGroupName, clusterName, CancellationToken.None)); }