Share via


EventHub.EventHubsCreateOrUpdateAuthorizationRuleViaIdentityWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IAuthorizationRule> EventHubsCreateOrUpdateAuthorizationRuleViaIdentityWithResult (string viaIdentity, 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.EventHubsCreateOrUpdateAuthorizationRuleViaIdentityWithResult : 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 EventHubsCreateOrUpdateAuthorizationRuleViaIdentityWithResult (viaIdentity 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

viaIdentity
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to