DataSyncOperationsExtensions.CreateSyncAgentKey Method

Definition

Generate a sync agent registration key for a specified sync agent.

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

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 the sync agent belongs to.

syncAgentName
String

Required. Specifies the sync agent name.

Returns

Represents the response to a sync agent key generate request.

Applies to