Interface EventHubsClient


  • public interface EventHubsClient
    An instance of this class provides access to all the operations defined in EventHubsClient.
    • Method Detail

      • listByNamespaceAsync

        com.azure.core.http.rest.PagedFlux<EventhubInner> listByNamespaceAsync​(String resourceGroupName,
                                                                               String namespaceName)
        Gets all the Event Hubs in a service bus Namespace.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        Returns:
        all the Event Hubs in a service bus Namespace.
        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.
      • listByNamespace

        com.azure.core.http.rest.PagedIterable<EventhubInner> listByNamespace​(String resourceGroupName,
                                                                              String namespaceName)
        Gets all the Event Hubs in a service bus Namespace.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        Returns:
        all the Event Hubs in a service bus Namespace.
        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.
      • listByNamespace

        com.azure.core.http.rest.PagedIterable<EventhubInner> listByNamespace​(String resourceGroupName,
                                                                              String namespaceName,
                                                                              com.azure.core.util.Context context)
        Gets all the Event Hubs in a service bus Namespace.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        namespaceName - The namespace name.
        context - The context to associate with this operation.
        Returns:
        all the Event Hubs in a service bus Namespace.
        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.