Interface EventHubConsumerGroups

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

public interface EventHubConsumerGroups extends com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating<EventHubConsumerGroup.DefinitionStages.Blank>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById<EventHubConsumerGroup>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<EventHubsManager>
Entry point to manage event hub consumer groups.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteByName(String resourceGroupName, String namespaceName, String eventHubName, String name)
    Deletes a consumer group of an event hub in a namespace under a resource group.
    deleteByNameAsync(String resourceGroupName, String namespaceName, String eventHubName, String name)
    Deletes a consumer group of an event hub in a namespace under a resource group.
    getByName(String resourceGroupName, String namespaceName, String eventHubName, String name)
    Gets a consumer group of an event hub in a namespace under a resource group.
    getByNameAsync(String resourceGroupName, String namespaceName, String eventHubName, String name)
    Gets a consumer group of an event hub in a namespace in a resource group.
    com.azure.core.http.rest.PagedIterable<EventHubConsumerGroup>
    listByEventHub(String resourceGroupName, String namespaceName, String eventHubName)
    Lists the consumer groups of an event hub in a namespace under a resource group.
    com.azure.core.http.rest.PagedFlux<EventHubConsumerGroup>
    listByEventHubAsync(String resourceGroupName, String namespaceName, String eventHubName)
    Lists the consumer groups of an event hub 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

    • listByEventHub

      com.azure.core.http.rest.PagedIterable<EventHubConsumerGroup> listByEventHub(String resourceGroupName, String namespaceName, String eventHubName)
      Lists the consumer groups of an event hub in a namespace under a resource group.
      Parameters:
      resourceGroupName - namespace resource group name
      namespaceName - event hub parent namespace name
      eventHubName - event hub name
      Returns:
      list of consumer groups
    • listByEventHubAsync

      com.azure.core.http.rest.PagedFlux<EventHubConsumerGroup> listByEventHubAsync(String resourceGroupName, String namespaceName, String eventHubName)
      Lists the consumer groups of an event hub in a namespace under a resource group.
      Parameters:
      resourceGroupName - namespace resource group name
      namespaceName - event hub parent namespace name
      eventHubName - event hub name
      Returns:
      observable that emits the consumer groups
    • getByNameAsync

      Mono<EventHubConsumerGroup> getByNameAsync(String resourceGroupName, String namespaceName, String eventHubName, String name)
      Gets a consumer group of an event hub in a namespace in a resource group.
      Parameters:
      resourceGroupName - namespace resource group name
      namespaceName - event hub parent namespace name
      eventHubName - event hub name
      name - consumer group name
      Returns:
      observable that emits the consumer group
    • getByName

      EventHubConsumerGroup getByName(String resourceGroupName, String namespaceName, String eventHubName, String name)
      Gets a consumer group of an event hub in a namespace under a resource group.
      Parameters:
      resourceGroupName - namespace resource group name
      namespaceName - event hub parent namespace name
      eventHubName - event hub name
      name - consumer group name
      Returns:
      the consumer group
    • deleteByNameAsync

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

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