From bbc20f5fa517267be87184e6efd66a4ed00c1c41 Mon Sep 17 00:00:00 2001 From: yuacheng35 <90874573+ycheng35xo@users.noreply.github.com> Date: Tue, 28 Nov 2023 12:35:36 -0800 Subject: [PATCH] MoMo contract align public preview and GA (#26703) --- .../preview/2024-01-01-preview/mfe.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-01-01-preview/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-01-01-preview/mfe.json index 65c499e988db..1377c2082070 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-01-01-preview/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-01-01-preview/mfe.json @@ -17040,8 +17040,7 @@ "CustomMonitoringSignal": { "required": [ "componentId", - "metricThresholds", - "workspaceConnection" + "metricThresholds" ], "type": "object", "allOf": [ @@ -17101,12 +17100,13 @@ "x-ms-identifiers": [] }, "workspaceConnection": { - "description": "[Required] A list of metrics to calculate and their associated thresholds.", + "description": "A list of metrics to calculate and their associated thresholds.", "$ref": "#/definitions/MonitoringWorkspaceConnection", "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true } }, "x-ms-discriminator-value": "Custom", @@ -18855,6 +18855,7 @@ }, "FeatureAttributionDriftMonitoringSignal": { "required": [ + "featureImportanceSettings", "metricThreshold", "productionData", "referenceData" @@ -18879,13 +18880,12 @@ "x-nullable": true }, "featureImportanceSettings": { - "description": "The settings for computing feature importance.", + "description": "[Required] The settings for computing feature importance.", "$ref": "#/definitions/FeatureImportanceSettings", "x-ms-mutability": [ "create", "read" - ], - "x-nullable": true + ] }, "metricThreshold": { "description": "[Required] A list of metrics to calculate and their associated thresholds.", @@ -23991,7 +23991,7 @@ "runtimeVersion": { "description": "[Required] The Spark runtime version.", "minLength": 1, - "pattern": "[a-zA-Z0-9_]", + "pattern": "^[0-9]+\\.[0-9]+$", "type": "string", "x-ms-mutability": [ "create",