/// <summary> /// Enables HTTP on 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> /// <param name='username'> /// Required. The http username. /// </param> /// <param name='password'> /// Required. The http password. /// </param> /// <returns> /// The cluster long running operation response. /// </returns> public static Task <OperationResource> EnableHttpAsync(this IClusterOperations operations, string resourceGroupName, string clusterName, string username, string password) { return(operations.EnableHttpAsync(resourceGroupName, clusterName, username, password, CancellationToken.None)); }