AuthorizationRule<RuleT> Interface

Type Parameters

RuleT

the specific rule type

Implements

IndependentChildResource<com.microsoft.azure.management.servicebus.implementation.ServiceBusManager,com.microsoft.azure.management.servicebus.implementation.SharedAccessAuthorizationRuleInner> Refreshable<RuleT>

public interface AuthorizationRule
extends IndependentChildResource<com.microsoft.azure.management.servicebus.implementation.ServiceBusManager,com.microsoft.azure.management.servicebus.implementation.SharedAccessAuthorizationRuleInner>, Refreshable<RuleT>

Type representing authorization rule.

Method Summary

Modifier and Type Method and Description
abstract AuthorizationKeys getKeys()
abstract rx.Observable<AuthorizationKeys> getKeysAsync()
abstract AuthorizationKeys regenerateKey(Policykey policykey)

Regenerates primary or secondary keys.

abstract rx.Observable<AuthorizationKeys> regenerateKeyAsync(Policykey policykey)

Regenerates primary or secondary keys.

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

Method Details

getKeys

public abstract AuthorizationKeys getKeys()

Returns:

the primary, secondary keys and connection strings

getKeysAsync

public abstract Observable getKeysAsync()

Returns:

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

regenerateKey

public abstract AuthorizationKeys regenerateKey(Policykey policykey)

Regenerates primary or secondary keys.

Parameters:

policykey - the key to regenerate

Returns:

primary, secondary keys and connection strings

regenerateKeyAsync

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

rights

public abstract List rights()

Returns:

rights associated with the rule

Applies to