你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
EventGrid.DomainEventSubscriptionsCreateOrUpdateWithResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IEventSubscription> DomainEventSubscriptionsCreateOrUpdateWithResult (string subscriptionId, string resourceGroupName, string domainName, 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.DomainEventSubscriptionsCreateOrUpdateWithResult : 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 DomainEventSubscriptionsCreateOrUpdateWithResult (subscriptionId As String, resourceGroupName As String, domainName 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
- domainName
- String
- eventSubscriptionName
- String
- body
- IEventSubscription
- eventListener
- IEventListener
- sender
- ISendAsync
- serializationMode
- SerializationMode