AzureSqlDataSyncAdapter.CreateSyncAgentModelFromResponse 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.
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