AuthorizationRule<RuleT> Interface

Type Parameters

RuleT

the specific rule type

public interface AuthorizationRule<RuleT extends AuthorizationRule> extends IndependentChildResource<ServiceBusManager, SharedAccessAuthorizationRuleInner>,Refreshable

Type representing authorization rule.

Method Summary

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

Regenerates primary or secondary keys.

Observable<AuthorizationKeys> regenerateKeyAsync(Policykey policykey)

Regenerates primary or secondary keys.

List<AccessRights> rights()

Inherited Members

Method Details

getKeys

public AuthorizationKeys getKeys()

Returns:

the primary, secondary keys and connection strings

getKeysAsync

public Observable getKeysAsync()

Returns:

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

regenerateKey

public AuthorizationKeys regenerateKey(Policykey policykey)

Regenerates primary or secondary keys.

Parameters:

policykey - the key to regenerate

Returns:

primary, secondary keys and connection strings

regenerateKeyAsync

public 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 List rights()

Returns:

rights associated with the rule

Applies to