/// <summary> /// Begins disabling RDP 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> /// <returns> /// The cluster long running operation response. /// </returns> public static Task <HDInsightOperationResponse> BeginDisablingRdpAsync(this IClusterOperations operations, string resourceGroupName, string clusterName) { return(operations.BeginDisablingRdpAsync(resourceGroupName, clusterName, CancellationToken.None)); }