@Beta(value=V1_7_0)
public static interface EventHubAuthorizationRule.DefinitionStages.WithEventHub
| Modifier and Type | Method and Description |
|---|---|
EventHubAuthorizationRule.DefinitionStages.WithAccessPolicy |
withExistingEventHub(EventHub eventHub)
Specifies that authorization rule needs to be created for the given event hub.
|
EventHubAuthorizationRule.DefinitionStages.WithAccessPolicy |
withExistingEventHub(String resourceGroupName,
String namespaceName,
String eventHubName)
Specifies that authorization rule needs to be created for the given event hub.
|
EventHubAuthorizationRule.DefinitionStages.WithAccessPolicy |
withExistingEventHubId(String eventHubResourceId)
Specifies that authorization rule needs to be created for the given event hub.
|
@Beta(value=V1_7_0) EventHubAuthorizationRule.DefinitionStages.WithAccessPolicy withExistingEventHubId(String eventHubResourceId)
eventHubResourceId - the resource id of the event Hub@Beta(value=V1_7_0) EventHubAuthorizationRule.DefinitionStages.WithAccessPolicy withExistingEventHub(String resourceGroupName, String namespaceName, String eventHubName)
resourceGroupName - event hub namespace resource group namenamespaceName - event hub parent namespace nameeventHubName - event hub name@Beta(value=V1_7_0) EventHubAuthorizationRule.DefinitionStages.WithAccessPolicy withExistingEventHub(EventHub eventHub)
eventHub - the event hub /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/