{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-sql-syncagents","description":"SqlManagementClient","version":"2015-05-01-preview","base_url":"https://management.azure.com","endpoints":6,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api SqlManagementClient\n@base https://management.azure.com\n@version 2015-05-01-preview\n@auth OAuth2\n@common_fields {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server on which the sync agent is hosted., subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}\n@endpoints 6\n@toc subscriptions(6)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/syncAgents/{syncAgentName}\n@desc Gets a sync agent.\n@required {syncAgentName: any # The name of the sync agent.}\n@returns(200) Successfully retrieved the specified sync agent.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/syncAgents/{syncAgentName}\n@desc Creates or updates a sync agent.\n@required {syncAgentName: any # The name of the sync agent., parameters: map # The requested sync agent resource state.}\n@returns(200) Successfully updated the sync agent.\n@returns(201) Successfully created the sync agent.\n@returns(202) Creating or updating the sync agent is in progress.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/syncAgents/{syncAgentName}\n@desc Deletes a sync agent.\n@required {syncAgentName: any # The name of the sync agent.}\n@returns(200) Successfully deleted the sync agent.\n@returns(202) Deleting the sync agent is in progress.\n@returns(204) The specified sync agent does not exist.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/syncAgents\n@desc Lists sync agents in a server.\n@returns(200) Successfully retrieved the list of sync agents.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/syncAgents/{syncAgentName}/generateKey\n@desc Generates a sync agent key.\n@required {syncAgentName: any # The name of the sync agent.}\n@returns(200) Successfully generate a sync agent key.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/syncAgents/{syncAgentName}/linkedDatabases\n@desc Lists databases linked to a sync agent.\n@required {syncAgentName: any # The name of the sync agent.}\n@returns(200) Successfully retrieved sync agent linked SQL server databases.\n\n@end\n"}