{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-sql-syncgroups","description":"SqlManagementClient","version":"2015-05-01-preview","base_url":"https://management.azure.com","endpoints":11,"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 {subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}\n@endpoints 11\n@toc subscriptions(11)\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/syncDatabaseIds\n@desc Gets a collection of sync database ids.\n@required {locationName: any # The name of the region where the resource is located.}\n@returns(200) Successfully retrieved collection of sync database ids.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/refreshHubSchema\n@desc Refreshes a hub database schema.\n@required {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., databaseName: any # The name of the database on which the sync group is hosted., syncGroupName: any # The name of the sync group.}\n@returns(200) Successfully refreshed a sync hub schema.\n@returns(202) The sync hub schema refresh operation is on going.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/hubSchemas\n@desc Gets a collection of hub database schemas.\n@required {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., databaseName: any # The name of the database on which the sync group is hosted., syncGroupName: any # The name of the sync group.}\n@returns(200) Successfully get a sync group hub database schema.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/logs\n@desc Gets a collection of sync group logs.\n@required {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., databaseName: any # The name of the database on which the sync group is hosted., syncGroupName: any # The name of the sync group., startTime: any # Get logs generated after this time., endTime: any # Get logs generated before this time., type: any # The types of logs to retrieve.}\n@optional {continuationToken: any # The continuation token for this operation.}\n@returns(200) Successfully retrieved sync group logs.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/cancelSync\n@desc Cancels a sync group synchronization.\n@required {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., databaseName: any # The name of the database on which the sync group is hosted., syncGroupName: any # The name of the sync group.}\n@returns(200) Successfully cancel a sync group synchronization.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}/triggerSync\n@desc Triggers a sync group synchronization.\n@required {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., databaseName: any # The name of the database on which the sync group is hosted., syncGroupName: any # The name of the sync group.}\n@returns(200) Successfully triggered a sync group synchronization.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}\n@desc Gets a sync group.\n@required {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., databaseName: any # The name of the database on which the sync group is hosted., syncGroupName: any # The name of the sync group.}\n@returns(200) Successfully retrieved the specified sync group.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}\n@desc Creates or updates a sync group.\n@required {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., databaseName: any # The name of the database on which the sync group is hosted., syncGroupName: any # The name of the sync group., parameters: map # The requested sync group resource state.}\n@returns(200) Successfully updated the sync group.\n@returns(201) Successfully created the sync group.\n@returns(202) Creating or updating the sync group is in progress.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}\n@desc Deletes a sync group.\n@required {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., databaseName: any # The name of the database on which the sync group is hosted., syncGroupName: any # The name of the sync group.}\n@returns(200) Successfully deleted the sync group.\n@returns(202) Deleting the sync group is in progress.\n@returns(204) The specified sync group does not exist.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups/{syncGroupName}\n@desc Updates a sync group.\n@required {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., databaseName: any # The name of the database on which the sync group is hosted., syncGroupName: any # The name of the sync group., parameters: map # The requested sync group resource state.}\n@returns(200) Successfully updated the sync group.\n@returns(202) Updating the sync group is in progress.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/syncGroups\n@desc Lists sync groups under a hub database.\n@required {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., databaseName: any # The name of the database on which the sync group is hosted.}\n@returns(200) Successfully retrieved the list of sync groups.\n\n@end\n"}