Interface EventHubs

All Superinterfaces:
HasManager<EventHubsManager>, SupportsCreating<EventHub.DefinitionStages.Blank>, SupportsDeletingById, SupportsGettingById<EventHub>

Entry point to manage event hubs.
  • Method Details

    • authorizationRules

      EventHubAuthorizationRules authorizationRules()
      Returns:
      entry point to manage authorization rules of event hubs.
    • consumerGroups

      EventHubConsumerGroups consumerGroups()
      Returns:
      entry point to manage consumer group of event hubs.
    • listByNamespace

      com.azure.core.http.rest.PagedIterable<EventHub> listByNamespace(String resourceGroupName, String namespaceName)
      Lists the event hubs in a namespace under a resource group.
      Parameters:
      resourceGroupName - resource group name
      namespaceName - namespace name
      Returns:
      list of event hubs
    • listByNamespaceAsync

      com.azure.core.http.rest.PagedFlux<EventHub> listByNamespaceAsync(String resourceGroupName, String namespaceName)
      Lists the event hubs in a namespace under a resource group.
      Parameters:
      resourceGroupName - resource group name
      namespaceName - namespace name
      Returns:
      observable that emits the event hubs
    • getByNameAsync

      Mono<EventHub> getByNameAsync(String resourceGroupName, String namespaceName, String name)
      Gets an event hub in a namespace under a resource group.
      Parameters:
      resourceGroupName - resource group name
      namespaceName - namespace name
      name - event hub name
      Returns:
      observable that emits the event hubs
    • getByName

      EventHub getByName(String resourceGroupName, String namespaceName, String name)
      Gets an event hub in a namespace under a resource group.
      Parameters:
      resourceGroupName - resource group name
      namespaceName - namespace name
      name - event hub name
      Returns:
      the event hubs
    • deleteByNameAsync

      Mono<Void> deleteByNameAsync(String resourceGroupName, String namespaceName, String name)
      Deletes an event hub in a namespace under a resource group.
      Parameters:
      resourceGroupName - resource group name
      namespaceName - namespace name
      name - event hub name
      Returns:
      the completable representing the task
    • deleteByName

      void deleteByName(String resourceGroupName, String namespaceName, String name)
      Deletes an event hub in a namespace under a resource group.
      Parameters:
      resourceGroupName - resource group name
      namespaceName - namespace name
      name - event hub name