EventHubNamespaceAuthorizationRules Interface

Implements

public interface EventHubNamespaceAuthorizationRules
extends SupportsCreating<Blank>, SupportsDeletingById, SupportsGettingById<EventHubNamespaceAuthorizationRule>, HasManager<EventHubsManager>

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

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

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

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

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