DataSyncOperationsExtensions.CreateOrUpdateSyncAgentAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a new sync agent with the specified parameters.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.SyncAgentCreateOrUpdateResponse> CreateOrUpdateSyncAgentAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IDataSyncOperations operations, string resourceGroupName, string serverName, string syncAgentName, Microsoft.Azure.Management.Sql.LegacySdk.Models.SyncAgentCreateOrUpdateParameters parameters);
static member CreateOrUpdateSyncAgentAsync : Microsoft.Azure.Management.Sql.LegacySdk.IDataSyncOperations * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.SyncAgentCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.SyncAgentCreateOrUpdateResponse>
<Extension()>
Public Function CreateOrUpdateSyncAgentAsync (operations As IDataSyncOperations, resourceGroupName As String, serverName As String, syncAgentName As String, parameters As SyncAgentCreateOrUpdateParameters) As Task(Of 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.