Share via


EventGrid.PartnerDestinationsCreateOrUpdateWithResult Method

Definition

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

Parameters

subscriptionId
String
resourceGroupName
String
partnerDestinationName
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to