IDataSyncOperations.CreateSyncAgentKeyAsync Method

Definition

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

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

Parameters

resourceGroupName
String

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

serverName
String

Specifies the Azure SQL server name the sync agent belongs to.

syncAgentName
String

Specifies the sync agent name.

cancellationToken
CancellationToken

Cancellation token.

Returns

Represents the response to a sync agent key generate request.

Applies to