{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-sql-workloadclassifiers","description":"SqlManagementClient","version":"2019-06-01-preview","base_url":"https://management.azure.com","endpoints":4,"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 2019-06-01-preview\n@auth OAuth2\n@endpoints 4\n@toc subscriptions(4)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}\n@desc Gets a workload classifier\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., workloadGroupName: any # The name of the workload group from which to receive the classifier from., workloadClassifierName: any # The name of the workload classifier., subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}\n@returns(200) Successfully retrieved the specifies workload classifier.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}\n@desc Creates or updates a workload classifier.\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., workloadGroupName: any # The name of the workload group from which to receive the classifier from., workloadClassifierName: any # The name of the workload classifier to create/update., parameters: map # The properties of the workload classifier., subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}\n@returns(200) Successfully updated the workload classifier.\n@returns(201) Successfully created the workload classifier.\n@returns(202) Create or update for the workload classifier is in progress.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}\n@desc Deletes a workload classifier.\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., workloadGroupName: any # The name of the workload group from which to receive the classifier from., workloadClassifierName: any # The name of the workload classifier to delete., subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}\n@returns(200) Successfully deleted the workload classifier.\n@returns(202) Deleting the workload classifier is in progress.\n@returns(204) The specified workload classifier does not exist.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups/{workloadGroupName}/workloadClassifiers\n@desc Gets the list of workload classifiers for a workload 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., workloadGroupName: any # The name of the workload group from which to receive the classifiers from., subscriptionId: any # The subscription ID that identifies an Azure subscription., api-version: any # The API version to use for the request.}\n@returns(200) Successfully retrieved the list of workload groups.\n\n@end\n"}