Partager via


EventHubAuthorizationRules Interface

Implements

public interface EventHubAuthorizationRules
extends SupportsCreating<Blank>, SupportsDeletingById, SupportsGettingById<EventHubAuthorizationRule>, HasManager<EventHubsManager>

Entry point to manage event hub authorization rules.

Method Summary

Modifier and Type Method and Description
abstract void deleteByName(String resourceGroupName, String namespaceName, String eventHubName, String name)

Deletes an authorization rule of an event hub in a namespace under a resource group.

abstract Mono<Void> deleteByNameAsync(String resourceGroupName, String namespaceName, String eventHubName, String name)

Deletes an authorization rule of an event hub in a namespace under a resource group.

abstract EventHubAuthorizationRule getByName(String resourceGroupName, String namespaceName, String eventHubName, String name)

Gets an authorization rule of an event hub in a namespace under a resource group.

abstract Mono<EventHubAuthorizationRule> getByNameAsync(String resourceGroupName, String namespaceName, String eventHubName, String name)

Gets an authorization rule of an event hub in a namespace in a resource group.

abstract PagedIterable<EventHubAuthorizationRule> listByEventHub(String resourceGroupName, String namespaceName, String eventHubName)

Lists the authorization rules of an event hub in a namespace under a resource group.

abstract PagedFlux<EventHubAuthorizationRule> listByEventHubAsync(String resourceGroupName, String namespaceName, String eventHubName)

Lists the authorization rules 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 an authorization rule 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 - authorization rule name

deleteByNameAsync

public abstract Mono deleteByNameAsync(String resourceGroupName, String namespaceName, String eventHubName, String name)

Deletes an authorization rule 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 - authorization rule name

Returns:

the completable representing the task

getByName

public abstract EventHubAuthorizationRule getByName(String resourceGroupName, String namespaceName, String eventHubName, String name)

Gets an authorization rule 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 - authorization rule name

Returns:

the authorization rule

getByNameAsync

public abstract Mono getByNameAsync(String resourceGroupName, String namespaceName, String eventHubName, String name)

Gets an authorization rule 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 - authorization rule name

Returns:

observable that emits the authorization rule

listByEventHub

public abstract PagedIterable listByEventHub(String resourceGroupName, String namespaceName, String eventHubName)

Lists the authorization rules 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 authorization rules

listByEventHubAsync

public abstract PagedFlux listByEventHubAsync(String resourceGroupName, String namespaceName, String eventHubName)

Lists the authorization rules 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 authorization rules

Applies to