Control updates with Maintenance Control and the Azure portal
Maintenance control lets you decide when to apply updates to your isolated VMs and Azure dedicated hosts. This topic covers the Azure portal options for Maintenance control. For more about benefits of using Maintenance control, its limitations, and other management options, see Managing platform updates with Maintenance Control.
Create a maintenance configuration
Sign in to the Azure portal.
Search for Maintenance Configurations.
Choose a subscription and resource group, provide a name for the configuration, and choose a region. Click Next.
Add tags and values. Click Next.
Review the summary. Click Create.
After the deployment is complete, click Go to resource.
Assign the configuration
On the details page of the maintenance configuration, click Assignments and then click Assign resource.
Select the resources that you want the maintenance configuration assigned to and click Ok. The Type column shows whether the resource is an isolated VM or Azure dedicated host. The VM needs to be running to assign the configuration. An error occurs if you try to assign a configuration to a VM that is stopped.
You can verify that the configuration was applied correctly or check to see any maintenance configuration that is currently assigned using Maintenance Configurations. The Type column shows whether the configuration is assigned to an isolated VM or Azure dedicated host.
You can also check the configuration for a specific virtual machine on its properties page. Click Maintenance to see the configuration assigned to that virtual machine.
Check for pending updates
There are also two ways to check if updates are pending for a maintenance configuration. In Maintenance Configurations, on the details for the configuration, click Assignments and check Maintenance status.
You can also check a specific host using Virtual Machines or properties of the dedicated host.
You can apply pending updates on demand using Virtual Machines. On the VM details, click Maintenance and click Apply maintenance now.
Check the status of applying updates
You can check on the progress of the updates for a configuration in Maintenance Configurations or using Virtual Machines. On the VM details, click Maintenance. In the following example, the Maintenance state shows an update is Pending.
Delete a maintenance configuration
To delete a configuration, open the configuration details and click Delete.
To learn more, see Maintenance and updates.