Share via


IFailoverGroupOperations.BeginCreateOrUpdateAsync Method

Definition

Begins creating a new Azure SQL Database Failover Group or updating an existing Azure SQL Database Failover Group. To determine the status of the operation call GetFailoverGroupOperationStatus.

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

Parameters

resourceGroupName
String

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

serverName
String

The name of the Azure SQL Database Server on which the database is hosted.

failoverGroupName
String

The name of the Azure SQL Database Failover Group to be operated on (Updated or created).

parameters
FailoverGroupCreateOrUpdateParameters

The required parameters for createing or updating an Failover Group.

cancellationToken
CancellationToken

Cancellation token.

Returns

Response for long running Azure Sql Database Failover Group operation.

Applies to