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.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceGrouping of commons authorization rule definition stages shared between different Service Bus entities (namespace, queue, topic, subscription) access rules.static interfaceGrouping of commons authorization rule update stages shared between different Service Bus entities (namespace, queue, topic, subscription) access rules.Nested classes/interfaces inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T> -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetKeys()Gets the primary, secondary keys and connection strings.Gets a representation of the deferred computation.regenerateKey(KeyType keyType) Regenerates primary or secondary keys.regenerateKey(RegenerateAccessKeyParameters regenerateAccessKeyParameters) Regenerates primary or secondary keys.regenerateKeyAsync(KeyType keyType) Regenerates primary or secondary keys.regenerateKeyAsync(RegenerateAccessKeyParameters regenerateAccessKeyParameters) Regenerates primary or secondary keys.rights()Gets the rights associated with the rule.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupNameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
region, regionName, tags, type
-
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
AuthorizationKeys 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
Regenerates primary or secondary keys.- Parameters:
regenerateAccessKeyParameters- the parameters for the key to regenerate- Returns:
- primary, secondary keys and connection strings
-
regenerateKey
Regenerates primary or secondary keys.- Parameters:
keyType- the type for the key to regenerate- Returns:
- primary, secondary keys and connection strings
-
regenerateKeyAsync
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
-