Share via


EventGrid.PartnerRegistrationsCreateOrUpdateWithResult Method

Definition

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

Parameters

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

Returns

Applies to