EventHubs Interface

Implements

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

public interface EventHubs
extends SupportsCreating<Blank>, SupportsDeletingById, SupportsGettingById<EventHub>, HasInner<com.microsoft.azure.management.eventhub.implementation.EventHubsInner>, HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>

Entry point to manage event hubs.

Method Summary

Modifier and Type Method and Description
abstract EventHubAuthorizationRules authorizationRules()
abstract EventHubConsumerGroups consumerGroups()
abstract void deleteByName(String resourceGroupName, String namespaceName, String name)

Deletes an event hub in a namespace under a resource group.

abstract rx.Completable deleteByNameAsync(String resourceGroupName, String namespaceName, String name)

Deletes an event hub in a namespace under a resource group.

abstract EventHub getByName(String resourceGroupName, String namespaceName, String name)

Gets an event hub in a namespace under a resource group.

abstract rx.Observable<EventHub> getByNameAsync(String resourceGroupName, String namespaceName, String name)

Gets an event hub in a namespace under a resource group.

abstract com.microsoft.azure.PagedList<EventHub> listByNamespace(String resourceGroupName, String namespaceName)

Lists the event hubs in a namespace under a resource group.

abstract rx.Observable<EventHub> listByNamespaceAsync(String resourceGroupName, String namespaceName)

Lists the event hubs in a namespace under a resource group.

Method Details

authorizationRules

public abstract EventHubAuthorizationRules authorizationRules()

Returns:

entry point to manage authorization rules of event hubs.

consumerGroups

public abstract EventHubConsumerGroups consumerGroups()

Returns:

entry point to manage consumer group of event hubs.

deleteByName

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

deleteByNameAsync

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

getByName

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

getByNameAsync

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

listByNamespace

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

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

Applies to