Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
Gäller för: ✔️ Virtuella Linux-datorer ✔️ Virtuella Windows-datorer ✔️ Flexibla skalningsuppsättningar ✔️ Enhetliga skalningsuppsättningar
With the Maintenance Configurations feature, you can control when to apply updates to various Azure resources. This article covers the Azure portal options for using this feature. Mer information om fördelarna med att använda underhållskonfigurationer, dess begränsningar och andra hanteringsalternativ finns i Hantera plattformsuppdateringar med underhållskonfigurationer.
Skapa en underhållskonfiguration
Logga in på Azure-portalen.
Search for maintenance configurations, and then open the Maintenance Configurations result.
Välj Skapa.
On the Basics tab, choose a subscription and resource group, provide a name for the configuration, choose a region, and select one of the scopes that you want to apply updates for. Then select Add a schedule to add or modify the schedule for your configuration.
Viktigt!
Certain virtual machine types and schedules require a specific kind of scope. To find the right scope for your virtual machine, see Scopes.
On the Add/Modify schedule pane, declare a scheduled window when Azure will apply the updates on your resources. Set a start date, maintenance window, and recurrence if your resource requires it. När du har skapat ett schemalagt fönster behöver du inte längre tillämpa uppdateringarna manuellt. När du är klar väljer du Nästa.
Viktigt!
The duration of the maintenance window must be 2 hours or longer.
On the Machines tab, assign resources now or skip this step and assign resources later (after you deploy the maintenance configuration). Välj sedan Nästa.
On the Tags tab, add tags and values. Välj sedan Nästa.
On the Review + create tab, review the summary. Välj sedan Skapa.
När distributionen är klar väljer du Gå till resurs.
Assign the configuration
On the details page of the maintenance configuration, select Machines, and then select Add machine.
On the Select resources pane, select the resources that you want the maintenance configuration assigned to. The VMs that you select need to be running. If you try to assign a configuration to a VM that's stopped, an error occurs. When you finish, select Ok.
Check the configuration and status
You can verify that the configuration was applied correctly, or check which machines are assigned to a maintenance configuration, by going to Maintenance Configurations>Machines.
The Maintenance status column shows whether any updates are pending for a maintenance configuration.
Ta bort en underhållskonfiguration
To delete a maintenance configuration, open the configuration details and select Delete.
Nästa steg
Mer information finns i Underhåll för virtuella datorer i Azure.