你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

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

listByNamespace

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

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

Applies to