code: public ClusterConfigurationsInner list(String resourceGroupName, String clusterName) {
          return listWithServiceResponseAsync(resourceGroupName, clusterName).toBlocking().single().body();
      }
docs: Gets all configuration information for an HDI cluster.
  
  @param resourceGroupName The name of the resource group.
  @param clusterName The name of the cluster.
  @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
  @return the ClusterConfigurationsInner object if successful.