Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.26k stars 3.86k forks source link

Add support for configuring the RebootSetting to New-AzAutomationSoftwareUpdateConfiguration #8753

Open jberezanski-mdg opened 5 years ago

jberezanski-mdg commented 5 years ago

Description of the new feature

Since September 2018, Update Management supports specifying the reboot behavior when scheduling a update deployment (never reboot, always reboot, reboot without installing updates). This setting is exposed as a "rebootSetting" property on the Windows and Linux configuration objects both by the REST API and by the .NET SDK. This setting makes it possible to control the exact reboot time by scheduling two update deployments (first to install updates, second to reboot). Unfortunately, New-AzAutomationSoftwareUpdateConfiguration does not provide a way to set this property.

Proposed implementation details (optional)

A new parameter -RebootSetting ([string] + [ValidateSet]) for the New-AzAutomationSoftwareUpdateConfiguration cmdlet, with "IfRequired" as default.

andyw248 commented 4 years ago

Feature request to bring Update Mgmt cmdlet to parity with Rest API and portal.

vikram-m commented 4 years ago

This is being tracked internally (8010621)

vikram-m commented 4 years ago

Currently, team is busy with other high priority items and this would be picked up in CY2021 Q1.