Set the upgrade policy on Virtual Machine Scale Sets (Preview)
Article
Note
Upgrade policies for Virtual Machine Scale Sets with Uniform Orchestration are in general availability (GA).
Upgrade policies for Virtual Machine Scale Sets with Flexible Orchestration are currently in preview. Previews are made available to you on the condition that you agree to the supplemental terms of use. Some aspects of these features may change prior to general availability (GA).
The upgrade policy can be set during scale set creation or changed post deployment. If you don't explicitly set the upgrade policy, it defaults to manual. To change the upgrade policy of an existing scale set deployment, see changing the upgrade policy.
Setting the upgrade policy to automatic during scale set creation using PowerShell on Virtual Machine Scale Sets with Flexible Orchestration is not yet available. To set the upgrade policy to automatic, update the upgrade policy after scale set deployment. See changing the upgrade policy on a Virtual Machine Scale Set.
When creating a new scale set using Azure PowerShell, use New-AzVmss and the -UpgradePolicyMode parameter to set the upgrade policy mode.