{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-sql-advisors","description":"SqlManagementClient","version":"2015-05-01-preview","base_url":"https://management.azure.com","endpoints":9,"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., subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}\n@endpoints 9\n@toc subscriptions(9)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advisors\n@desc Gets a list of database advisors.\n@required {databaseName: any # The name of the database.}\n@returns(200) Successfully retrieved the list of database advisors.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advisors/{advisorName}\n@desc Gets a database advisor.\n@required {databaseName: any # The name of the database., advisorName: any # The name of the Database Advisor.}\n@returns(200) Successfully retrieved details of specified database advisor.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advisors/{advisorName}\n@desc Updates a database advisor.\n@required {databaseName: any # The name of the database., advisorName: any # The name of the Database Advisor., parameters: map # The requested advisor resource state.}\n@returns(200) Successfully updated the specified database advisor.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advisors/{advisorName}/recommendedActions\n@desc Gets list of Database Recommended Actions.\n@required {databaseName: any # The name of the database., advisorName: any # The name of the Database Advisor.}\n@returns(200) Successfully retrieved the list of database recommended actions.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advisors/{advisorName}/recommendedActions/{recommendedActionName}\n@desc Gets a database recommended action.\n@required {databaseName: any # The name of the database., advisorName: any # The name of the Database Advisor., recommendedActionName: any # The name of Database Recommended Action.}\n@returns(200) Successfully retrieved details of specified database recommended action.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/advisors/{advisorName}/recommendedActions/{recommendedActionName}\n@desc Updates a database recommended action.\n@required {databaseName: any # The name of the database., advisorName: any # The name of the Database Advisor., recommendedActionName: any # The name of Database Recommended Action., parameters: map # The requested recommended action resource state.}\n@returns(200) Successfully updated the specified database recommended action.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors\n@desc Gets a list of server advisors.\n@returns(200) Successfully retrieved the list of server advisors.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors/{advisorName}\n@desc Gets a server advisor.\n@required {advisorName: any # The name of the Server Advisor.}\n@returns(200) Successfully retrieved details of specified server advisor.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors/{advisorName}\n@desc Updates a server advisor.\n@required {advisorName: any # The name of the Server Advisor., parameters: map # The requested advisor resource state.}\n@returns(200) Successfully updated the specified server advisor.\n\n@end\n"}