Interface ClustersClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<ClusterInner>, InnerSupportsListing<ClusterInner>

An instance of this class provides access to all the operations defined in ClustersClient.
  • Method Details

    • listAvailableClusterRegionWithResponseAsync

      Mono<com.azure.core.http.rest.Response<AvailableClustersListInner>> listAvailableClusterRegionWithResponseAsync()
      List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.
      Returns:
      the response of the List Available Clusters operation.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listAvailableClusterRegionAsync

      Mono<AvailableClustersListInner> listAvailableClusterRegionAsync()
      List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.
      Returns:
      the response of the List Available Clusters operation.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listAvailableClusterRegion

      AvailableClustersListInner listAvailableClusterRegion()
      List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.
      Returns:
      the response of the List Available Clusters operation.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listAvailableClusterRegionWithResponse

      com.azure.core.http.rest.Response<AvailableClustersListInner> listAvailableClusterRegionWithResponse(com.azure.core.util.Context context)
      List the quantity of available pre-provisioned Event Hubs Clusters, indexed by Azure region.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the response of the List Available Clusters operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listAsync

      com.azure.core.http.rest.PagedFlux<ClusterInner> listAsync()
      Lists the available Event Hubs Clusters within an ARM resource group.
      Specified by:
      listAsync in interface InnerSupportsListing<ClusterInner>
      Returns:
      the response of the List Event Hubs Clusters operation.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<ClusterInner> list()
      Lists the available Event Hubs Clusters within an ARM resource group.
      Specified by:
      list in interface InnerSupportsListing<ClusterInner>
      Returns:
      the response of the List Event Hubs Clusters operation.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<ClusterInner> list(com.azure.core.util.Context context)
      Lists the available Event Hubs Clusters within an ARM resource group.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the response of the List Event Hubs Clusters operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<ClusterInner> listByResourceGroupAsync(String resourceGroupName)
      Lists the available Event Hubs Clusters within an ARM resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<ClusterInner>
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      Returns:
      the response of the List Event Hubs Clusters operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<ClusterInner> listByResourceGroup(String resourceGroupName)
      Lists the available Event Hubs Clusters within an ARM resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<ClusterInner>
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      Returns:
      the response of the List Event Hubs Clusters operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<ClusterInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Lists the available Event Hubs Clusters within an ARM resource group.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      context - The context to associate with this operation.
      Returns:
      the response of the List Event Hubs Clusters operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ClusterInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String clusterName)
      Gets the resource description of the specified Event Hubs Cluster.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      Returns:
      the resource description of the specified Event Hubs Cluster.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupAsync

      Mono<ClusterInner> getByResourceGroupAsync(String resourceGroupName, String clusterName)
      Gets the resource description of the specified Event Hubs Cluster.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<ClusterInner>
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      Returns:
      the resource description of the specified Event Hubs Cluster.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroup

      ClusterInner getByResourceGroup(String resourceGroupName, String clusterName)
      Gets the resource description of the specified Event Hubs Cluster.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<ClusterInner>
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      Returns:
      the resource description of the specified Event Hubs Cluster.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<ClusterInner> getByResourceGroupWithResponse(String resourceGroupName, String clusterName, com.azure.core.util.Context context)
      Gets the resource description of the specified Event Hubs Cluster.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      context - The context to associate with this operation.
      Returns:
      the resource description of the specified Event Hubs Cluster.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String clusterName, ClusterInner parameters)
      Creates or updates an instance of an Event Hubs Cluster.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      parameters - Parameters for creating a eventhub cluster resource.
      Returns:
      single Event Hubs Cluster resource in List or Get operations.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ClusterInner>,ClusterInner> beginCreateOrUpdateAsync(String resourceGroupName, String clusterName, ClusterInner parameters)
      Creates or updates an instance of an Event Hubs Cluster.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      parameters - Parameters for creating a eventhub cluster resource.
      Returns:
      single Event Hubs Cluster resource in List or Get operations.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>,ClusterInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, ClusterInner parameters)
      Creates or updates an instance of an Event Hubs Cluster.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      parameters - Parameters for creating a eventhub cluster resource.
      Returns:
      single Event Hubs Cluster resource in List or Get operations.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>,ClusterInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, ClusterInner parameters, com.azure.core.util.Context context)
      Creates or updates an instance of an Event Hubs Cluster.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      parameters - Parameters for creating a eventhub cluster resource.
      context - The context to associate with this operation.
      Returns:
      single Event Hubs Cluster resource in List or Get operations.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateAsync

      Mono<ClusterInner> createOrUpdateAsync(String resourceGroupName, String clusterName, ClusterInner parameters)
      Creates or updates an instance of an Event Hubs Cluster.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      parameters - Parameters for creating a eventhub cluster resource.
      Returns:
      single Event Hubs Cluster resource in List or Get operations.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      ClusterInner createOrUpdate(String resourceGroupName, String clusterName, ClusterInner parameters)
      Creates or updates an instance of an Event Hubs Cluster.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      parameters - Parameters for creating a eventhub cluster resource.
      Returns:
      single Event Hubs Cluster resource in List or Get operations.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      ClusterInner createOrUpdate(String resourceGroupName, String clusterName, ClusterInner parameters, com.azure.core.util.Context context)
      Creates or updates an instance of an Event Hubs Cluster.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      parameters - Parameters for creating a eventhub cluster resource.
      context - The context to associate with this operation.
      Returns:
      single Event Hubs Cluster resource in List or Get operations.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String clusterName, ClusterInner parameters)
      Modifies mutable properties on the Event Hubs Cluster. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      parameters - The properties of the Event Hubs Cluster which should be updated.
      Returns:
      single Event Hubs Cluster resource in List or Get operations.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ClusterInner>,ClusterInner> beginUpdateAsync(String resourceGroupName, String clusterName, ClusterInner parameters)
      Modifies mutable properties on the Event Hubs Cluster. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      parameters - The properties of the Event Hubs Cluster which should be updated.
      Returns:
      single Event Hubs Cluster resource in List or Get operations.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>,ClusterInner> beginUpdate(String resourceGroupName, String clusterName, ClusterInner parameters)
      Modifies mutable properties on the Event Hubs Cluster. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      parameters - The properties of the Event Hubs Cluster which should be updated.
      Returns:
      single Event Hubs Cluster resource in List or Get operations.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterInner>,ClusterInner> beginUpdate(String resourceGroupName, String clusterName, ClusterInner parameters, com.azure.core.util.Context context)
      Modifies mutable properties on the Event Hubs Cluster. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      parameters - The properties of the Event Hubs Cluster which should be updated.
      context - The context to associate with this operation.
      Returns:
      single Event Hubs Cluster resource in List or Get operations.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateAsync

      Mono<ClusterInner> updateAsync(String resourceGroupName, String clusterName, ClusterInner parameters)
      Modifies mutable properties on the Event Hubs Cluster. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      parameters - The properties of the Event Hubs Cluster which should be updated.
      Returns:
      single Event Hubs Cluster resource in List or Get operations.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      ClusterInner update(String resourceGroupName, String clusterName, ClusterInner parameters)
      Modifies mutable properties on the Event Hubs Cluster. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      parameters - The properties of the Event Hubs Cluster which should be updated.
      Returns:
      single Event Hubs Cluster resource in List or Get operations.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      ClusterInner update(String resourceGroupName, String clusterName, ClusterInner parameters, com.azure.core.util.Context context)
      Modifies mutable properties on the Event Hubs Cluster. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      parameters - The properties of the Event Hubs Cluster which should be updated.
      context - The context to associate with this operation.
      Returns:
      single Event Hubs Cluster resource in List or Get operations.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String clusterName)
      Deletes an existing Event Hubs Cluster. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      Returns:
      the completion.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String clusterName)
      Deletes an existing Event Hubs Cluster. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      Returns:
      the completion.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String clusterName)
      Deletes an existing Event Hubs Cluster. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      Returns:
      the completion.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String clusterName, com.azure.core.util.Context context)
      Deletes an existing Event Hubs Cluster. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      context - The context to associate with this operation.
      Returns:
      the completion.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String clusterName)
      Deletes an existing Event Hubs Cluster. This operation is idempotent.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      Returns:
      the completion.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String clusterName)
      Deletes an existing Event Hubs Cluster. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String clusterName, com.azure.core.util.Context context)
      Deletes an existing Event Hubs Cluster. This operation is idempotent.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listNamespacesWithResponseAsync

      Mono<com.azure.core.http.rest.Response<EHNamespaceIdListResultInner>> listNamespacesWithResponseAsync(String resourceGroupName, String clusterName)
      List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      Returns:
      the response of the List Namespace IDs operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listNamespacesAsync

      Mono<EHNamespaceIdListResultInner> listNamespacesAsync(String resourceGroupName, String clusterName)
      List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      Returns:
      the response of the List Namespace IDs operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listNamespaces

      EHNamespaceIdListResultInner listNamespaces(String resourceGroupName, String clusterName)
      List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      Returns:
      the response of the List Namespace IDs operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listNamespacesWithResponse

      com.azure.core.http.rest.Response<EHNamespaceIdListResultInner> listNamespacesWithResponse(String resourceGroupName, String clusterName, com.azure.core.util.Context context)
      List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.
      Parameters:
      resourceGroupName - Name of the resource group within the azure subscription.
      clusterName - The name of the Event Hubs Cluster.
      context - The context to associate with this operation.
      Returns:
      the response of the List Namespace IDs operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.