Skip to content

Commit d29808e

Browse files
authored
Merge pull request #281445 from SnehaSudhirG/22July-PrePostGAUpdates
Removed ref to preview, registering for preview and updated date
2 parents 512daae + a162ec5 commit d29808e

7 files changed

+41
-53
lines changed

articles/update-manager/manage-pre-post-events.md

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,19 @@
11
---
2-
title: Manage the pre and post maintenance configuration events (preview) in Azure Update Manager
2+
title: Manage the pre and post maintenance configuration events in Azure Update Manager
33
description: The article provides the steps to manage the pre and post maintenance events in Azure Update Manager.
44
ms.service: azure-update-manager
5-
ms.date: 07/09/2024
5+
ms.date: 07/24/2024
66
ms.topic: how-to
77
ms.author: sudhirsneha
88
author: SnehaSudhirG
99
---
1010

11-
# Manage pre and post events maintenance configuration events (preview)
11+
# Manage pre and post events maintenance configuration events
1212

1313
**Applies to:** :heavy_check_mark: Windows VMs :heavy_check_mark: Linux VMs :heavy_check_mark: On-premises environment :heavy_check_mark: Azure Arc-enabled servers :heavy_check_mark: Azure VMs.
1414

1515
This article describes on how to register your subscription and manage pre and post events in Azure Update Manager.
1616

