From 35c7bc1ff630fe2872f933520f826b712d1767ce Mon Sep 17 00:00:00 2001 From: Nidhi Gupta Date: Fri, 14 Jul 2023 16:19:16 +0530 Subject: [PATCH 01/10] testing push --- .../examples/RecommendedColumnSensitivityLabelDisable.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json index e1a95b3181ce..ca30f6289aa1 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json @@ -14,3 +14,4 @@ "200": {} } } + From be51f4f23c92aca228df94ebdb144421789ea918 Mon Sep 17 00:00:00 2001 From: Nidhi Gupta Date: Fri, 14 Jul 2023 16:26:54 +0530 Subject: [PATCH 02/10] reverting push --- .../examples/RecommendedColumnSensitivityLabelDisable.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json index ca30f6289aa1..e1a95b3181ce 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json @@ -14,4 +14,3 @@ "200": {} } } - From b66833f29547ad0c82b61ecd0118d6e30e2a71f4 Mon Sep 17 00:00:00 2001 From: Nidhi Gupta Date: Fri, 14 Jul 2023 17:28:20 +0530 Subject: [PATCH 03/10] swagger files for DC add parameter change --- powershell | 0 .../ManagedDatabaseSensitivityLabels.json | 25 ++++++++++++++----- .../2023-02-01-preview/SensitivityLabels.json | 25 ++++++++++++++----- 3 files changed, 38 insertions(+), 12 deletions(-) create mode 100644 powershell diff --git a/powershell b/powershell new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/ManagedDatabaseSensitivityLabels.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/ManagedDatabaseSensitivityLabels.json index 5f1bf5b45c06..05ae72cd66b5 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/ManagedDatabaseSensitivityLabels.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/ManagedDatabaseSensitivityLabels.json @@ -369,7 +369,7 @@ "current" ], "x-ms-enum": { - "name": "WritableSensitivityLabelSource", + "name": "CurrentSensitivityLabelSource", "modelAsString": false } }, @@ -463,7 +463,7 @@ "current" ], "x-ms-enum": { - "name": "WritableSensitivityLabelSource", + "name": "CurrentSensitivityLabelSource", "modelAsString": false } }, @@ -540,7 +540,7 @@ "recommended" ], "x-ms-enum": { - "name": "SensitivityLabelSource", + "name": "RecommendedSensitivityLabelSource", "modelAsString": false } }, @@ -556,7 +556,7 @@ "description": "Successfully disabled the sensitivity recommendations on the given column." }, "default": { - "description": "*** Error Responses: ***\n\n * 404 SensitivityLabelsColumnNotFound - The column {0} could not be found in table {2}.{1}\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 SubscriptionNotFound - The requested subscription was not found.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." + "description": "*** Error Responses: ***\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 404 SensitivityLabelsColumnNotFound - The column {0} could not be found in table {2}.{1}\n\n * 404 SubscriptionNotFound - The requested subscription was not found.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." } }, "x-ms-examples": { @@ -617,7 +617,7 @@ "recommended" ], "x-ms-enum": { - "name": "SensitivityLabelSource", + "name": "RecommendedSensitivityLabelSource", "modelAsString": false } }, @@ -633,7 +633,7 @@ "description": "Successfully enabled the sensitivity recommendations on the given column." }, "default": { - "description": "*** Error Responses: ***\n\n * 404 SensitivityLabelsColumnNotFound - The column {0} could not be found in table {2}.{1}\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 SubscriptionNotFound - The requested subscription was not found.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." + "description": "*** Error Responses: ***\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 404 SensitivityLabelsColumnNotFound - The column {0} could not be found in table {2}.{1}\n\n * 404 SubscriptionNotFound - The requested subscription was not found.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." } }, "x-ms-examples": { @@ -854,6 +854,19 @@ "name": "SensitivityLabelRank", "modelAsString": false } + }, + "clientClassificationSource": { + "enum": [ + "None", + "Native", + "Recommended", + "MIP" + ], + "type": "string", + "x-ms-enum": { + "name": "ClientClassificationSource", + "modelAsString": false + } } } }, diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/SensitivityLabels.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/SensitivityLabels.json index 56ec58a4f3e9..11f65aba1783 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/SensitivityLabels.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/SensitivityLabels.json @@ -361,7 +361,7 @@ "current" ], "x-ms-enum": { - "name": "WritableSensitivityLabelSource", + "name": "CurrentSensitivityLabelSource", "modelAsString": false } }, @@ -451,7 +451,7 @@ "current" ], "x-ms-enum": { - "name": "WritableSensitivityLabelSource", + "name": "CurrentSensitivityLabelSource", "modelAsString": false } }, @@ -524,7 +524,7 @@ "recommended" ], "x-ms-enum": { - "name": "SensitivityLabelSource", + "name": "RecommendedSensitivityLabelSource", "modelAsString": false } }, @@ -540,7 +540,7 @@ "description": "Successfully disabled the sensitivity recommendation on the given column." }, "default": { - "description": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 404 SensitivityLabelsColumnNotFound - The column {0} could not be found in table {2}.{1}\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 SubscriptionNotFound - The requested subscription was not found.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." + "description": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 404 SensitivityLabelsColumnNotFound - The column {0} could not be found in table {2}.{1}\n\n * 404 SubscriptionNotFound - The requested subscription was not found.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." } }, "x-ms-examples": { @@ -597,7 +597,7 @@ "recommended" ], "x-ms-enum": { - "name": "SensitivityLabelSource", + "name": "RecommendedSensitivityLabelSource", "modelAsString": false } }, @@ -613,7 +613,7 @@ "description": "Successfully enabled the sensitivity recommendations on the given column." }, "default": { - "description": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 404 SensitivityLabelsColumnNotFound - The column {0} could not be found in table {2}.{1}\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 SubscriptionNotFound - The requested subscription was not found.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." + "description": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 404 SensitivityLabelsColumnNotFound - The column {0} could not be found in table {2}.{1}\n\n * 404 SubscriptionNotFound - The requested subscription was not found.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." } }, "x-ms-examples": { @@ -834,6 +834,19 @@ "name": "SensitivityLabelRank", "modelAsString": false } + }, + "clientClassificationSource": { + "enum": [ + "None", + "Native", + "Recommended", + "MIP" + ], + "type": "string", + "x-ms-enum": { + "name": "ClientClassificationSource", + "modelAsString": false + } } } }, From 78f3496318696f825e8466395676bff575ee7616 Mon Sep 17 00:00:00 2001 From: Nidhi Gupta Date: Fri, 14 Jul 2023 17:31:16 +0530 Subject: [PATCH 04/10] delete added file --- powershell | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 powershell diff --git a/powershell b/powershell deleted file mode 100644 index e69de29bb2d1..000000000000 From 2ecb4d42f0913f391ce29f11ca775f5ec0ea54f5 Mon Sep 17 00:00:00 2001 From: Nidhi Gupta Date: Tue, 18 Jul 2023 12:27:11 +0530 Subject: [PATCH 05/10] modified swagger files without Venkat's change --- .../ManagedDatabaseSensitivityLabels.json | 4 ++-- .../preview/2023-02-01-preview/SensitivityLabels.json | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/ManagedDatabaseSensitivityLabels.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/ManagedDatabaseSensitivityLabels.json index 05ae72cd66b5..b36a3a89bee2 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/ManagedDatabaseSensitivityLabels.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/ManagedDatabaseSensitivityLabels.json @@ -540,7 +540,7 @@ "recommended" ], "x-ms-enum": { - "name": "RecommendedSensitivityLabelSource", + "name": "SensitivityLabelSource", "modelAsString": false } }, @@ -617,7 +617,7 @@ "recommended" ], "x-ms-enum": { - "name": "RecommendedSensitivityLabelSource", + "name": "SensitivityLabelSource", "modelAsString": false } }, diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/SensitivityLabels.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/SensitivityLabels.json index 11f65aba1783..89b6cbeb3c4e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/SensitivityLabels.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/SensitivityLabels.json @@ -361,7 +361,7 @@ "current" ], "x-ms-enum": { - "name": "CurrentSensitivityLabelSource", + "name": "WritableSensitivityLabelSource", "modelAsString": false } }, @@ -451,7 +451,7 @@ "current" ], "x-ms-enum": { - "name": "CurrentSensitivityLabelSource", + "name": "WritableSensitivityLabelSource", "modelAsString": false } }, @@ -524,7 +524,7 @@ "recommended" ], "x-ms-enum": { - "name": "RecommendedSensitivityLabelSource", + "name": "SensitivityLabelSource", "modelAsString": false } }, @@ -597,7 +597,7 @@ "recommended" ], "x-ms-enum": { - "name": "RecommendedSensitivityLabelSource", + "name": "SensitivityLabelSource", "modelAsString": false } }, From 490b53a2516c11ddb56c4e7211a90509801ed03e Mon Sep 17 00:00:00 2001 From: Nidhi Gupta Date: Tue, 18 Jul 2023 12:51:03 +0530 Subject: [PATCH 06/10] modified swagger files --- .../2023-02-01-preview/ManagedDatabaseSensitivityLabels.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/ManagedDatabaseSensitivityLabels.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/ManagedDatabaseSensitivityLabels.json index b36a3a89bee2..e3676b3dbd43 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/ManagedDatabaseSensitivityLabels.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/ManagedDatabaseSensitivityLabels.json @@ -369,7 +369,7 @@ "current" ], "x-ms-enum": { - "name": "CurrentSensitivityLabelSource", + "name": "WritableSensitivityLabelSource", "modelAsString": false } }, @@ -463,7 +463,7 @@ "current" ], "x-ms-enum": { - "name": "CurrentSensitivityLabelSource", + "name": "WritableSensitivityLabelSource", "modelAsString": false } }, From ced88c43470967611411122dc44297e43e5ac020 Mon Sep 17 00:00:00 2001 From: Nidhi Gupta Date: Wed, 19 Jul 2023 10:09:15 +0530 Subject: [PATCH 07/10] changed modelAsString to true --- .../2023-02-01-preview/ManagedDatabaseSensitivityLabels.json | 2 +- .../preview/2023-02-01-preview/SensitivityLabels.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/ManagedDatabaseSensitivityLabels.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/ManagedDatabaseSensitivityLabels.json index e3676b3dbd43..abc0d1f4b137 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/ManagedDatabaseSensitivityLabels.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/ManagedDatabaseSensitivityLabels.json @@ -865,7 +865,7 @@ "type": "string", "x-ms-enum": { "name": "ClientClassificationSource", - "modelAsString": false + "modelAsString": true } } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/SensitivityLabels.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/SensitivityLabels.json index 89b6cbeb3c4e..f424dbb1c8de 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/SensitivityLabels.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/SensitivityLabels.json @@ -845,7 +845,7 @@ "type": "string", "x-ms-enum": { "name": "ClientClassificationSource", - "modelAsString": false + "modelAsString": true } } } From 453c4d93837b8ee161370e603e94591b91c80b73 Mon Sep 17 00:00:00 2001 From: Nidhi Gupta Date: Wed, 19 Jul 2023 10:29:42 +0530 Subject: [PATCH 08/10] add example files --- .../ColumnSensitivityLabelCreateMax.json | 3 +- .../ColumnSensitivityLabelDelete.json | 31 ++++++++++--------- .../examples/ColumnSensitivityLabelGet.json | 2 +- ...dDatabaseColumnSensitivityLabelCreate.json | 5 +-- ...dDatabaseColumnSensitivityLabelDelete.json | 31 ++++++++++--------- ...agedDatabaseColumnSensitivityLabelGet.json | 2 +- ...ommendedColumnSensitivityLabelDisable.json | 30 +++++++++--------- ...commendedColumnSensitivityLabelEnable.json | 30 +++++++++--------- ...atabaseSensitivityLabelsCurrentUpdate.json | 5 +-- ...tabaseSensitivityLabelsListByDatabase.json | 2 +- ...ensitivityLabelsListByDatabaseCurrent.json | 4 +-- ...tivityLabelsListByDatabaseRecommended.json | 4 +-- ...aseSensitivityLabelsRecommendedUpdate.json | 5 +-- ...ommendedColumnSensitivityLabelDisable.json | 30 +++++++++--------- ...commendedColumnSensitivityLabelEnable.json | 30 +++++++++--------- .../SensitivityLabelsCurrentUpdate.json | 5 +-- .../SensitivityLabelsListByDatabase.json | 2 +- ...LabelsListByDatabaseWithSourceCurrent.json | 4 +-- ...lsListByDatabaseWithSourceRecommended.json | 4 +-- .../SensitivityLabelsRecommendedUpdate.json | 5 +-- 20 files changed, 121 insertions(+), 113 deletions(-) diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelCreateMax.json index 55abe6293383..f55e3d72400e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelCreateMax.json @@ -15,7 +15,8 @@ "informationTypeId": "d22fa6e9-5ee4-3bde-4c2b-a409604c4646", "labelId": "bf91e08c-f4f0-478a-b016-25164b2a65ff", "labelName": "PII", - "rank": "Low" + "rank": "Low", + "clientClassificationSource": "NATIVE" } } }, diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelDelete.json index c8ce4fff7251..1fc9ce42034d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelDelete.json @@ -1,16 +1,17 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "serverName": "myServer", - "databaseName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "current", - "api-version": "2023-02-01-preview" - }, - "responses": { - "200": {} - } -} + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myRG", + "serverName": "myServer", + "databaseName": "myDatabase", + "schemaName": "dbo", + "tableName": "myTable", + "columnName": "myColumn", + "sensitivityLabelSource": "current", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + } + } +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelGet.json index 56ff1cc67dd4..c8f7c4a26652 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelGet.json @@ -29,4 +29,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelCreate.json index 276630391418..b26248c9f53a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelCreate.json @@ -15,7 +15,8 @@ "informationTypeId": "d22fa6e9-5ee4-3bde-4c2b-a409604c4646", "labelId": "bf91e08c-f4f0-478a-b016-25164b2a65ff", "labelName": "PII", - "rank": "High" + "rank": "High", + "clientClassificationSource": "NATIVE" } } }, @@ -55,4 +56,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelDelete.json index 30646b26b9d3..8dbb4a316fc3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelDelete.json @@ -1,16 +1,17 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "managedInstanceName": "myManagedInstanceName", - "databaseName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "current", - "api-version": "2023-02-01-preview" - }, - "responses": { - "200": {} - } -} + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myRG", + "managedInstanceName": "myManagedInstanceName", + "databaseName": "myDatabase", + "schemaName": "dbo", + "tableName": "myTable", + "columnName": "myColumn", + "sensitivityLabelSource": "current", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + } + } +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelGet.json index 8f73e6afcda5..68a844f11fa3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelGet.json @@ -29,4 +29,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelDisable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelDisable.json index b4aeef92696e..c9e974a903ca 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelDisable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelDisable.json @@ -1,16 +1,16 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "managedInstanceName": "myManagedInstanceName", - "databaseName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "recommended", - "api-version": "2023-02-01-preview" - }, - "responses": { - "200": {} - } -} + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myRG", + "managedInstanceName": "myManagedInstanceName", + "databaseName": "myDatabase", + "schemaName": "dbo", + "tableName": "myTable", + "columnName": "myColumn", + "sensitivityLabelSource": "recommended", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelEnable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelEnable.json index b4aeef92696e..c9e974a903ca 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelEnable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelEnable.json @@ -1,16 +1,16 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "managedInstanceName": "myManagedInstanceName", - "databaseName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "recommended", - "api-version": "2023-02-01-preview" - }, - "responses": { - "200": {} - } -} + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myRG", + "managedInstanceName": "myManagedInstanceName", + "databaseName": "myDatabase", + "schemaName": "dbo", + "tableName": "myTable", + "columnName": "myColumn", + "sensitivityLabelSource": "recommended", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsCurrentUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsCurrentUpdate.json index cdd77e660593..0fe113509d2a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsCurrentUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsCurrentUpdate.json @@ -51,6 +51,7 @@ } }, "responses": { - "200": {} + "200": { + } } -} +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabase.json index cfaf886b83a5..96ebcd276e04 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabase.json @@ -44,4 +44,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseCurrent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseCurrent.json index e788756e7516..5ca8a4806886 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseCurrent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseCurrent.json @@ -1,4 +1,4 @@ -{ +{ "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "myRG", @@ -45,4 +45,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseRecommended.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseRecommended.json index 4290db04b235..ae9262a5d610 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseRecommended.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseRecommended.json @@ -1,4 +1,4 @@ -{ +{ "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "myRG", @@ -43,4 +43,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsRecommendedUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsRecommendedUpdate.json index 516d21238d46..4a699aff4c24 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsRecommendedUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsRecommendedUpdate.json @@ -35,6 +35,7 @@ } }, "responses": { - "200": {} + "200": { + } } -} +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json index e1a95b3181ce..cac8dd903308 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json @@ -1,16 +1,16 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "serverName": "myServer", - "databaseName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "recommended", - "api-version": "2023-02-01-preview" - }, - "responses": { - "200": {} - } -} + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myRG", + "serverName": "myServer", + "databaseName": "myDatabase", + "schemaName": "dbo", + "tableName": "myTable", + "columnName": "myColumn", + "sensitivityLabelSource": "recommended", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelEnable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelEnable.json index e1a95b3181ce..cac8dd903308 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelEnable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelEnable.json @@ -1,16 +1,16 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "serverName": "myServer", - "databaseName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "recommended", - "api-version": "2023-02-01-preview" - }, - "responses": { - "200": {} - } -} + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myRG", + "serverName": "myServer", + "databaseName": "myDatabase", + "schemaName": "dbo", + "tableName": "myTable", + "columnName": "myColumn", + "sensitivityLabelSource": "recommended", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": {} + } +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsCurrentUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsCurrentUpdate.json index 483114d748a9..0af45efcefbf 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsCurrentUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsCurrentUpdate.json @@ -53,6 +53,7 @@ } }, "responses": { - "200": {} + "200": { + } } -} +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabase.json index 011b2e2c672e..2f7a8d7bf513 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabase.json @@ -42,4 +42,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceCurrent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceCurrent.json index f8503f6d6acb..2765322ebe78 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceCurrent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceCurrent.json @@ -1,4 +1,4 @@ -{ +{ "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "myRG", @@ -44,4 +44,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceRecommended.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceRecommended.json index 623adb98c88f..5d728296b126 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceRecommended.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceRecommended.json @@ -1,4 +1,4 @@ -{ +{ "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "myRG", @@ -42,4 +42,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsRecommendedUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsRecommendedUpdate.json index 9c674c780531..27ef80293e12 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsRecommendedUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsRecommendedUpdate.json @@ -35,6 +35,7 @@ } }, "responses": { - "200": {} + "200": { + } } -} +} \ No newline at end of file From 72daf445dd675974aa850ce83538f6a657c03ae8 Mon Sep 17 00:00:00 2001 From: Nidhi Gupta Date: Wed, 19 Jul 2023 10:49:27 +0530 Subject: [PATCH 09/10] add example files --- .../ColumnSensitivityLabelDelete.json | 31 +++++++++---------- .../examples/ColumnSensitivityLabelGet.json | 2 +- ...dDatabaseColumnSensitivityLabelCreate.json | 2 +- ...dDatabaseColumnSensitivityLabelDelete.json | 31 +++++++++---------- ...agedDatabaseColumnSensitivityLabelGet.json | 2 +- ...ommendedColumnSensitivityLabelDisable.json | 30 +++++++++--------- ...commendedColumnSensitivityLabelEnable.json | 30 +++++++++--------- ...atabaseSensitivityLabelsCurrentUpdate.json | 5 ++- ...tabaseSensitivityLabelsListByDatabase.json | 2 +- ...ensitivityLabelsListByDatabaseCurrent.json | 4 +-- ...tivityLabelsListByDatabaseRecommended.json | 4 +-- ...aseSensitivityLabelsRecommendedUpdate.json | 5 ++- ...ommendedColumnSensitivityLabelDisable.json | 30 +++++++++--------- ...commendedColumnSensitivityLabelEnable.json | 30 +++++++++--------- .../SensitivityLabelsCurrentUpdate.json | 5 ++- .../SensitivityLabelsListByDatabase.json | 2 +- ...LabelsListByDatabaseWithSourceCurrent.json | 4 +-- ...lsListByDatabaseWithSourceRecommended.json | 4 +-- .../SensitivityLabelsRecommendedUpdate.json | 5 ++- 19 files changed, 111 insertions(+), 117 deletions(-) diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelDelete.json index 1fc9ce42034d..c8ce4fff7251 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelDelete.json @@ -1,17 +1,16 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "serverName": "myServer", - "databaseName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "current", - "api-version": "2023-02-01-preview" - }, - "responses": { - "200": { - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myRG", + "serverName": "myServer", + "databaseName": "myDatabase", + "schemaName": "dbo", + "tableName": "myTable", + "columnName": "myColumn", + "sensitivityLabelSource": "current", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelGet.json index c8f7c4a26652..56ff1cc67dd4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelGet.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelCreate.json index b26248c9f53a..f900c2fa4959 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelCreate.json @@ -56,4 +56,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelDelete.json index 8dbb4a316fc3..30646b26b9d3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelDelete.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelDelete.json @@ -1,17 +1,16 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "managedInstanceName": "myManagedInstanceName", - "databaseName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "current", - "api-version": "2023-02-01-preview" - }, - "responses": { - "200": { - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myRG", + "managedInstanceName": "myManagedInstanceName", + "databaseName": "myDatabase", + "schemaName": "dbo", + "tableName": "myTable", + "columnName": "myColumn", + "sensitivityLabelSource": "current", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelGet.json index 68a844f11fa3..8f73e6afcda5 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelGet.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelDisable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelDisable.json index c9e974a903ca..b4aeef92696e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelDisable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelDisable.json @@ -1,16 +1,16 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "managedInstanceName": "myManagedInstanceName", - "databaseName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "recommended", - "api-version": "2023-02-01-preview" - }, - "responses": { - "200": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myRG", + "managedInstanceName": "myManagedInstanceName", + "databaseName": "myDatabase", + "schemaName": "dbo", + "tableName": "myTable", + "columnName": "myColumn", + "sensitivityLabelSource": "recommended", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelEnable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelEnable.json index c9e974a903ca..b4aeef92696e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelEnable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelEnable.json @@ -1,16 +1,16 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "managedInstanceName": "myManagedInstanceName", - "databaseName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "recommended", - "api-version": "2023-02-01-preview" - }, - "responses": { - "200": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myRG", + "managedInstanceName": "myManagedInstanceName", + "databaseName": "myDatabase", + "schemaName": "dbo", + "tableName": "myTable", + "columnName": "myColumn", + "sensitivityLabelSource": "recommended", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsCurrentUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsCurrentUpdate.json index 0fe113509d2a..cdd77e660593 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsCurrentUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsCurrentUpdate.json @@ -51,7 +51,6 @@ } }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabase.json index 96ebcd276e04..cfaf886b83a5 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabase.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseCurrent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseCurrent.json index 5ca8a4806886..e788756e7516 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseCurrent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseCurrent.json @@ -1,4 +1,4 @@ -{ +{ "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "myRG", @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseRecommended.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseRecommended.json index ae9262a5d610..4290db04b235 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseRecommended.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseRecommended.json @@ -1,4 +1,4 @@ -{ +{ "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "myRG", @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsRecommendedUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsRecommendedUpdate.json index 4a699aff4c24..516d21238d46 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsRecommendedUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseSensitivityLabelsRecommendedUpdate.json @@ -35,7 +35,6 @@ } }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json index cac8dd903308..e1a95b3181ce 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json @@ -1,16 +1,16 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "serverName": "myServer", - "databaseName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "recommended", - "api-version": "2023-02-01-preview" - }, - "responses": { - "200": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myRG", + "serverName": "myServer", + "databaseName": "myDatabase", + "schemaName": "dbo", + "tableName": "myTable", + "columnName": "myColumn", + "sensitivityLabelSource": "recommended", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelEnable.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelEnable.json index cac8dd903308..e1a95b3181ce 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelEnable.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RecommendedColumnSensitivityLabelEnable.json @@ -1,16 +1,16 @@ { - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "serverName": "myServer", - "databaseName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "recommended", - "api-version": "2023-02-01-preview" - }, - "responses": { - "200": {} - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myRG", + "serverName": "myServer", + "databaseName": "myDatabase", + "schemaName": "dbo", + "tableName": "myTable", + "columnName": "myColumn", + "sensitivityLabelSource": "recommended", + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsCurrentUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsCurrentUpdate.json index 0af45efcefbf..483114d748a9 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsCurrentUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsCurrentUpdate.json @@ -53,7 +53,6 @@ } }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabase.json index 2f7a8d7bf513..011b2e2c672e 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabase.json @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceCurrent.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceCurrent.json index 2765322ebe78..f8503f6d6acb 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceCurrent.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceCurrent.json @@ -1,4 +1,4 @@ -{ +{ "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "myRG", @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceRecommended.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceRecommended.json index 5d728296b126..623adb98c88f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceRecommended.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceRecommended.json @@ -1,4 +1,4 @@ -{ +{ "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "myRG", @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsRecommendedUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsRecommendedUpdate.json index 27ef80293e12..9c674c780531 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsRecommendedUpdate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/SensitivityLabelsRecommendedUpdate.json @@ -35,7 +35,6 @@ } }, "responses": { - "200": { - } + "200": {} } -} \ No newline at end of file +} From 0a89b90d52c298b05cd7254f76f4b8941f5c012b Mon Sep 17 00:00:00 2001 From: Nidhi Gupta Date: Wed, 19 Jul 2023 11:27:57 +0530 Subject: [PATCH 10/10] fix mismatch --- .../examples/ColumnSensitivityLabelCreateMax.json | 2 +- .../examples/ManagedDatabaseColumnSensitivityLabelCreate.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelCreateMax.json index f55e3d72400e..4ce73f2d85af 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ColumnSensitivityLabelCreateMax.json @@ -16,7 +16,7 @@ "labelId": "bf91e08c-f4f0-478a-b016-25164b2a65ff", "labelName": "PII", "rank": "Low", - "clientClassificationSource": "NATIVE" + "clientClassificationSource": "Native" } } }, diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelCreate.json index f900c2fa4959..3855c58aec49 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelCreate.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ManagedDatabaseColumnSensitivityLabelCreate.json @@ -16,7 +16,7 @@ "labelId": "bf91e08c-f4f0-478a-b016-25164b2a65ff", "labelName": "PII", "rank": "High", - "clientClassificationSource": "NATIVE" + "clientClassificationSource": "Native" } } },