IServerDisasterRecoveryConfigurationOperations.BeginCreateOrUpdateAsync Method

Definition

Begins creating a new or updating an existing Azure SQL Server disaster recovery configuration. To determine the status of the operation call GetServerDisasterRecoveryConfigurationOperationStatus.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerDisasterRecoveryConfigurationCreateOrUpdateResponse> BeginCreateOrUpdateAsync (string resourceGroupName, string serverName, string serverDisasterRecoveryConfigurationName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerDisasterRecoveryConfigurationCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member BeginCreateOrUpdateAsync : string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerDisasterRecoveryConfigurationCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerDisasterRecoveryConfigurationCreateOrUpdateResponse>
Public Function BeginCreateOrUpdateAsync (resourceGroupName As String, serverName As String, serverDisasterRecoveryConfigurationName As String, parameters As ServerDisasterRecoveryConfigurationCreateOrUpdateParameters, cancellationToken As CancellationToken) As Task(Of ServerDisasterRecoveryConfigurationCreateOrUpdateResponse)

Parameters

resourceGroupName
String

The name of the Resource Group to which the Azure SQL Server belongs.

serverName
String

The name of the Azure SQL Server.

serverDisasterRecoveryConfigurationName
String

The name of the Azure SQL Server disaster recovery configuration to be operated on (Updated or created).

parameters
ServerDisasterRecoveryConfigurationCreateOrUpdateParameters

The required parameters for creating or updating a Server disaster recovery configuration.

cancellationToken
CancellationToken

Cancellation token.

Returns

Response for long running Azure Sql server disaster recovery configuration operation.

Applies to