Azure / Azure/azure-powershell

Add support for configuring the RebootSetting to New-AzAutomationSoftwareUpdateConfiguration

Open
#8,753 4 comments 0 reactions 1 assignee Claimed by @vikram-m View on GitHub
act-codegen-extensibility-squad Automation feature-request Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

## Description of the new feature
Since September 2018, [Update Management supports specifying the reboot behavior](https://feedback.azure.com/forums/905242-update-management/suggestions/34941754-ability-to-schedule-the-exact-reboot-time) 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](https://docs.microsoft.com/en-us/rest/api/automation/softwareupdateconfigurations/create#windowsproperties) and by the [.NET SDK](https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.management.automation.models.windowsproperties.rebootsetting?view=azure-dotnet). 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.