Interface AuthorizationRule<RuleT extends AuthorizationRule<RuleT>>
- Type Parameters:
RuleT
- the specific authorization rule type
- All Superinterfaces:
HasInner<com.microsoft.azure.management.eventhub.implementation.AuthorizationRuleInner>
,HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>
,Indexable
,NestedResource
,Refreshable<RuleT>
- All Known Subinterfaces:
EventHubAuthorizationRule
,EventHubNamespaceAuthorizationRule
@Beta(V1_7_0)
public interface AuthorizationRule<RuleT extends AuthorizationRule<RuleT>>
extends NestedResource, HasInner<com.microsoft.azure.management.eventhub.implementation.AuthorizationRuleInner>, HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>, Refreshable<RuleT>
The base type representing authorization rule of event hub namespace and event hub.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic 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 TypeMethodDescriptiongetKeys()
rx.Observable<EventHubAuthorizationKey>
regenerateKey
(KeyType keyType) Regenerates primary or secondary keys.rx.Observable<EventHubAuthorizationKey>
regenerateKeyAsync
(KeyType keyType) Regenerates primary or secondary access keys.rights()
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
manager
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
key
Methods inherited from interface com.microsoft.azure.management.eventhub.NestedResource
id, name, type
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Method Details
-
rights
- Returns:
- rights associated with the authorization rule
-
getKeysAsync
- Returns:
- a representation of the deferred computation of this call, returning access keys (primary, secondary) and the connection strings
-
getKeys
- Returns:
- the access keys (primary, secondary) and the connection strings
-
regenerateKeyAsync
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
Regenerates primary or secondary keys.- Parameters:
keyType
- the key to regenerate- Returns:
- the access keys (primary, secondary) and the connection strings
-