Skip to content

Commit e886f7b

Browse files
committed
Adding useRollingUpgradePolicy property to automaticOSUpgradePolicy for VMSS and other minor changes for AutomaticByPlatfrom settings
1 parent 1bf8576 commit e886f7b

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/computeRPCommon.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1822,11 +1822,12 @@
18221822
"Always"
18231823
],
18241824
"x-ms-enum": {
1825-
"name": "WindowsVMGuestPatchRebootSetting",
1825+
"name": "VMGuestPatchRebootSetting",
18261826
"modelAsString": true
18271827
}
18281828
}
1829-
}
1829+
},
1830+
"description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings."
18301831
},
18311832
"LinuxAutomaticByPatchSettings": {
18321833
"properties": {
@@ -1840,11 +1841,12 @@
18401841
"Always"
18411842
],
18421843
"x-ms-enum": {
1843-
"name": "LinuxVMGuestPatchRebootSetting",
1844+
"name": "VMGuestPatchRebootSetting",
18441845
"modelAsString": true
18451846
}
18461847
}
1847-
}
1848+
},
1849+
"description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings."
18481850
}
18491851
}
18501852
}

specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_List_MaximumSet_Gen.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"mode": "Automatic",
2626
"automaticOSUpgradePolicy": {
2727
"enableAutomaticOSUpgrade": true,
28-
"disableAutomaticRollback": true
28+
"disableAutomaticRollback": true,
29+
"useRollingUpgradePolicy": true
2930
},
3031
"rollingUpgradePolicy": {
3132
"maxBatchInstancePercent": 49,
@@ -360,7 +361,8 @@
360361
"mode": "Automatic",
361362
"automaticOSUpgradePolicy": {
362363
"enableAutomaticOSUpgrade": true,
363-
"disableAutomaticRollback": true
364+
"disableAutomaticRollback": true,
365+
"useRollingUpgradePolicy": true
364366
},
365367
"rollingUpgradePolicy": {
366368
"maxBatchInstancePercent": 49,

specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/virtualMachineScaleSet.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3507,6 +3507,10 @@
35073507
"disableAutomaticRollback": {
35083508
"type": "boolean",
35093509
"description": "Whether OS image rollback feature should be disabled. Default value is false."
3510+
},
3511+
"useRollingUpgradePolicy": {
3512+
"type": "boolean",
3513+
"description": "Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false."
35103514
}
35113515
},
35123516
"description": "The configuration parameters used for performing automatic OS upgrade."

0 commit comments

Comments
 (0)