共用方式為


IWithEventHub.WithExistingEventHubId(String) Method

Definition

Specifies that authorization rule needs to be created for the given event hub.

public Microsoft.Azure.Management.Eventhub.Fluent.EventHubAuthorizationRule.Definition.IWithAccessPolicy WithExistingEventHubId (string eventHubResourceId);
abstract member WithExistingEventHubId : string -> Microsoft.Azure.Management.Eventhub.Fluent.EventHubAuthorizationRule.Definition.IWithAccessPolicy
Public Function WithExistingEventHubId (eventHubResourceId As String) As IWithAccessPolicy

Parameters

eventHubResourceId
String

The resource id of the event Hub.

Returns

Applies to