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
Event |
getKeys()
Gets the access keys (primary, secondary) and the connection strings. |
abstract
Mono<Event |
getKeysAsync()
Gets a representation of the deferred computation. |
abstract
Event |
regenerateKey(KeyType keyType)
Regenerates primary or secondary keys. |
abstract
Mono<Event |
regenerateKeyAsync(KeyType keyType)
Regenerates primary or secondary access keys. |
abstract
List<Access |
rights()
Gets rights associated with the authorization rule. |
Method Details
getKeys
public abstract EventHubAuthorizationKey getKeys()
Gets the access keys (primary, secondary) and the connection strings.
Returns:
getKeysAsync
public abstract Mono
Gets a representation of the deferred computation.
Returns:
regenerateKey
public abstract EventHubAuthorizationKey regenerateKey(KeyType keyType)
Regenerates primary or secondary keys.
Parameters:
Returns:
regenerateKeyAsync
public abstract Mono
Regenerates primary or secondary access keys.
Parameters:
Returns:
rights
public abstract List
Gets rights associated with the authorization rule.
Returns: