Skip to content

Commit 4f81ac7

Browse files
authored
Update virtual-machine-scale-sets-automatic-upgrade.md
1 parent 6295c27 commit 4f81ac7

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

articles/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,34 @@ The following example describes how to set automatic OS upgrades on a scale set
193193
"properties": {
194194
"upgradePolicy": {
195195
"mode": "Automatic",
196+
"RollingUpgradePolicy": {
197+
"BatchInstancePercent": 20,
198+
"MaxUnhealthyInstancePercent": 25,
199+
"MaxUnhealthyUpgradedInstancePercent": 25,
200+
"PauseTimeBetweenBatches": "PT0S"
196201
"automaticOSUpgradePolicy": {
197-
"enableAutomaticOSUpgrade": true
202+
"enableAutomaticOSUpgrade": true,
203+
"useRollingUpgradePolicy": true,
204+
"disableAutomaticRollback": false
198205
}
199206
}
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+
}
201224
```
202225

203226
### Bicep

0 commit comments

Comments
 (0)