Skip to content

Commit a72e896

Browse files
authored
update putDeployment example (#24486)
* update putdeployment example * remove ScaleSettings from example
1 parent 453fb04 commit a72e896

File tree

1 file changed

+12
-12
lines changed
  • specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples

1 file changed

+12
-12
lines changed

specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/PutDeployment.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
"accountName": "accountName",
77
"deploymentName": "deploymentName",
88
"deployment": {
9+
"sku": {
10+
"name": "Standard",
11+
"capacity": 1
12+
},
913
"properties": {
1014
"model": {
1115
"format": "OpenAI",
1216
"name": "ada",
1317
"version": "1"
14-
},
15-
"scaleSettings": {
16-
"scaleType": "Manual",
17-
"capacity": 1
1818
}
1919
}
2020
}
@@ -25,16 +25,16 @@
2525
"id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.CognitiveServices/accounts/accountName/deployments/deploymentName",
2626
"name": "deploymentName",
2727
"type": "Microsoft.CognitiveServices/accounts/deployments",
28+
"sku": {
29+
"name": "Standard",
30+
"capacity": 1
31+
},
2832
"properties": {
2933
"model": {
3034
"format": "OpenAI",
3135
"name": "ada",
3236
"version": "1"
3337
},
34-
"scaleSettings": {
35-
"scaleType": "Manual",
36-
"capacity": 1
37-
},
3838
"provisioningState": "Succeeded"
3939
}
4040
}
@@ -44,16 +44,16 @@
4444
"id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.CognitiveServices/accounts/accountName/deployments/deploymentName",
4545
"name": "deploymentName",
4646
"type": "Microsoft.CognitiveServices/accounts/deployments",
47+
"sku": {
48+
"name": "Standard",
49+
"capacity": 1
50+
},
4751
"properties": {
4852
"model": {
4953
"format": "OpenAI",
5054
"name": "ada",
5155
"version": "1"
5256
},
53-
"scaleSettings": {
54-
"scaleType": "Manual",
55-
"capacity": 1
56-
},
5757
"provisioningState": "Accepted"
5858
}
5959
}

0 commit comments

Comments
 (0)