Share via


EventHub.EventHubsCreateOrUpdateWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventhub> EventHubsCreateOrUpdateWithResult (string subscriptionId, string resourceGroupName, string namespaceName, string eventHubName, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventhub 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.EventHubsCreateOrUpdateWithResult : string * string * string * string * Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IEventhub * 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.IEventhub>
Public Function EventHubsCreateOrUpdateWithResult (subscriptionId As String, resourceGroupName As String, namespaceName As String, eventHubName As String, body As IEventhub, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IEventhub)

Parameters

subscriptionId
String
resourceGroupName
String
namespaceName
String
eventHubName
String
body
IEventhub
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to