EventHubConsumerGroups Interface

Implements

SupportsGettingById<EventHubConsumerGroup> HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager> SupportsCreating<Blank> SupportsDeletingById HasInner<com.microsoft.azure.management.eventhub.implementation.ConsumerGroupsInner>

public interface EventHubConsumerGroups
extends SupportsCreating<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 Type Method and Description
abstract 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.

abstract 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.

abstract 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.

abstract 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.

abstract 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.

abstract 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.

Method Details

deleteByName

public abstract 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

deleteByNameAsync

public abstract 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 name
namespaceName - event hub parent namespace name
eventHubName - event hub name
name - consumer group name

Returns:

the completable representing the task

getByName

public abstract 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

getByNameAsync

public abstract Observable 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

listByEventHub

public abstract PagedList 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

public abstract Observable 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

Applies to