Partilhar via


AuthorizationRule<RuleT> Interface

Type Parameters

RuleT

the specific rule type

Implements

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

Type representing authorization rule.

Method Summary

Modifier and Type Method and Description
abstract AuthorizationKeys getKeys()
abstract Mono<AuthorizationKeys> getKeysAsync()
abstract AuthorizationKeys regenerateKey(KeyType keyType)

Regenerates primary or secondary keys.

abstract AuthorizationKeys regenerateKey(RegenerateAccessKeyParameters regenerateAccessKeyParameters)

Regenerates primary or secondary keys.

abstract Mono<AuthorizationKeys> regenerateKeyAsync(KeyType keyType)

Regenerates primary or secondary keys.

abstract Mono<AuthorizationKeys> regenerateKeyAsync(RegenerateAccessKeyParameters regenerateAccessKeyParameters)

Regenerates primary or secondary keys.

abstract List<AccessRights> rights()

Method Details

getKeys

public abstract AuthorizationKeys getKeys()

Returns:

the primary, secondary keys and connection strings

getKeysAsync

public abstract Mono 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(KeyType keyType)

Regenerates primary or secondary keys.

Parameters:

keyType - the type for the key to regenerate

Returns:

primary, secondary keys and connection strings

regenerateKey

public abstract AuthorizationKeys regenerateKey(RegenerateAccessKeyParameters regenerateAccessKeyParameters)

Regenerates primary or secondary keys.

Parameters:

regenerateAccessKeyParameters - the parameters for the key to regenerate

Returns:

primary, secondary keys and connection strings

regenerateKeyAsync

public abstract Mono regenerateKeyAsync(KeyType keyType)

Regenerates primary or secondary keys.

Parameters:

keyType - the type for the key to regenerate

Returns:

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

regenerateKeyAsync

public abstract Mono regenerateKeyAsync(RegenerateAccessKeyParameters regenerateAccessKeyParameters)

Regenerates primary or secondary keys.

Parameters:

regenerateAccessKeyParameters - the parameters for 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