public void enableMonitoring(String resourceGroupName, String clusterName, ClusterMonitoringRequest parameters) {
        enableMonitoringWithServiceResponseAsync(resourceGroupName, clusterName, parameters).toBlocking().last().body();
    }
public void enableMonitoring ( String resourceGroupName , String clusterName , ClusterMonitoringRequest parameters ) { enableMonitoringWithServiceResponseAsync ( resourceGroupName , clusterName , parameters ) . toBlocking ( ) . last ( ) . body ( ) ; }
Enables the Operations Management Suite (OMS) on the HDInsight cluster.

@param resourceGroupName The name of the resource group.
@param clusterName The name of the cluster.
@param parameters The Operations Management Suite (OMS) workspace parameters.
@throws IllegalArgumentException thrown if parameters fail the validation
@throws ErrorResponseException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent