Share via


EventGrid.TopicsCreateOrUpdateWithResult Method

Definition

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

Parameters

subscriptionId
String
resourceGroupName
String
topicName
String
body
ITopic
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to