Interface AuthorizationRule<RuleT extends AuthorizationRule<RuleT>>

Type Parameters:
RuleT - the specific rule type
All Superinterfaces:
GroupableResource<com.microsoft.azure.management.servicebus.implementation.ServiceBusManager,com.microsoft.azure.management.servicebus.implementation.SharedAccessAuthorizationRuleInner>, HasId, HasInner<com.microsoft.azure.management.servicebus.implementation.SharedAccessAuthorizationRuleInner>, HasManager<com.microsoft.azure.management.servicebus.implementation.ServiceBusManager>, HasName, HasResourceGroup, IndependentChild<com.microsoft.azure.management.servicebus.implementation.ServiceBusManager>, IndependentChildResource<com.microsoft.azure.management.servicebus.implementation.ServiceBusManager,com.microsoft.azure.management.servicebus.implementation.SharedAccessAuthorizationRuleInner>, Indexable, Refreshable<RuleT>, Resource
All Known Subinterfaces:
NamespaceAuthorizationRule, QueueAuthorizationRule, TopicAuthorizationRule

public interface AuthorizationRule<RuleT extends AuthorizationRule<RuleT>> extends IndependentChildResource<com.microsoft.azure.management.servicebus.implementation.ServiceBusManager,com.microsoft.azure.management.servicebus.implementation.SharedAccessAuthorizationRuleInner>, Refreshable<RuleT>
Type representing authorization rule.
  • Method Details

    • rights

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

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

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

      rx.Observable<AuthorizationKeys> regenerateKeyAsync(Policykey policykey)
      Regenerates primary or secondary keys.
      Parameters:
      policykey - 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(Policykey policykey)
      Regenerates primary or secondary keys.
      Parameters:
      policykey - the key to regenerate
      Returns:
      primary, secondary keys and connection strings