Partilhar via


EventHubNamespaceAuthorizationRules Interface

Implements

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

public interface EventHubNamespaceAuthorizationRules
extends SupportsCreating<Blank>, SupportsDeletingById, SupportsGettingById<EventHubNamespaceAuthorizationRule>, HasInner<com.microsoft.azure.management.eventhub.implementation.NamespacesInner>, HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>

Entry point to manage event hub namespace authorization rules.

Method Summary

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

Deletes an authorization rule under a namespace in a resource group.

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

Deletes an authorization rule under a namespace in a resource group.

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

Gets an authorization rule under a namespace in a resource group.

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

Gets an authorization rule under a namespace in a resource group.

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

Lists the authorization rules under a namespace in a resource group.

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

Lists the authorization rules under a namespace in a resource group.

Method Details

deleteByName

public abstract void deleteByName(String resourceGroupName, String namespaceName, String name)

Deletes an authorization rule under a namespace in a resource group.

Parameters:

resourceGroupName - resource group name
namespaceName - namespace name
name - authorization rule name

deleteByNameAsync

public abstract Completable deleteByNameAsync(String resourceGroupName, String namespaceName, String name)

Deletes an authorization rule under a namespace in a resource group.

Parameters:

resourceGroupName - resource group name
namespaceName - namespace name
name - authorization rule name

Returns:

the completable representing the task

getByName

public abstract EventHubNamespaceAuthorizationRule getByName(String resourceGroupName, String namespaceName, String name)

Gets an authorization rule under a namespace in a resource group.

Parameters:

resourceGroupName - resource group name
namespaceName - namespace name
name - authorization rule name

Returns:

the authorization rule

getByNameAsync

public abstract Observable getByNameAsync(String resourceGroupName, String namespaceName, String name)

Gets an authorization rule under a namespace in a resource group.

Parameters:

resourceGroupName - resource group name
namespaceName - namespace name
name - authorization rule name

Returns:

observable that emits the authorization rule

listByNamespace

public abstract PagedList listByNamespace(String resourceGroupName, String namespaceName)

Lists the authorization rules under a namespace in a resource group.

Parameters:

resourceGroupName - resource group name
namespaceName - namespace name

Returns:

list of authorization rules

listByNamespaceAsync

public abstract Observable listByNamespaceAsync(String resourceGroupName, String namespaceName)

Lists the authorization rules under a namespace in a resource group.

Parameters:

resourceGroupName - resource group name
namespaceName - namespace name

Returns:

observable that emits the authorization rules

Applies to