Interface AuthorizationRule<RuleT extends AuthorizationRule<RuleT>>

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

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

      • 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