From 412a2d19f635aacb5ef86cf02692cb8ffd1e6118 Mon Sep 17 00:00:00 2001 From: Yang Yuan Date: Fri, 27 May 2022 12:21:56 -0700 Subject: [PATCH 1/3] [Cognitive Services] Add new deployment scale type --- .../stable/2021-10-01/cognitiveservices.json | 1 + .../stable/2022-03-01/cognitiveservices.json | 1 + 2 files changed, 2 insertions(+) diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2021-10-01/cognitiveservices.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2021-10-01/cognitiveservices.json index 5cc5ee21f5fa..80e6caed594a 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2021-10-01/cognitiveservices.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2021-10-01/cognitiveservices.json @@ -2699,6 +2699,7 @@ "type": "string", "description": "Deployment scale type.", "enum": [ + "Standard", "Manual" ], "x-ms-enum": { diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2022-03-01/cognitiveservices.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2022-03-01/cognitiveservices.json index 690b90a8caa0..3be0c406f4c4 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2022-03-01/cognitiveservices.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2022-03-01/cognitiveservices.json @@ -2759,6 +2759,7 @@ "type": "string", "description": "Deployment scale type.", "enum": [ + "Standard", "Manual" ], "x-ms-enum": { From ab8804eb9a5ef7ed1d75b1baed8997eb9bba081e Mon Sep 17 00:00:00 2001 From: Yang Yuan Date: Fri, 27 May 2022 15:07:44 -0700 Subject: [PATCH 2/3] fix CI. --- .../stable/2021-10-01/examples/UpdateAccount.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2021-10-01/examples/UpdateAccount.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2021-10-01/examples/UpdateAccount.json index 60e9dbba3825..aa9d28ff8a06 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2021-10-01/examples/UpdateAccount.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2021-10-01/examples/UpdateAccount.json @@ -13,6 +13,9 @@ }, "responses": { "200": { + "headers": { + "azure-AsyncOperation": "http://azure.async.operation/status" + }, "body": { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/bvttest/providers/Microsoft.CognitiveServices/accounts/bingSearch", "name": "bingSearch", @@ -30,6 +33,9 @@ } }, "202": { + "headers": { + "azure-AsyncOperation": "http://azure.async.operation/status" + }, "body": { "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/bvttest/providers/Microsoft.CognitiveServices/accounts/bingSearch", "name": "bingSearch", From cbcf84a3b68198fbca84cf6071af7a449403f93e Mon Sep 17 00:00:00 2001 From: Yang Yuan Date: Mon, 6 Jun 2022 19:34:55 -0700 Subject: [PATCH 3/3] Add location on Async Header --- .../stable/2021-10-01/examples/UpdateAccount.json | 2 ++ .../stable/2022-03-01/examples/UpdateAccount.json | 2 ++ 2 files changed, 4 insertions(+) diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2021-10-01/examples/UpdateAccount.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2021-10-01/examples/UpdateAccount.json index aa9d28ff8a06..70680f160d3e 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2021-10-01/examples/UpdateAccount.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2021-10-01/examples/UpdateAccount.json @@ -14,6 +14,7 @@ "responses": { "200": { "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CognitiveServices/locations/global/operationResults/00000000-0000-0000-0000-000000000000?api-version=2021-10-01", "azure-AsyncOperation": "http://azure.async.operation/status" }, "body": { @@ -34,6 +35,7 @@ }, "202": { "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CognitiveServices/locations/global/operationResults/00000000-0000-0000-0000-000000000000?api-version=2021-10-01", "azure-AsyncOperation": "http://azure.async.operation/status" }, "body": { diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2022-03-01/examples/UpdateAccount.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2022-03-01/examples/UpdateAccount.json index 046bfb501c63..44bfff3ef4ce 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2022-03-01/examples/UpdateAccount.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2022-03-01/examples/UpdateAccount.json @@ -14,6 +14,7 @@ "responses": { "200": { "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CognitiveServices/locations/global/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-03-01", "azure-AsyncOperation": "http://azure.async.operation/status" }, "body": { @@ -34,6 +35,7 @@ }, "202": { "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CognitiveServices/locations/global/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-03-01", "azure-AsyncOperation": "http://azure.async.operation/status" }, "body": {