{ "uuid": "22feaf26-2be8-475e-a6f7-b1aaefb1ca0f", "lastMigration": 29, "name": "SqlManagementClient", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "9de9ff8d-718f-4026-a4de-6805b18c4382", "documentation": "Gets the sensitivity labels of a given database", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Sql/managedInstances/:managedInstanceName/databases/:databaseName/currentSensitivityLabels", "responses": [ { "uuid": "4e2b2d4a-bd2b-4ae4-98cd-30d53d389b00", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {}\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successfully retrieved the sensitivity labels.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "bf68f582-0955-4e3b-a3ae-06a9786c2e0e", "body": "", "latency": 0, "statusCode": 200, "label": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 400 SensitivityLabelsInvalidODataQuery - The specified OData query is either not valid or not supported\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "893310d4-e156-4eff-a7d6-ecbdbd9777a3", "documentation": "Gets the sensitivity labels of a given database", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Sql/managedInstances/:managedInstanceName/databases/:databaseName/recommendedSensitivityLabels", "responses": [ { "uuid": "2d943c24-539f-41f2-afbf-c66d6a2f3c1c", "body": "{\n \"nextLink\": \"\",\n \"value\": [\n {}\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successfully retrieved the sensitivity labels.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "083ba70f-fb98-4b46-9db6-54e16b5a29ba", "body": "", "latency": 0, "statusCode": 200, "label": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 400 SensitivityLabelsInvalidODataQuery - The specified OData query is either not valid or not supported\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e6793d4e-9e52-4906-9175-9923e56cb063", "documentation": "Deletes the sensitivity label of a given column", "method": "delete", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Sql/managedInstances/:managedInstanceName/databases/:databaseName/schemas/:schemaName/tables/:tableName/columns/:columnName/sensitivityLabels/:sensitivityLabelSource", "responses": [ { "uuid": "b9b5da85-0a1b-46c0-b4c6-9e2ec5529c7f", "body": "", "latency": 0, "statusCode": 200, "label": "Successfully deleted the sensitivity label.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b8eed436-8ed5-4088-a638-58eb24a87554", "body": "", "latency": 0, "statusCode": 200, "label": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 400 SensitivityLabelSourceNameNotSupported - The specified sensitivity label source is not valid\n\n * 404 SensitivityLabelsColumnNotFound - The specified schema/table/column could not be found\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SensitivityLabelsLabelNotFound - The specified sensitivity label could not be found\n\n * 501 SensitivityLabelRecommendedSourceNameNotSupported - 'Recommended' sensitivity label source is not supported yet", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e8bc7e43-c03e-45de-8441-f74fa2de09cb", "documentation": "Gets the sensitivity label of a given column", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Sql/managedInstances/:managedInstanceName/databases/:databaseName/schemas/:schemaName/tables/:tableName/columns/:columnName/sensitivityLabels/:sensitivityLabelSource", "responses": [ { "uuid": "af5d3a17-6164-4188-9531-8b5d49082055", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successfully retrieved the sensitivity label.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4c57a919-b53a-482f-9ca0-ff32303c970a", "body": "", "latency": 0, "statusCode": 200, "label": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 400 SensitivityLabelSourceNameNotSupported - The specified sensitivity label source is not valid\n\n * 404 SensitivityLabelsColumnNotFound - The specified schema/table/column could not be found\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SensitivityLabelsLabelNotFound - The specified sensitivity label could not be found\n\n * 501 SensitivityLabelRecommendedSourceNameNotSupported - 'Recommended' sensitivity label source is not supported yet", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "62262896-a208-445c-8898-61fd44757cfa", "documentation": "Creates or updates the sensitivity label of a given column", "method": "put", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Sql/managedInstances/:managedInstanceName/databases/:databaseName/schemas/:schemaName/tables/:tableName/columns/:columnName/sensitivityLabels/:sensitivityLabelSource", "responses": [ { "uuid": "bf178a82-116f-4770-b75e-a80384754b4f", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successfully updated the sensitivity label.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "13a581e7-c7cc-4752-aef0-45fb26e71b95", "body": "{}", "latency": 0, "statusCode": 201, "label": "Successfully created the sensitivity label.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7bbab049-d030-48ec-88c3-54e5be251c5b", "body": "", "latency": 0, "statusCode": 200, "label": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 400 SensitivityLabelSourceNameNotSupported - The specified sensitivity label source is not valid\n\n * 400 InvalidSensitivityLabelResource - The specified sensitivity label resource is not valid\n\n * 400 SensitivityLabelLabelNameAndInfoTypeNotProvided - At least one of LabelName and InformationType must be specified\n\n * 400 LabelNameTooLong - Label name cannot exceed {0} characters\n\n * 400 InformationTypeTooLong - Information type cannot exceed {0} characters\n\n * 400 LabelIdMustBeGuid - Label ID must be a GUID\n\n * 400 InformationTypeIdMustBeGuid - Information type ID must be a GUID\n\n * 400 LabelMissing - Label is missing\n\n * 400 InformationTypeMissing - Information Type is missing\n\n * 404 SensitivityLabelsColumnNotFound - The specified schema/table/column could not be found\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SensitivityLabelsLabelNotFound - The specified sensitivity label could not be found\n\n * 501 SensitivityLabelRecommendedSourceNameNotSupported - 'Recommended' sensitivity label source is not supported yet", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e7403e1b-430f-401d-b21c-3c4805a1eae9", "documentation": "Disables sensitivity recommendations on a given column", "method": "post", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Sql/managedInstances/:managedInstanceName/databases/:databaseName/schemas/:schemaName/tables/:tableName/columns/:columnName/sensitivityLabels/:sensitivityLabelSource/disable", "responses": [ { "uuid": "6154a1c3-1dce-4333-ba28-3e281c9cd8ba", "body": "", "latency": 0, "statusCode": 200, "label": "Successfully disabled the sensitivity recommendations on the given column.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "06630036-2966-4989-8246-c03a8614b32b", "body": "", "latency": 0, "statusCode": 200, "label": "*** Error Responses: ***\n\n * 404 SensitivityLabelsColumnNotFound - The specified column could not be found\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d3ab7e3a-45af-4fa0-b80c-cd5db2347645", "documentation": "Enables sensitivity recommendations on a given column (recommendations are enabled by default on all columns)", "method": "post", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Sql/managedInstances/:managedInstanceName/databases/:databaseName/schemas/:schemaName/tables/:tableName/columns/:columnName/sensitivityLabels/:sensitivityLabelSource/enable", "responses": [ { "uuid": "11e922fe-37ca-4bef-ae6c-c70df9a42202", "body": "", "latency": 0, "statusCode": 200, "label": "Successfully enabled the sensitivity recommendations on the given column.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d9a1cd1b-78a6-4fc5-90ec-9e54862c149f", "body": "", "latency": 0, "statusCode": 200, "label": "*** Error Responses: ***\n\n * 404 SensitivityLabelsColumnNotFound - The specified column could not be found\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "9de9ff8d-718f-4026-a4de-6805b18c4382" }, { "type": "route", "uuid": "893310d4-e156-4eff-a7d6-ecbdbd9777a3" }, { "type": "route", "uuid": "e6793d4e-9e52-4906-9175-9923e56cb063" }, { "type": "route", "uuid": "e8bc7e43-c03e-45de-8441-f74fa2de09cb" }, { "type": "route", "uuid": "62262896-a208-445c-8898-61fd44757cfa" }, { "type": "route", "uuid": "e7403e1b-430f-401d-b21c-3c4805a1eae9" }, { "type": "route", "uuid": "d3ab7e3a-45af-4fa0-b80c-cd5db2347645" } ] }