Sdílet prostřednictvím


AzureSqlDataSyncAdapter.CreateSyncAgentModelFromResponse Method

Definition

Converts the response from the service to a powershell sync agent object

public static Microsoft.Azure.Commands.Sql.DataSync.Model.AzureSqlSyncAgentModel CreateSyncAgentModelFromResponse (string resourceGroupName, string serverName, Microsoft.Azure.Management.Sql.LegacySdk.Models.SyncAgent syncAgent);
static member CreateSyncAgentModelFromResponse : string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.SyncAgent -> Microsoft.Azure.Commands.Sql.DataSync.Model.AzureSqlSyncAgentModel
Public Shared Function CreateSyncAgentModelFromResponse (resourceGroupName As String, serverName As String, syncAgent As SyncAgent) As AzureSqlSyncAgentModel

Parameters

resourceGroupName
String

The resource group the agent is in

serverName
String

The server name

syncAgent
SyncAgent

The sync agent object from the response

Returns

The converted model

Applies to