Interface AuthorizationRule<RuleT extends AuthorizationRule<RuleT>>

Type Parameters:
RuleT - the specific authorization rule type
All Superinterfaces:
HasInnerModel<AuthorizationRuleInner>, HasManager<EventHubsManager>, Indexable, NestedResource, Refreshable<RuleT>
All Known Subinterfaces:
EventHubAuthorizationRule, EventHubNamespaceAuthorizationRule

public interface AuthorizationRule<RuleT extends AuthorizationRule<RuleT>> extends NestedResource, HasInnerModel<AuthorizationRuleInner>, HasManager<EventHubsManager>, Refreshable<RuleT>
The base type representing authorization rule of event hub namespace and event hub.
  • Method Details

    • rights

      List<AccessRights> rights()
      Returns:
      rights associated with the authorization rule
    • getKeysAsync

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

      Returns:
      the access keys (primary, secondary) and the connection strings
    • regenerateKeyAsync

      Mono<EventHubAuthorizationKey> 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
    • regenerateKey

      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