Примечание
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Применимо к: ✔️ Виртуальные машины Linux ✔️ Виртуальные машины Windows ✔️ Гибкие группы масштабирования ✔️ Унифицированные группы масштабирования
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. For more information about the benefits of using Maintenance Configurations, its limitations, and other management options, see Managing platform updates with Maintenance Configurations.
Создайте конфигурацию обслуживания
Войдите на портал Azure.
Search for maintenance configurations, and then open the Maintenance Configurations result.
Выберите Создать.
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.
Это важно
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. После создания запланированного окна больше не нужно применять обновления вручную. When you finish, select Next.
Это важно
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). Затем выберите Далее.
On the Tags tab, add tags and values. Затем выберите Далее.
On the Review + create tab, review the summary. Затем выберите Создать.
По завершении развертывания выберите элемент Перейти к ресурсу.
Назначьте конфигурацию
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.
Удалите конфигурацию обслуживания
To delete a maintenance configuration, open the configuration details and select Delete.
Дальнейшие действия
Дополнительные сведения см. в статье "Обслуживание виртуальных машин в Azure".