Partager via


EventHubAuthorizationRules Interface

Implements

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

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

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 rx.Completable 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 rx.Observable<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 com.microsoft.azure.PagedList<EventHubAuthorizationRule> listByEventHub(String resourceGroupName, String namespaceName, String eventHubName)

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

abstract rx.Observable<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 Completable 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 Observable 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 PagedList 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 Observable 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