DataSyncOperationsExtensions.CreateSyncAgentKey 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.
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.