Interface EventHubConsumerGroups
- All Superinterfaces:
HasInner<com.microsoft.azure.management.eventhub.implementation.ConsumerGroupsInner>,HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>,SupportsCreating<EventHubConsumerGroup.DefinitionStages.Blank>,SupportsDeletingById,SupportsGettingById<EventHubConsumerGroup>
@Beta(V1_7_0)
public interface EventHubConsumerGroups
extends SupportsCreating<EventHubConsumerGroup.DefinitionStages.Blank>, SupportsDeletingById, SupportsGettingById<EventHubConsumerGroup>, HasInner<com.microsoft.azure.management.eventhub.implementation.ConsumerGroupsInner>, HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>
Entry point to manage event hub consumer groups.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByName(String resourceGroupName, String namespaceName, String eventHubName, String name) Deletes a consumer group of an event hub in a namespace under a resource group.rx.CompletabledeleteByNameAsync(String resourceGroupName, String namespaceName, String eventHubName, String name) Deletes a consumer group of an event hub in a namespace under a resource group.Gets a consumer group of an event hub in a namespace under a resource group.rx.Observable<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.com.microsoft.azure.PagedList<EventHubConsumerGroup>listByEventHub(String resourceGroupName, String namespaceName, String eventHubName) Lists the consumer groups of an event hub in a namespace under a resource group.rx.Observable<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.microsoft.azure.management.resources.fluentcore.model.HasInner
innerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating
defineMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsync, deleteByIdAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsync, getByIdAsync
-
Method Details
-
listByEventHub
@Beta(V1_7_0) com.microsoft.azure.PagedList<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 namenamespaceName- event hub parent namespace nameeventHubName- event hub name- Returns:
- list of consumer groups
-
listByEventHubAsync
@Beta(V1_7_0) rx.Observable<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 namenamespaceName- event hub parent namespace nameeventHubName- event hub name- Returns:
- observable that emits the consumer groups
-
getByNameAsync
@Beta(V1_7_0) rx.Observable<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 namenamespaceName- event hub parent namespace nameeventHubName- event hub namename- consumer group name- Returns:
- observable that emits the consumer group
-
getByName
@Beta(V1_7_0) 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 namenamespaceName- event hub parent namespace nameeventHubName- event hub namename- consumer group name- Returns:
- the consumer group
-
deleteByNameAsync
@Beta(V1_7_0) rx.Completable 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 namenamespaceName- event hub parent namespace nameeventHubName- event hub namename- consumer group name- Returns:
- the completable representing the task
-
deleteByName
@Beta(V1_7_0) 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 namenamespaceName- event hub parent namespace nameeventHubName- event hub namename- consumer group name
-