共用方式為


IWithEventHub.WithExistingEventHub Method

Definition

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.

Returns

Applies to