Interface EventHubAuthorizationRule.DefinitionStages.WithEventHub

    • Method Detail

      • withExistingEventHubId

        @Beta(V1_7_0)
        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

        @Beta(V1_7_0)
        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