Sdílet prostřednictvím


EventGrid.TopicEventSubscriptionsCreateOrUpdateWithResult Method

Definition

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

Parameters

subscriptionId
String
resourceGroupName
String
topicName
String
eventSubscriptionName
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to