Share via


DataSyncOperationsExtensions.BeginCreateOrUpdateSyncAgent Method

Definition

Begin creating a new sync group. To determine the status of the operation, call GetCreateOrUpdateSyncAgentOperationStatus.

public static Microsoft.Azure.Management.Sql.LegacySdk.Models.SyncAgentCreateOrUpdateResponse BeginCreateOrUpdateSyncAgent (this Microsoft.Azure.Management.Sql.LegacySdk.IDataSyncOperations operations, string resourceGroupName, string serverName, string syncAgentName, Microsoft.Azure.Management.Sql.LegacySdk.Models.SyncAgentCreateOrUpdateParameters parameters);
static member BeginCreateOrUpdateSyncAgent : Microsoft.Azure.Management.Sql.LegacySdk.IDataSyncOperations * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.SyncAgentCreateOrUpdateParameters -> Microsoft.Azure.Management.Sql.LegacySdk.Models.SyncAgentCreateOrUpdateResponse
<Extension()>
Public Function BeginCreateOrUpdateSyncAgent (operations As IDataSyncOperations, resourceGroupName As String, serverName As String, syncAgentName As String, parameters As SyncAgentCreateOrUpdateParameters) As SyncAgentCreateOrUpdateResponse

Parameters

operations
IDataSyncOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IDataSyncOperations.

resourceGroupName
String

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

serverName
String

Required. Specifies the Azure SQL server name.

syncAgentName
String

Required. Specifies the sync agent name.

parameters
SyncAgentCreateOrUpdateParameters

Required. Specifies other parameters of creating the sync agent.

Returns

Represent the response of create or update a sync agent.

Applies to