Interface EventHubAuthorizationRule.DefinitionStages.WithEventHub

All Known Subinterfaces:
EventHubAuthorizationRule.Definition, EventHubAuthorizationRule.DefinitionStages.Blank
Enclosing interface:
EventHubAuthorizationRule.DefinitionStages

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 Details

    • withExistingEventHubId

      EventHubAuthorizationRule.DefinitionStages.WithAccessPolicy withExistingEventHubId(String eventHubResourceId)
      Specifies that authorization rule needs to be created for the given event hub.
      Parameters:
      eventHubResourceId - the resource id of the event Hub
      Returns:
      the next stage of the definition
    • withExistingEventHub

      EventHubAuthorizationRule.DefinitionStages.WithAccessPolicy withExistingEventHub(String resourceGroupName, String namespaceName, String eventHubName)
      Specifies that authorization rule needs to be created for the given event hub.
      Parameters:
      resourceGroupName - event hub namespace resource group name
      namespaceName - event hub parent namespace name
      eventHubName - event hub name
      Returns:
      the next stage of the definition
    • withExistingEventHub

      Specifies that authorization rule needs to be created for the given event hub.
      Parameters:
      eventHub - the event hub
      Returns:
      the next stage of the definition