From b648e2da7ceee56ed677fb7f1f6053fb329d27aa Mon Sep 17 00:00:00 2001 From: jloeffler7 <102193043+jloeffler7@users.noreply.github.com> Date: Thu, 21 Jul 2022 18:52:09 -0400 Subject: [PATCH 1/2] Add encryption property to workspace update parameters Adding the ability for users to update CMK keyIdentifier property for workspace update. --- .../machineLearningServices.json | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json index 5b764c2593d3..79a1a6c1301e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json @@ -2332,6 +2332,10 @@ "containerRegistry": { "description": "ARM id of the container registry associated with this workspace.", "type": "string" + }, + "encryption": { + "$ref": "#/definitions/EncryptionUpdateProperties", + "description": "The encryption settings of the workspace." } } }, @@ -4745,6 +4749,30 @@ "type": "string" } } + }, + "EncryptionUpdateProperties": { + "properties": { + "keyVaultProperties": { + "$ref": "#/definitions/EncryptionKeyVaultUpdateProperties", + "description": "Customer Key vault properties." + } + }, + "required": [ + "keyVaultProperties" + ], + "type": "object" + }, + "EncryptionKeyVaultUpdateProperties": { + "properties": { + "keyIdentifier": { + "description": "Key vault uri to access the encryption key.", + "type": "string" + } + }, + "required": [ + "keyIdentifier" + ], + "type": "object" }, "ComputeInstanceSshSettings": { "type": "object", From c69b67f50e11a1afd08679f0758c118dfc01233c Mon Sep 17 00:00:00 2001 From: Joshua Loeffler Date: Thu, 21 Jul 2022 19:19:24 -0400 Subject: [PATCH 2/2] Apply prettier changes --- .../preview/2022-06-01-preview/machineLearningServices.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json index 79a1a6c1301e..a1f4f40d4fb0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-06-01-preview/machineLearningServices.json @@ -4750,7 +4750,7 @@ } } }, - "EncryptionUpdateProperties": { + "EncryptionUpdateProperties": { "properties": { "keyVaultProperties": { "$ref": "#/definitions/EncryptionKeyVaultUpdateProperties",