From 592a7bc30ba805a4b73bc135003d5006cb1fe32a Mon Sep 17 00:00:00 2001 From: Satwik Kumar Shiri Date: Wed, 5 Mar 2025 15:19:35 -0800 Subject: [PATCH 1/2] added optional property --- .../createOrUpdate.json | 21 +++++++++++++++++++ .../ManagedOnlineDeployment/update.json | 7 +++++++ .../preview/2025-01-01-preview/mfe.json | 10 +++++++++ .../stable/2024-10-01/mfe.json | 5 +++++ 4 files changed, 43 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2025-01-01-preview/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2025-01-01-preview/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json index d0a68ae41f66..de950afff5cf 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2025-01-01-preview/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2025-01-01-preview/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json @@ -46,6 +46,13 @@ "timeout": "PT2S", "period": "PT10S", "initialDelay": "PT1S" + }, + "startupProbe": { + "failureThreshold": 30, + "successThreshold": 1, + "timeout": "PT2S", + "period": "PT10S", + "initialDelay": "PT1S" } }, "tags": {}, @@ -113,6 +120,13 @@ "timeout": "PT2S", "period": "PT10S", "initialDelay": "PT1S" + }, + "startupProbe": { + "failureThreshold": 30, + "successThreshold": 1, + "timeout": "PT2S", + "period": "PT10S", + "initialDelay": "PT1S" } }, "systemData": { @@ -192,6 +206,13 @@ "timeout": "PT2S", "period": "PT10S", "initialDelay": "PT1S" + }, + "startupProbe": { + "failureThreshold": 30, + "successThreshold": 1, + "timeout": "PT2S", + "period": "PT10S", + "initialDelay": "PT1S" } }, "systemData": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2025-01-01-preview/examples/OnlineDeployment/ManagedOnlineDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2025-01-01-preview/examples/OnlineDeployment/ManagedOnlineDeployment/update.json index a769fe9793a9..93341ec39b4f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2025-01-01-preview/examples/OnlineDeployment/ManagedOnlineDeployment/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2025-01-01-preview/examples/OnlineDeployment/ManagedOnlineDeployment/update.json @@ -64,6 +64,13 @@ "timeout": "PT2S", "period": "PT10S", "initialDelay": "PT1S" + }, + "startupProbe": { + "failureThreshold": 30, + "successThreshold": 1, + "timeout": "PT2S", + "period": "PT10S", + "initialDelay": "PT1S" } }, "systemData": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json index ae695dcccf4e..323862728e90 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json @@ -20763,6 +20763,11 @@ "description": "The route to check the readiness of the inference server container.", "$ref": "#/definitions/Route" }, + "startupRoute": { + "description": "The route to check the startup of the application in the container.", + "$ref": "#/definitions/Route", + "x-nullable": true + }, "scoringRoute": { "description": "The port to send the scoring requests to, within the inference server container.", "$ref": "#/definitions/Route" @@ -23677,6 +23682,11 @@ "$ref": "#/definitions/ProbeSettings", "x-nullable": true }, + "startupProbe": { + "description": "This verifies whether the application within a container is started. Startup probes run before any other probe, and, unless it finishes successfully, disables other probes.", + "$ref": "#/definitions/ProbeSettings", + "x-nullable": true + }, "requestSettings": { "description": "Request settings for the deployment.", "$ref": "#/definitions/OnlineRequestSettings", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/mfe.json index 1e948b11fa0c..551367ff83c2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/mfe.json @@ -17868,6 +17868,11 @@ "description": "The route to check the readiness of the inference server container.", "$ref": "#/definitions/Route" }, + "startupRoute": { + "description": "The route to check the startup of the application in the container.", + "$ref": "#/definitions/Route", + "x-nullable": true + }, "scoringRoute": { "description": "The port to send the scoring requests to, within the inference server container.", "$ref": "#/definitions/Route" From 1a108e552d5aa77aada203a3b359c10d942b76d0 Mon Sep 17 00:00:00 2001 From: Satwik Kumar Shiri Date: Fri, 7 Mar 2025 09:58:44 -0800 Subject: [PATCH 2/2] updated description --- .../preview/2025-01-01-preview/mfe.json | 2 +- .../stable/2024-10-01/mfe.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json index 323862728e90..ba3b511ed24e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json @@ -23683,7 +23683,7 @@ "x-nullable": true }, "startupProbe": { - "description": "This verifies whether the application within a container is started. Startup probes run before any other probe, and, unless it finishes successfully, disables other probes.", + "description": "Startup probe verify whether an application within a container has started successfully.", "$ref": "#/definitions/ProbeSettings", "x-nullable": true }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/mfe.json index 551367ff83c2..65a13996440c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-10-01/mfe.json @@ -20431,7 +20431,7 @@ "x-nullable": true }, "startupProbe": { - "description": "This verifies whether the application within a container is started. Startup probes run before any other probe, and, unless it finishes successfully, disables other probes.", + "description": "Startup probe verify whether an application within a container has started successfully.", "$ref": "#/definitions/ProbeSettings", "x-nullable": true },