EventHubAuthorizationRule.DefinitionStages.WithEventHub Interface
public static interface EventHubAuthorizationRule.DefinitionStages.WithEventHub
Stage of the authorization rule definition allowing to specify the event for which rule needs to be created.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withExistingEventHub(EventHub eventHub)
Specifies that authorization rule needs to be created for the given event hub. |
abstract
With |
withExistingEventHub(String resourceGroupName, String namespaceName, String eventHubName)
Specifies that authorization rule needs to be created for the given event hub. |
abstract
With |
withExistingEventHubId(String eventHubResourceId)
Specifies that authorization rule needs to be created for the given event hub. |
Method Details
withExistingEventHub
public abstract EventHubAuthorizationRule.DefinitionStages.WithAccessPolicy withExistingEventHub(EventHub eventHub)
Specifies that authorization rule needs to be created for the given event hub.
Parameters:
Returns:
withExistingEventHub
public abstract EventHubAuthorizationRule.DefinitionStages.WithAccessPolicy withExistingEventHub(String resourceGroupName, String namespaceName, String eventHubName)
Specifies that authorization rule needs to be created for the given event hub.
Parameters:
Returns:
withExistingEventHubId
public abstract EventHubAuthorizationRule.DefinitionStages.WithAccessPolicy withExistingEventHubId(String eventHubResourceId)
Specifies that authorization rule needs to be created for the given event hub.
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