Interface AuthorizationRule<RuleT extends AuthorizationRule<RuleT>>

Type Parameters:
RuleT - the specific authorization rule type
All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<AuthorizationRuleInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<EventHubsManager>, com.azure.resourcemanager.resources.fluentcore.model.Indexable, NestedResource, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<RuleT>
All Known Subinterfaces:
EventHubAuthorizationRule, EventHubNamespaceAuthorizationRule

public interface AuthorizationRule<RuleT extends AuthorizationRule<RuleT>> extends NestedResource, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<AuthorizationRuleInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<EventHubsManager>, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<RuleT>
The base type representing authorization rule of event hub namespace and event hub.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Grouping of commons authorization rule definition stages shared between event hub namespace authorization rule and event hub authorization rule.
    static interface 
    Grouping of commons authorization rule update stages shared between event hub namespace authorization rule and event hub authorization rule.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the access keys (primary, secondary) and the connection strings.
    Gets a representation of the deferred computation.
    Regenerates primary or secondary keys.
    Regenerates primary or secondary access keys.
    Gets rights associated with the authorization rule.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel

    innerModel

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager

    manager

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable

    key

    Methods inherited from interface NestedResource

    id, name, type

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable

    refresh, refreshAsync
  • Method Details

    • rights

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

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

      Gets the access keys (primary, secondary) and the connection strings.
      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