Interface EventHubs

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<EventHubsManager>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating<EventHub.DefinitionStages.Blank>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById<EventHub>

public interface EventHubs extends com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating<EventHub.DefinitionStages.Blank>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById<EventHub>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<EventHubsManager>
Entry point to manage event hubs.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets entry point to manage authorization rules of event hubs..
    Gets entry point to manage consumer group of event hubs.
    void
    deleteByName(String resourceGroupName, String namespaceName, String name)
    Deletes an event hub in a namespace under a resource group.
    deleteByNameAsync(String resourceGroupName, String namespaceName, String name)
    Deletes an event hub in a namespace under a resource group.
    getByName(String resourceGroupName, String namespaceName, String name)
    Gets an event hub in a namespace under a resource group.
    getByNameAsync(String resourceGroupName, String namespaceName, String name)
    Gets an event hub in a namespace under a resource group.
    com.azure.core.http.rest.PagedIterable<EventHub>
    listByNamespace(String resourceGroupName, String namespaceName)
    Lists the event hubs in a namespace under a resource group.
    com.azure.core.http.rest.PagedFlux<EventHub>
    listByNamespaceAsync(String resourceGroupName, String namespaceName)
    Lists the event hubs in a namespace under a resource group.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager

    manager

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating

    define

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById

    deleteById, deleteByIdAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById

    getById, getByIdAsync
  • Method Details

    • authorizationRules

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

      EventHubConsumerGroups consumerGroups()
      Gets entry point to manage consumer group of event hubs.
      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