IWithEventHub.WithExistingEventHub Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WithExistingEventHub(IEventHub) |
Specifies that authorization rule needs to be created for the given event hub. |
WithExistingEventHub(String, String, String) |
Specifies that authorization rule needs to be created for the given event hub. |
WithExistingEventHub(IEventHub)
Specifies that authorization rule needs to be created for the given event hub.
public Microsoft.Azure.Management.Eventhub.Fluent.EventHubAuthorizationRule.Definition.IWithAccessPolicy WithExistingEventHub (Microsoft.Azure.Management.Eventhub.Fluent.IEventHub eventHub);
abstract member WithExistingEventHub : Microsoft.Azure.Management.Eventhub.Fluent.IEventHub -> Microsoft.Azure.Management.Eventhub.Fluent.EventHubAuthorizationRule.Definition.IWithAccessPolicy
Public Function WithExistingEventHub (eventHub As IEventHub) As IWithAccessPolicy
Parameters
- eventHub
- IEventHub
The event hub.
Returns
Applies to
WithExistingEventHub(String, String, String)
Specifies that authorization rule needs to be created for the given event hub.
public Microsoft.Azure.Management.Eventhub.Fluent.EventHubAuthorizationRule.Definition.IWithAccessPolicy WithExistingEventHub (string resourceGroupName, string namespaceName, string eventHubName);
abstract member WithExistingEventHub : string * string * string -> Microsoft.Azure.Management.Eventhub.Fluent.EventHubAuthorizationRule.Definition.IWithAccessPolicy
Public Function WithExistingEventHub (resourceGroupName As String, namespaceName As String, eventHubName As String) As IWithAccessPolicy
Parameters
- resourceGroupName
- String
Event hub namespace resource group name.
- namespaceName
- String
Event hub parent namespace name.
- eventHubName
- String
Event hub name.