Skip to content

Commit 01efd1f

Browse files
authored
[Cognitive Services] Add new deployment scale type (#19256)
* [Cognitive Services] Add new deployment scale type * fix CI. * Add location on Async Header
1 parent 7eff9fe commit 01efd1f

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2021-10-01/cognitiveservices.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2699,6 +2699,7 @@
26992699
"type": "string",
27002700
"description": "Deployment scale type.",
27012701
"enum": [
2702+
"Standard",
27022703
"Manual"
27032704
],
27042705
"x-ms-enum": {

specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2021-10-01/examples/UpdateAccount.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
},
1414
"responses": {
1515
"200": {
16+
"headers": {
17+
"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",
18+
"azure-AsyncOperation": "http://azure.async.operation/status"
19+
},
1620
"body": {
1721
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/bvttest/providers/Microsoft.CognitiveServices/accounts/bingSearch",
1822
"name": "bingSearch",
@@ -30,6 +34,10 @@
3034
}
3135
},
3236
"202": {
37+
"headers": {
38+
"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",
39+
"azure-AsyncOperation": "http://azure.async.operation/status"
40+
},
3341
"body": {
3442
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/bvttest/providers/Microsoft.CognitiveServices/accounts/bingSearch",
3543
"name": "bingSearch",

specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2022-03-01/cognitiveservices.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2759,6 +2759,7 @@
27592759
"type": "string",
27602760
"description": "Deployment scale type.",
27612761
"enum": [
2762+
"Standard",
27622763
"Manual"
27632764
],
27642765
"x-ms-enum": {

specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2022-03-01/examples/UpdateAccount.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"responses": {
1515
"200": {
1616
"headers": {
17+
"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",
1718
"azure-AsyncOperation": "http://azure.async.operation/status"
1819
},
1920
"body": {
@@ -34,6 +35,7 @@
3435
},
3536
"202": {
3637
"headers": {
38+
"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",
3739
"azure-AsyncOperation": "http://azure.async.operation/status"
3840
},
3941
"body": {

0 commit comments

Comments
 (0)