File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed
articles/virtual-machine-scale-sets Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -193,11 +193,34 @@ The following example describes how to set automatic OS upgrades on a scale set
193
193
"properties" : {
194
194
"upgradePolicy" : {
195
195
"mode" : " Automatic" ,
196
+ "RollingUpgradePolicy" : {
197
+ "BatchInstancePercent" : 20 ,
198
+ "MaxUnhealthyInstancePercent" : 25 ,
199
+ "MaxUnhealthyUpgradedInstancePercent" : 25 ,
200
+ "PauseTimeBetweenBatches" : " PT0S"
196
201
"automaticOSUpgradePolicy" : {
197
- "enableAutomaticOSUpgrade" : true
202
+ "enableAutomaticOSUpgrade" : true ,
203
+ "useRollingUpgradePolicy" : true ,
204
+ "disableAutomaticRollback" : false
198
205
}
199
206
}
200
- }
207
+ "imagePublisher" : {
208
+ "type" : " string" ,
209
+ "defaultValue" : " MicrosoftWindowsServer"
210
+ },
211
+ "imageOffer" : {
212
+ "type" : " string" ,
213
+ "defaultValue" : " WindowsServer"
214
+ },
215
+ "imageSku" : {
216
+ "type" : " string" ,
217
+ "defaultValue" : " 2022-datacenter"
218
+ },
219
+ "imageOSVersion" : {
220
+ "type" : " string" ,
221
+ "defaultValue" : " latest"
222
+ }
223
+ }
201
224
```
202
225
203
226
### Bicep
You can’t perform that action at this time.
0 commit comments