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

EventHub.EventHubsCreateOrUpdateAuthorizationRuleWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IAuthorizationRule> EventHubsCreateOrUpdateAuthorizationRuleWithResult (string subscriptionId, string resourceGroupName, string namespaceName, string eventHubName, string authorizationRuleName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IAuthorizationRule body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.EventHubsCreateOrUpdateAuthorizationRuleWithResult : string * string * string * string * string * Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IAuthorizationRule * Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IAuthorizationRule>
Public Function EventHubsCreateOrUpdateAuthorizationRuleWithResult (subscriptionId As String, resourceGroupName As String, namespaceName As String, eventHubName As String, authorizationRuleName As String, body As IAuthorizationRule, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IAuthorizationRule)

Parameters

subscriptionId
String
resourceGroupName
String
namespaceName
String
eventHubName
String
authorizationRuleName
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to