你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EventHub.DisasterRecoveryConfigsCreateOrUpdateWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IArmDisasterRecovery> DisasterRecoveryConfigsCreateOrUpdateWithResult (string subscriptionId, string resourceGroupName, string namespaceName, string alias, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IArmDisasterRecovery body, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.DisasterRecoveryConfigsCreateOrUpdateWithResult : string * string * string * string * Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IArmDisasterRecovery * Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IArmDisasterRecovery>
Public Function DisasterRecoveryConfigsCreateOrUpdateWithResult (subscriptionId As String, resourceGroupName As String, namespaceName As String, alias As String, body As IArmDisasterRecovery, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IArmDisasterRecovery)

Parameters

subscriptionId
String
resourceGroupName
String
namespaceName
String
alias
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to