다음을 통해 공유


AuthorizationRule<RuleT> Interface

Type Parameters

RuleT

the specific authorization rule type

Implements

public interface AuthorizationRule
extends NestedResource, HasInnerModel<AuthorizationRuleInner>, HasManager<EventHubsManager>, Refreshable<RuleT>

The base type representing authorization rule of event hub namespace and event hub.

Method Summary

Modifier and Type Method and Description
abstract EventHubAuthorizationKey getKeys()
abstract Mono<EventHubAuthorizationKey> getKeysAsync()
abstract EventHubAuthorizationKey regenerateKey(KeyType keyType)

Regenerates primary or secondary keys.

abstract Mono<EventHubAuthorizationKey> regenerateKeyAsync(KeyType keyType)

Regenerates primary or secondary access keys.

abstract List<AccessRights> rights()

Method Details

getKeys

public abstract EventHubAuthorizationKey getKeys()

Returns:

the access keys (primary, secondary) and the connection strings

getKeysAsync

public abstract Mono getKeysAsync()

Returns:

a representation of the deferred computation of this call, returning access keys (primary, secondary) and the connection strings

regenerateKey

public abstract EventHubAuthorizationKey regenerateKey(KeyType keyType)

Regenerates primary or secondary keys.

Parameters:

keyType - the key to regenerate

Returns:

the access keys (primary, secondary) and the connection strings

regenerateKeyAsync

public abstract Mono regenerateKeyAsync(KeyType keyType)

Regenerates primary or secondary access keys.

Parameters:

keyType - the key to regenerate

Returns:

a representation of the deferred computation of this call, returning access keys (primary, secondary) and the connection strings

rights

public abstract List rights()

Returns:

rights associated with the authorization rule

Applies to