IDataSyncOperations.CreateOrUpdateSyncGroupAsync Method

Definition

Create a new sync group with the specified parameters.

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

Parameters

resourceGroupName
String

Specifies the name of the resource group the sync group belongs to.

serverName
String

Specifies the Azure SQL server name.

databaseName
String

Specifies the Azure SQL database name.

parameters
SyncGroupCreateOrUpdateParameters

Specifies other parameters of creating a data sync group

cancellationToken
CancellationToken

Cancellation token.

Returns

Represent the response of create or update a sync group.

Applies to