IDataSyncOperations.CreateOrUpdateSyncAgentAsync Method

Definition

Create a new sync agent with the specified parameters.

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

Parameters

resourceGroupName
String

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

serverName
String

Specifies the Azure SQL server name.

syncAgentName
String

Specifies the sync agent name.

parameters
SyncAgentCreateOrUpdateParameters

Specifies other parameters of creating the sync agent.

cancellationToken
CancellationToken

Cancellation token.

Returns

Represent the response of create or update a sync agent.

Applies to