From 60324656ef2a2cb4ab13be14490d0b61cdf3a0e2 Mon Sep 17 00:00:00 2001 From: Karishma Daga Date: Wed, 15 Mar 2023 11:03:13 -0700 Subject: [PATCH 1/2] fixing regex pattern and async response type --- .../preview/2023-02-01-preview/mfe.json | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-02-01-preview/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-02-01-preview/mfe.json index 49e8fb2c2e34..72ba274d8f24 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-02-01-preview/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-02-01-preview/mfe.json @@ -1226,7 +1226,7 @@ "description": "Name of Azure Machine Learning registry.", "required": true, "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$" + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -1309,7 +1309,7 @@ "description": "Name of Azure Machine Learning registry.", "required": true, "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$" + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { "in": "path", @@ -1506,7 +1506,7 @@ }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "original-uri" } } }, @@ -1533,7 +1533,7 @@ "description": "Name of Azure Machine Learning registry.", "required": true, "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$" + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { "in": "path", @@ -1642,7 +1642,7 @@ "description": "Name of Azure Machine Learning registry.", "required": true, "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$" + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { "in": "path", @@ -1860,7 +1860,7 @@ }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "original-uri" } } }, @@ -6725,7 +6725,7 @@ }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "original-uri" } } }, @@ -7048,7 +7048,7 @@ }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "original-uri" } } }, @@ -7659,7 +7659,7 @@ }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "original-uri" } } }, @@ -7982,7 +7982,7 @@ }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "original-uri" } } }, From 31733f03b3eed99e7e14591dac2ff6cc7059629c Mon Sep 17 00:00:00 2001 From: Karishma Daga Date: Thu, 16 Mar 2023 09:20:50 -0700 Subject: [PATCH 2/2] remove update to regex --- .../preview/2023-02-01-preview/mfe.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-02-01-preview/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-02-01-preview/mfe.json index 72ba274d8f24..ee56836dafe2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-02-01-preview/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-02-01-preview/mfe.json @@ -1226,7 +1226,7 @@ "description": "Name of Azure Machine Learning registry.", "required": true, "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -1309,7 +1309,7 @@ "description": "Name of Azure Machine Learning registry.", "required": true, "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$" }, { "in": "path", @@ -1533,7 +1533,7 @@ "description": "Name of Azure Machine Learning registry.", "required": true, "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$" }, { "in": "path", @@ -1642,7 +1642,7 @@ "description": "Name of Azure Machine Learning registry.", "required": true, "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$" }, { "in": "path",