/// <summary> /// Begins enabling 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 <HDInsightOperationResponse> BeginEnablingHttpAsync(this IClusterOperations operations, string resourceGroupName, string clusterName, string username, string password) { return(operations.BeginEnablingHttpAsync(resourceGroupName, clusterName, username, password, CancellationToken.None)); }