你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithNamespace.WithExistingNamespace 方法

定义

重载

WithExistingNamespace(IEventHubNamespace)

指定需要为给定的事件中心命名空间创建授权规则。

WithExistingNamespace(String, String)

指定需要为给定的事件中心命名空间创建授权规则。

WithExistingNamespace(IEventHubNamespace)

指定需要为给定的事件中心命名空间创建授权规则。

public Microsoft.Azure.Management.Eventhub.Fluent.EventHubNamespaceAuthorizationRule.Definition.IWithAccessPolicy WithExistingNamespace (Microsoft.Azure.Management.Eventhub.Fluent.IEventHubNamespace nhNamespace);
abstract member WithExistingNamespace : Microsoft.Azure.Management.Eventhub.Fluent.IEventHubNamespace -> Microsoft.Azure.Management.Eventhub.Fluent.EventHubNamespaceAuthorizationRule.Definition.IWithAccessPolicy
Public Function WithExistingNamespace (nhNamespace As IEventHubNamespace) As IWithAccessPolicy

参数

nhNamespace
IEventHubNamespace

返回

适用于

WithExistingNamespace(String, String)

指定需要为给定的事件中心命名空间创建授权规则。

public Microsoft.Azure.Management.Eventhub.Fluent.EventHubNamespaceAuthorizationRule.Definition.IWithAccessPolicy WithExistingNamespace (string resourceGroupName, string namespaceName);
abstract member WithExistingNamespace : string * string -> Microsoft.Azure.Management.Eventhub.Fluent.EventHubNamespaceAuthorizationRule.Definition.IWithAccessPolicy
Public Function WithExistingNamespace (resourceGroupName As String, namespaceName As String) As IWithAccessPolicy

参数

resourceGroupName
String

命名空间资源组名称。

namespaceName
String

命名空间名称。

返回

适用于