Skip to content

Commit

Permalink
added autoOSUpgradePolicy to UpgradePolicy (#2990)
Browse files Browse the repository at this point in the history
* added autoOSUpgradePolicy

* added deafult value as false
  • Loading branch information
sds6 authored and marstr committed May 8, 2018
1 parent 4816a6e commit f3c8724
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5952,6 +5952,15 @@
},
"description": "Describes a virtual machine scale set sku."
},
"AutoOSUpgradePolicy": {
"properties": {
"disableAutoRollback": {
"type": "boolean",
"description": "Whether OS image rollback feature should be disabled. Default value is false."
}
},
"description": "The configuration parameters used for performing automatic OS upgrade."
},
"UpgradePolicy": {
"properties": {
"mode": {
Expand All @@ -5974,6 +5983,10 @@
"automaticOSUpgrade": {
"type": "boolean",
"description": "Whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the image becomes available."
},
"autoOSUpgradePolicy":{
"$ref": "#/definitions/AutoOSUpgradePolicy",
"description": "Configuration parameters used for performing automatic OS Upgrade."
}
},
"description": "Describes an upgrade policy - automatic, manual, or rolling."
Expand Down

0 comments on commit f3c8724

Please sign in to comment.