Partager via


EventHubs Interface

Implements

public interface EventHubs
extends SupportsCreating<Blank>, SupportsDeletingById, SupportsGettingById<EventHub>, HasManager<EventHubsManager>

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 Mono<Void> 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 Mono<EventHub> getByNameAsync(String resourceGroupName, String namespaceName, String name)

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

abstract PagedIterable<EventHub> listByNamespace(String resourceGroupName, String namespaceName)

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

abstract PagedFlux<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 Mono 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 Mono 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 PagedIterable 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 PagedFlux 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