Interface AuthorizationRule<RuleT extends AuthorizationRule<RuleT>>

Type Parameters:
RuleT - the specific rule type
All Superinterfaces:
GroupableResource<ServiceBusManager,SBAuthorizationRuleInner>, HasId, HasInnerModel<SBAuthorizationRuleInner>, HasManager<ServiceBusManager>, HasName, HasResourceGroup, IndependentChild<ServiceBusManager>, IndependentChildResource<ServiceBusManager,SBAuthorizationRuleInner>, Indexable, Refreshable<RuleT>, Resource
All Known Subinterfaces:
NamespaceAuthorizationRule, QueueAuthorizationRule, TopicAuthorizationRule

public interface AuthorizationRule<RuleT extends AuthorizationRule<RuleT>> extends IndependentChildResource<ServiceBusManager,SBAuthorizationRuleInner>, Refreshable<RuleT>
Type representing authorization rule.
  • Method Details

    • rights

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

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

      Gets the primary, secondary keys and connection strings.
      Returns:
      the primary, secondary keys and connection strings
    • regenerateKeyAsync

      Mono<AuthorizationKeys> regenerateKeyAsync(RegenerateAccessKeyParameters regenerateAccessKeyParameters)
      Regenerates primary or secondary keys.
      Parameters:
      regenerateAccessKeyParameters - the parameters for the key to regenerate
      Returns:
      a representation of the deferred computation of this call, returning the primary, secondary keys and the connection strings
    • regenerateKey

      AuthorizationKeys regenerateKey(RegenerateAccessKeyParameters regenerateAccessKeyParameters)
      Regenerates primary or secondary keys.
      Parameters:
      regenerateAccessKeyParameters - the parameters for the key to regenerate
      Returns:
      primary, secondary keys and connection strings
    • regenerateKey

      AuthorizationKeys regenerateKey(KeyType keyType)
      Regenerates primary or secondary keys.
      Parameters:
      keyType - the type for the key to regenerate
      Returns:
      primary, secondary keys and connection strings
    • regenerateKeyAsync

      Mono<AuthorizationKeys> regenerateKeyAsync(KeyType keyType)
      Regenerates primary or secondary keys.
      Parameters:
      keyType - the type for the key to regenerate
      Returns:
      a representation of the deferred computation of this call, returning the primary, secondary keys and the connection strings