You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-arc/servers/manage-automatic-vm-extension-upgrade.md
+25-4Lines changed: 25 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Automatic Extension Upgrade (preview) for Azure Arc-enabled servers
3
3
description: Learn how to enable the Automatic Extension Upgrade (preview) for your Azure Arc-enabled servers.
4
4
ms.topic: conceptual
5
-
ms.date: 11/06/2021
5
+
ms.date: 12/09/2021
6
6
---
7
7
8
8
# Automatic Extension Upgrade (preview) for Azure Arc-enabled servers
@@ -16,7 +16,7 @@ Automatic Extension Upgrade (preview) is available for Azure Arc-enabled servers
16
16
- Supported in all public cloud regions.
17
17
18
18
> [!NOTE]
19
-
> In this release, only the Azure CLI is supported to configure Automatic Extension Upgrade.
19
+
> In this release, it is only possible to configure Automatic Extension Upgrade with the Azure CLI and Azure PowerShell module.
20
20
21
21
## How does Automatic Extension Upgrade work?
22
22
@@ -53,7 +53,7 @@ Automatic Extension Upgrade (preview) supports the following extensions (and mor
53
53
54
54
To enable Automatic Extension Upgrade (preview) for an extension, you must ensure the property `enable-auto-upgrade` is set to `true` and added to every extension definition individually.
55
55
56
-
Use the [az connectedmachine extension](/cli/azure/connectedmachine/extension)cmdlet with the `--name`, `--machine-name`, `--enable-auto-upgrade`, and `--resource-group` parameters.
56
+
Use the [az connectedmachine extension update](/cli/azure/connectedmachine/extension)command with the `--name`, `--machine-name`, `--enable-auto-upgrade`, and `--resource-group` parameters.
57
57
58
58
```azurecli
59
59
az connectedmachine extension update \
@@ -69,6 +69,19 @@ To check the status of Automatic Extension Upgrade (preview) for all extensions
69
69
az connectedmachine extension list --resource-group resourceGroupName --machine-name machineName --query "[].{Name:name, AutoUpgrade:properties.enableAutoUpgrade}" --output table
70
70
```
71
71
72
+
To enable Automatic Extension Upgrade (preview) for an extension using Azure PowerShell, use the [Update-AzConnectedMachineExtension](/powershell/module/az.connectedmachine/update-azconnectedmachineextension) cmdlet with the `-Name`, `-MachineName`, `-ResourceGroup`, and `-EnableAutomaticUpgrade` parameters.
A machine managed by Arc-enabled servers can have multiple extensions with automatic extension upgrade enabled. The same machine can also have other extensions without automatic extension upgrade enabled.
@@ -81,7 +94,7 @@ To disable Automatic Extension Upgrade (preview) for an extension, you must ensu
81
94
82
95
### Using the Azure CLI
83
96
84
-
Use the [az connectedmachine extension ](/cli/azure/connectedmachine/extension)cmdlet with the `--name`, `--machine-name`, `--enable-auto-upgrade`, and `--resource-group` parameters.
97
+
Use the [az connectedmachine extension update](/cli/azure/connectedmachine/extension)command with the `--name`, `--machine-name`, `--enable-auto-upgrade`, and `--resource-group` parameters.
85
98
86
99
```azurecli
87
100
az connectedmachine extension update \
@@ -91,6 +104,14 @@ az connectedmachine extension update \
91
104
--enable-auto-upgrade false
92
105
```
93
106
107
+
### Using Azure PowerShell
108
+
109
+
Use the [Update-AzConnectedMachineExtension](/powershell/module/az.connectedmachine/update-azconnectedmachineextension) cmdlet with the `-Name`, `-MachineName`, `-ResourceGroup`, and `-EnableAutomaticUpgrade` parameters.
- You can deploy, manage, and remove VM extensions using the [Azure CLI](manage-vm-extensions-cli.md), [PowerShell](manage-vm-extensions-powershell.md), or [Azure Resource Manager templates](manage-vm-extensions-template.md).
0 commit comments