def list_namespaces(resource_group_name, cluster_name, custom_headers:nil)
      response = list_namespaces_async(resource_group_name, cluster_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def list_namespaces(resource_group_name, cluster_name, custom_headers:nil)
      response = list_namespaces_async(resource_group_name, cluster_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.

 @param resource_group_name [String] Name of the resource group within the
 Azure subscription.
 @param cluster_name [String] The name of the Event Hubs Cluster.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [EHNamespaceIdListResult] operation results.