Sdílet prostřednictvím


DisasterRecoveryConfigsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a new Alias(Disaster Recovery configuration)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Models.ArmDisasterRecovery> CreateOrUpdateAsync (this Microsoft.Azure.Management.ServiceBus.IDisasterRecoveryConfigsOperations operations, string resourceGroupName, string namespaceName, string alias, Microsoft.Azure.Management.ServiceBus.Models.ArmDisasterRecovery parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ServiceBus.IDisasterRecoveryConfigsOperations * string * string * string * Microsoft.Azure.Management.ServiceBus.Models.ArmDisasterRecovery * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Models.ArmDisasterRecovery>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IDisasterRecoveryConfigsOperations, resourceGroupName As String, namespaceName As String, alias As String, parameters As ArmDisasterRecovery, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmDisasterRecovery)

Parameters

operations
IDisasterRecoveryConfigsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the Resource group within the Azure subscription.

namespaceName
String

The namespace name

alias
String

The Disaster Recovery configuration name

parameters
ArmDisasterRecovery

Parameters required to create an Alias(Disaster Recovery configuration)

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to