Allow Virtual Machine Scale Sets to have both Rolling upgrade mode and Automatic OS Upgrade #18605
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently when creating/updating VMSS through the AzureRM provider, you are unable to use the
Rolling
upgrade mode and haveAutomatic OS Policy
enabled. You receive the following error:After looking through the VMSS documentation, I can't see any technical reason for this and I have managed to create/update a VMSS through the Azure Portal with both the
Rolling
upgrade mode andAutomatic OS Upgrade
enabled with the resulting ARM template below.Looking at the VMSS resources, I think it is changing a couple checks to allow Rolling to be specified and with no further changes needed. I have tested by building locally and running locally and it has worked as expected
#13745