Interface AuthorizationRule<RuleT extends AuthorizationRule<RuleT>>

Type Parameters:
RuleT - the specific authorization rule type
All Superinterfaces:
HasInner<com.microsoft.azure.management.eventhub.implementation.AuthorizationRuleInner>, HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>, Indexable, NestedResource, Refreshable<RuleT>
All Known Subinterfaces:
EventHubAuthorizationRule, EventHubNamespaceAuthorizationRule

@Beta(V1_7_0) public interface AuthorizationRule<RuleT extends AuthorizationRule<RuleT>> extends NestedResource, HasInner<com.microsoft.azure.management.eventhub.implementation.AuthorizationRuleInner>, HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>, Refreshable<RuleT>
The base type representing authorization rule of event hub namespace and event hub.
  • Method Details

    • rights

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

      @Beta(V1_7_0) rx.Observable<EventHubAuthorizationKey> getKeysAsync()
      Returns:
      a representation of the deferred computation of this call, returning access keys (primary, secondary) and the connection strings
    • getKeys

      @Beta(V1_7_0) EventHubAuthorizationKey getKeys()
      Returns:
      the access keys (primary, secondary) and the connection strings
    • regenerateKeyAsync

      @Beta(V1_7_0) rx.Observable<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

      @Beta(V1_7_0) 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