ServiceBusSubscription.UpdateStages.WithAuthorizationRule Interface

public static interface ServiceBusSubscription.UpdateStages.WithAuthorizationRule

The stage of the queue definition allowing to add an authorization rule for accessing the subscription.

Method Summary

Modifier and Type Method and Description
abstract Update withNewAuthorizationRule(String name, AccessRights[] rights)

Creates an authorization rule for the subscription.

abstract Update withoutNewAuthorizationRule(String name)

Removes an authorization rule for the subscription.

Method Details

withNewAuthorizationRule

public abstract ServiceBusSubscription.Update withNewAuthorizationRule(String name, AccessRights[] rights)

Creates an authorization rule for the subscription.

Parameters:

name - rule name
rights - rule rights

Returns:

next stage of the subscription update

withoutNewAuthorizationRule

public abstract ServiceBusSubscription.Update withoutNewAuthorizationRule(String name)

Removes an authorization rule for the subscription.

Parameters:

name - rule name

Returns:

next stage of the subscription update

Applies to