17-
## Register your subscription for public preview
18-
19-
To self-register your subscription for public preview, follow these steps:
20-
21-
#### [Azure portal](#tab/portal)
22-
23-
1. Sign in to the [Azure portal](https://portal.azure.com) and select **More services**.
24-
1. On the **All services** page, search for **Preview features**.
25-
1. On the **Preview Features** page, search and select **Pre and Post Events**.
26-
1. Select the feature and then select **Register** to register the subscription.
27-
28-
:::image type="content" source="./media/tutorial-using-functions/register-feature.png" alt-text="Screenshot that shows how to register the preview feature." lightbox="./media/tutorial-using-functions/register-feature.png":::
29-
30-
#### [Azure CLI](#tab/cli)
31-
32-
```azurecli-interactive
33-
az feature register --name InGuestPatchPrePostMaintenanceActivity --namespace Microsoft.Maintenance
34-
```
35-
36-
#### [PowerShell](#tab/ps)
37-
38-
```azurepowershell-interactive
39-
Register-AzProviderFeature -FeatureName "InGuestPatchPrePostMaintenanceActivity" -ProviderNamespace "Microsoft.Maintenance"
40-
```
41-
---
42-
4317
## Manage pre and post events
4418

4519
### View pre and post events
@@ -253,7 +227,7 @@ To delete pre and post events, follow these steps:
253227
---
254228

255229
## Next steps
256-
- For an overview of pre and post events (preview) in Azure Update Manager, refer [here](pre-post-scripts-overview.md)
230+
- For an overview of pre and post events in Azure Update Manager, refer [here](pre-post-scripts-overview.md)
257231
- To learn on how to create pre and post events, see [pre and post maintenance configuration events](pre-post-events-schedule-maintenance-configuration.md).
258232
- To learn how to use pre and post events to turn on and off your VMs using Webhooks, refer [here](tutorial-webhooks-using-runbooks.md).
259233
- To learn how to use pre and post events to turn on and off your VMs using Azure Functions, refer [here](tutorial-using-functions.md).

articles/update-manager/pre-post-events-schedule-maintenance-configuration.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
2-
title: Create the pre and post maintenance configuration events (preview) in Azure Update Manager
2+
title: Create the pre and post maintenance configuration events in Azure Update Manager
33
description: The article provides the steps to create the pre and post maintenance events in Azure Update Manager.
44
ms.service: azure-update-manager
5-
ms.date: 07/09/2024
5+
ms.date: 07/24/2024
66
ms.topic: how-to
77
ms.author: sudhirsneha
88
author: SnehaSudhirG
99
zone_pivot_groups: create-pre-post-events-maintenance-configuration
1010
---
1111

12-
# Create pre and post events (preview)
12+
# Create pre and post events
1313

1414
**Applies to:** :heavy_check_mark: Windows VMs :heavy_check_mark: Linux VMs :heavy_check_mark: On-premises environment :heavy_check_mark: Azure Arc-enabled servers :heavy_check_mark: Azure VMs.
1515

@@ -19,7 +19,7 @@ This article describes on how to create pre and post events in Azure Update Mana
1919

2020
## Event Grid in schedule maintenance configurations
2121

22-
Azure Update Manager leverages Event grid to create and manage pre and post events. For more information, go through the [overview of Event Grid](../event-grid/overview.md). To trigger an event either before or after a schedule maintenance window, you require the following:
22+
Azure Update Manager leverages Event Grid to create and manage pre and post events. For more information, go through the [overview of Event Grid](../event-grid/overview.md). To trigger an event either before or after a schedule maintenance window, you require the following:
2323

2424
1. **Schedule maintenance configuration** - You can create Pre and post events for a schedule maintenance configuration in Azure Update Manager. For more information, see [schedule updates using maintenance configurations](scheduled-patching.md).
2525
1. **Action to be performed in the pre or post event** - You can use the [Event handlers](../event-grid/event-handlers.md) (Endpoints) supported by Event Grid to define actions or tasks. Here are examples on how to create Azure Automation Runbooks via Webhooks and Azure Functions. Within these Event handlers/Endpoints, you must define the actions that should be performed as part of pre and post events.
@@ -28,7 +28,7 @@ Azure Update Manager leverages Event grid to create and manage pre and post even
2828
1. **Pre and post event** - You can follow the steps shared in the following section to create a pre and post event for schedule maintenance configuration. To learn more about the terms used in the Basics tab of Event Grid, see [Event Grid](../event-grid/concepts.md) terms.
2929

3030

31-
## Create a pre and post event (preview)
31+
## Create a pre and post event
3232

3333
::: zone pivot="new-mc"
3434

@@ -386,7 +386,7 @@ PUT /subscriptions/<subscription Id>/resourceGroups/<resource group name>/provid
386386

387387

388388
## Next steps
389-
- For an overview of pre and post events (preview) in Azure Update Manager, refer [here](pre-post-scripts-overview.md).
389+
- For an overview of pre and post events in Azure Update Manager, refer [here](pre-post-scripts-overview.md).
390390
- To learn on how to manage pre and post events or to cancel a schedule run, see [pre and post maintenance configuration events](manage-pre-post-events.md).
391391
- To learn how to use pre and post events to turn on and off your VMs using Webhooks, refer [here](tutorial-webhooks-using-runbooks.md).
392392
- To learn how to use pre and post events to turn on and off your VMs using Azure Functions, refer [here](tutorial-using-functions.md).

articles/update-manager/pre-post-scripts-overview.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
2-
title: An overview of pre and post events (preview) in your Azure Update Manager
3-
description: This article provides an overview on pre and post events (preview) and its requirements.
2+
title: An overview of pre and post events in your Azure Update Manager
3+
description: This article provides an overview on pre and post events and its requirements.
44
ms.service: azure-update-manager
5-
ms.date: 06/15/2024
5+
ms.date: 07/24/2024
66
ms.topic: conceptual
77
author: SnehaSudhir
88
ms.author: sudhirsneha
99
---
1010

11-
# About pre and post events (preview)
11+
# About pre and post events
1212

1313
**Applies to:** :heavy_check_mark: Windows VMs :heavy_check_mark: Linux VMs :heavy_check_mark: On-premises environment :heavy_check_mark: Azure Arc-enabled servers.
1414

15-
The pre and post events (preview) in Azure Update Manager allow you to perform certain tasks automatically before and after a scheduled maintenance configuration. For more information on how to create schedule maintenance configurations, see [Schedule recurring updates for machines by using the Azure portal and Azure Policy](scheduled-patching.md). For example, using pre and post events, you can execute the following tasks on machines that are part of a schedule. The following list isn't exhaustive, and you can create pre and post events as per your need.
15+
The pre and post events in Azure Update Manager allow you to perform certain tasks automatically before and after a scheduled maintenance configuration. For more information on how to create schedule maintenance configurations, see [Schedule recurring updates for machines by using the Azure portal and Azure Policy](scheduled-patching.md). For example, using pre and post events, you can execute the following tasks on machines that are part of a schedule. The following list isn't exhaustive, and you can create pre and post events as per your need.
1616

1717

1818
## Sample tasks
@@ -92,6 +92,8 @@ We recommend that you're watchful of the following:
9292
- The status of the pre and post event run can be checked in the event handler you chose.
9393

9494
## Next steps
95-
95+
- To learn on how to create pre and post events, see [pre and post maintenance configuration events](pre-post-events-schedule-maintenance-configuration.md).
9696
- To learn on how to configure pre and post events or to cancel a schedule run, see [pre and post maintenance configuration events](manage-pre-post-events.md).
97+
- To learn how to use pre and post events to turn on and off your VMs using Webhooks, refer [here](tutorial-webhooks-using-runbooks.md).
98+
- To learn how to use pre and post events to turn on and off your VMs using Azure Functions, refer [here](tutorial-using-functions.md).
9799

articles/update-manager/toc.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ items:
3131
items:
3232
- name: Schedule updates dynamically and at scale using dynamic scope
3333
href: tutorial-dynamic-grouping-for-scheduled-patching.md
34-
- name: Pre and Post Events (preview)
34+
- name: Pre and Post Events
3535
items:
3636
- name: Create pre and post events using a webhook with Automation Runbooks
3737
href: tutorial-webhooks-using-runbooks.md
@@ -43,7 +43,7 @@ items:
4343
href: updates-maintenance-schedules.md
4444
- name: Assessment options
4545
href: assessment-options.md
46-
- name: Overview of Pre and Post Events (preview)
46+
- name: Overview of Pre and Post Events
4747
href: pre-post-scripts-overview.md
4848
- name: Query resources with Azure Resource Graph
4949
href: query-logs.md
@@ -85,11 +85,11 @@ items:
8585
href: manage-dynamic-scoping.md
8686
- name: Schedule patching configuration on Azure VMs for business continuity
8787
href: prerequsite-for-schedule-patching.md
88-
- name: Pre and Post Events (preview)
88+
- name: Pre and Post Events
8989
items:
90-
- name: Create pre and post events (preview)
90+
- name: Create pre and post events
9191
href: pre-post-events-schedule-maintenance-configuration.md
92-
- name: Manage pre and post events (preview)
92+
- name: Manage pre and post events
9393
href: manage-pre-post-events.md
9494
- name: Manage updates for Azure VMs using REST API
9595
href: manage-vms-programmatically.md

articles/update-manager/tutorial-using-functions.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create pre and post events using Azure Functions.
33
description: In this tutorial, you learn how to create the pre and post events using Azure Functions.
44
ms.service: azure-update-manager
5-
ms.date: 07/15/2024
5+
ms.date: 07/24/2024
66
ms.topic: tutorial
77
author: SnehaSudhirG
88
ms.author: sudhirsneha
@@ -287,5 +287,8 @@ In this tutorial, you learn how to:
287287
You can also use Azure Storage accounts and Event hub to store, send, and receive events. Learn more on [how to create Event hub](../event-hubs/event-hubs-create.md) and [Storage queues](../event-hubs/event-hubs-create.md).
288288
289289
## Next steps
290-
Learn about [managing multiple machines](manage-multiple-machines.md).
290+
- Learn more on the [overview of pre and post events in Azure Update Manager](pre-post-scripts-overview.md).
291+
- Learn more on [how to create pre and post events](pre-post-events-schedule-maintenance-configuration.md)
292+
- To learn on how to manage pre and post events or to cancel a schedule run, see [pre and post maintenance configuration events](manage-pre-post-events.md).
293+
- Learn more on [Create pre and post events using a webhook with Automation](manage-multiple-machines.md).
291294

articles/update-manager/tutorial-webhooks-using-runbooks.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create pre and post events using a webhook with Automation runbooks.
33
description: In this tutorial, you learn how to create the pre and post events using webhook with Automation runbooks.
44
ms.service: azure-update-manager
5-
ms.date: 12/07/2023
5+
ms.date: 07/24/2024
66
ms.topic: tutorial
77
author: SnehaSudhirG
88
ms.author: sudhirsneha
@@ -13,7 +13,7 @@ ms.author: sudhirsneha
1313

1414
**Applies to:** :heavy_check_mark: Windows VMs :heavy_check_mark: Linux VMs :heavy_check_mark: On-premises environment :heavy_check_mark: Azure VMs :heavy_check_mark: Azure Arc-enabled servers.
1515

16-
Pre and post events, also known as pre/post-scripts, allow you to execute user-defined actions before and after the schedule patch installation. One of the most common scenarios is to start and stop a VM. With pre-events, you can run a prepatching script to start the VM before initiating the schedule patching process. Once the schedule patching is complete, and the server is rebooted, a post-patching script can be executed to safely shutdown the VM
16+
Pre and post events, also known as pre/post-scripts, allow you to execute user-defined actions before and after the schedule patch installation. One of the most common scenarios is to start and stop a VM. With pre-events, you can run a prepatching script to start the VM before initiating the schedule patching process. Once the schedule patching is complete, and the server is rebooted, a post-patching script can be executed to safely shut down the VM.
1717

1818
This tutorial explains how to create pre and post events to start and stop a VM in a schedule patch workflow using a webhook.
1919

@@ -369,5 +369,8 @@ Invoke-AzRestMethod `
369369
370370
371371
## Next steps
372-
Learn about [managing multiple machines](manage-multiple-machines.md).
372+
- Learn more on the [overview of pre and post events in Azure Update Manager](pre-post-scripts-overview.md).
373+
- Learn more on [how to create pre and post events](pre-post-events-schedule-maintenance-configuration.md)
374+
- To learn on how to manage pre and post events or to cancel a schedule run, see [pre and post maintenance configuration events](manage-pre-post-events.md).
375+
- Learn more on [how Create pre and post events using Azure Functions](tutorial-using-functions.md).
373376

articles/update-manager/whats-new.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,19 @@ ms.service: azure-update-manager
55
ms.topic: overview
66
author: SnehaSudhirG
77
ms.author: sudhirsneha
8-
ms.date: 07/05/2024
8+
ms.date: 07/24/2024
99
---
1010

1111
# What's new in Azure Update Manager
1212

1313
[Azure Update Manager](overview.md) helps you manage and govern updates for all your machines. You can monitor Windows and Linux update compliance across your deployments in Azure, on-premises, and on the other cloud platforms from a single dashboard. This article summarizes new releases and features in Azure Update Manager.
1414

15+
## July 2024
16+
17+
### Pre and Post events
18+
19+
General Availability: Azure Update Manager now supports creating and managing pre and post events on scheduled maintenance configurations. [Learn more](pre-post-scripts-overview.md).
20+
1521
## June 2024
1622

1723
### New region support

0 commit comments

Comments
 (0)