From 6c9f5411096df4e2a488b8e49db45b0144dbac22 Mon Sep 17 00:00:00 2001 From: Bingchen Li Date: Tue, 18 Jan 2022 13:57:16 +0800 Subject: [PATCH] [MLC] fix ModelValidation Errors of MLC --- .../examples/Compute/createOrUpdate/AmlCompute.json | 4 +++- .../examples/Compute/createOrUpdate/ComputeInstance.json | 4 +++- .../stable/2021-10-01/examples/Compute/get/AmlCompute.json | 4 +++- .../2021-10-01/examples/Compute/get/ComputeInstance.json | 4 +++- .../stable/2021-10-01/machineLearningServices.json | 1 - 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json index 0639cb85b3c3..9187938c6faf 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json @@ -39,7 +39,9 @@ "osType": "Windows", "virtualMachineImage": null, "isolatedNetwork": false, - "subnet": "test-subnet-resource-id", + "subnet": { + "id": "test-subnet-resource-id" + }, "scaleSettings": { "maxNodeCount": 1, "minNodeCount": 0, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json index 92d9146090b6..6b0bdf503802 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json @@ -11,7 +11,9 @@ "computeType": "ComputeInstance", "properties": { "vmSize": "STANDARD_NC6", - "subnet": "test-subnet-resource-id", + "subnet": { + "id": "test-subnet-resource-id" + }, "applicationSharingPolicy": "Personal", "sshSettings": { "sshPublicAccess": "Disabled" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AmlCompute.json index 3b4283aceffb..d9fd7095236d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AmlCompute.json @@ -25,7 +25,9 @@ "osType": "Windows", "virtualMachineImage": null, "isolatedNetwork": false, - "subnet": "test-subnet-resource-id", + "subnet": { + "id": "test-subnet-resource-id" + }, "scaleSettings": { "maxNodeCount": 1, "minNodeCount": 0, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/ComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/ComputeInstance.json index 1cb7a9a31900..9f17a3d05481 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/ComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/ComputeInstance.json @@ -21,7 +21,9 @@ "provisioningState": "Succeeded", "properties": { "vmSize": "STANDARD_NC6", - "subnet": "test-subnet-resource-id", + "subnet": { + "id": "test-subnet-resource-id" + }, "applicationSharingPolicy": "Shared", "sshSettings": { "sshPublicAccess": "Enabled", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 08ac7d7f87c1..63c251b539f7 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -3479,7 +3479,6 @@ "type": "object", "properties": { "vmSize": { - "readOnly": true, "description": "Virtual Machine Size", "type": "string" },