Share via


EventGrid.DomainsCreateOrUpdateWithResult Method

Definition

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

Parameters

subscriptionId
String
resourceGroupName
String
domainName
String
body
IDomain
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to