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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceAuthorizationRule.DefinitionStagesGrouping of commons authorization rule definition stages shared between event hub namespace authorization rule and event hub authorization rule.static interfaceAuthorizationRule.UpdateStagesGrouping of commons authorization rule update stages shared between event hub namespace authorization rule and event hub authorization rule.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventHubAuthorizationKeygetKeys()rx.Observable<EventHubAuthorizationKey>getKeysAsync()EventHubAuthorizationKeyregenerateKey(KeyType keyType)Regenerates primary or secondary keys.rx.Observable<EventHubAuthorizationKey>regenerateKeyAsync(KeyType keyType)Regenerates primary or secondary access keys.List<AccessRights>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
-
-
-
-
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
-
-