EventHubNamespace.UpdateStages.WithAuthorizationRule Interface

public static interface EventHubNamespace.UpdateStages.WithAuthorizationRule

The stage of the event hub namespace update allowing to add authorization rule for accessing the event hub.

Method Summary

Modifier and Type Method and Description
abstract Update withNewListenRule(String ruleName)

Specifies that a new authorization rule should be created that has listen access to the event hub namespace.

abstract Update withNewManageRule(String ruleName)

Specifies that a new authorization rule should be created that has manage access to the event hub namespace.

abstract Update withNewSendRule(String ruleName)

Specifies that a new authorization rule should be created that has send access to the event hub namespace.

abstract Update withoutAuthorizationRule(String ruleName)

Deletes an authorization rule associated with the event hub namespace.

Method Details

withNewListenRule

public abstract EventHubNamespace.Update withNewListenRule(String ruleName)

Specifies that a new authorization rule should be created that has listen access to the event hub namespace.

Parameters:

ruleName - rule name

Returns:

next stage of the event hub namespace update

withNewManageRule

public abstract EventHubNamespace.Update withNewManageRule(String ruleName)

Specifies that a new authorization rule should be created that has manage access to the event hub namespace.

Parameters:

ruleName - rule name

Returns:

next stage of the event hub namespace update

withNewSendRule

public abstract EventHubNamespace.Update withNewSendRule(String ruleName)

Specifies that a new authorization rule should be created that has send access to the event hub namespace.

Parameters:

ruleName - rule name

Returns:

next stage of the event hub namespace update

withoutAuthorizationRule

public abstract EventHubNamespace.Update withoutAuthorizationRule(String ruleName)

Deletes an authorization rule associated with the event hub namespace.

Parameters:

ruleName - rule name

Returns:

next stage of the event hub namespace update

Applies to