AuthorizationRule<RuleT> Interface

Type Parameters

RuleT

the specific authorization rule type

Implements

NestedResource HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager> HasInner<com.microsoft.azure.management.eventhub.implementation.AuthorizationRuleInner> Refreshable<RuleT>

public interface AuthorizationRule
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.

Method Summary

Modifier and Type Method and Description
abstract EventHubAuthorizationKey getKeys()
abstract rx.Observable<EventHubAuthorizationKey> getKeysAsync()
abstract EventHubAuthorizationKey regenerateKey(KeyType keyType)

Regenerates primary or secondary keys.

abstract rx.Observable<EventHubAuthorizationKey> regenerateKeyAsync(KeyType keyType)

Regenerates primary or secondary access keys.

abstract java.util.List<AccessRights> rights()

Method Details

getKeys

public abstract EventHubAuthorizationKey getKeys()

Returns:

the access keys (primary, secondary) and the connection strings

getKeysAsync

public abstract Observable getKeysAsync()

Returns:

a representation of the deferred computation of this call, returning access keys (primary, secondary) and the connection strings

regenerateKey

public abstract 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

regenerateKeyAsync

public abstract Observable 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

rights

public abstract List rights()

Returns:

rights associated with the authorization rule

Applies to