EventHub.UpdateStages.WithAuthorizationRule Interface
public static interface EventHub.UpdateStages.WithAuthorizationRule
The stage of the event hub definition allowing to add an authorization rule for accessing the event hub.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withNewListenRule(String name)
Specifies that a new authorization rule should be created that has listen access to the event hub. |
abstract Update |
withNewManageRule(String name)
Specifies that a new authorization rule should be created that has manage access to the event hub. |
abstract Update |
withNewSendRule(String name)
Specifies that a new authorization rule should be created that has send access to the event hub. |
abstract Update |
withoutAuthorizationRule(String ruleName)
Specifies that an authorization rule associated with the event hub should be deleted. |
Method Details
withNewListenRule
public abstract EventHub.Update withNewListenRule(String name)
Specifies that a new authorization rule should be created that has listen access to the event hub.
Parameters:
Returns:
withNewManageRule
public abstract EventHub.Update withNewManageRule(String name)
Specifies that a new authorization rule should be created that has manage access to the event hub.
Parameters:
Returns:
withNewSendRule
public abstract EventHub.Update withNewSendRule(String name)
Specifies that a new authorization rule should be created that has send access to the event hub.
Parameters:
Returns:
withoutAuthorizationRule
public abstract EventHub.Update withoutAuthorizationRule(String ruleName)
Specifies that an authorization rule associated with the event hub should be deleted.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for