Esempio n. 1
0
 /// <summary>
 /// Disables 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 <HDInsightLongRunningOperationResponse> DisableRdpAsync(this IClusterOperations operations,
                                                                            string resourceGroupName, string clusterName)
 {
     return(operations.DisableRdpAsync(resourceGroupName, clusterName, CancellationToken.None));
 }