DataSyncOperationsExtensions.CreateOrUpdateSyncAgent 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 Microsoft.Azure.Management.Sql.LegacySdk.Models.SyncAgentCreateOrUpdateResponse CreateOrUpdateSyncAgent (this Microsoft.Azure.Management.Sql.LegacySdk.IDataSyncOperations operations, string resourceGroupName, string serverName, string syncAgentName, Microsoft.Azure.Management.Sql.LegacySdk.Models.SyncAgentCreateOrUpdateParameters parameters);
static member CreateOrUpdateSyncAgent : 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 CreateOrUpdateSyncAgent (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.