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
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,19 +29,19 @@ How does the upgrade process work for an Arc-enabled server?
29
29
30
30
Automatic Extension Upgrade supports the following extensions (and more are added periodically):
31
31
32
-
- Dependency Agent – [Linux](./extensions/agent-dependency-linux.md) and [Windows](./extensions/agent-dependency-windows.md)
33
-
-[Guest Configuration Extension](./extensions/guest-configuration.md) – Linux and Windows
34
-
- Key Vault – [Linux](./extensions/key-vault-linux.md) and [Windows](./extensions/key-vault-windows.md)
32
+
- Dependency Agent – [Linux](../../virtual-machines/extensions/agent-dependency-linux.md) and [Windows](../../virtual-machines/extensions/agent-dependency-windows.md)
33
+
-[Guest Configuration Extension](../../virtual-machines/extensions/guest-configuration.md) – Linux and Windows
34
+
- Key Vault – [Linux](../../virtual-machines/extensions/key-vault-linux.md) and [Windows](../../virtual-machines/extensions/key-vault-windows.md)
35
35
36
36
## Enabling Automatic Extension Upgrade
37
37
38
38
To enable Automatic Extension Upgrade for an extension, you must ensure the property `enableAutomaticUpgrade` is set to `true` and added to every extension definition individually.
39
39
40
40
### Using the REST API
41
41
42
-
To enable automatic extension upgrade for an extension (in this example the Dependency Agent extension), use the following:
42
+
To enable automatic extension upgrade for an extension (in this example the Dependency Agent extension), run the following command:
43
43
44
-
```
44
+
```rest
45
45
PUT on `/subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.HybridCompute/machines/<machineName>/extensions/<extensionName>?api-version=2019-12-01`
46
46
```
47
47
@@ -62,12 +62,12 @@ PUT on `/subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/provi
62
62
63
63
### Using Azure PowerShell
64
64
65
-
Use the [Set-AzConnectedMachineExtension](/powershell/module/az.connectedmachine/new-azconnectedmachineextension) cmdlet:
65
+
Use the [Set-AzConnectedMachineExtension](/powershell/module/az.connectedmachine/new-azconnectedmachineextension) cmdlet with the `-MachineName`, `-ExtensionName`, `-Publisher`, `-ExtensionType`, `-EnableAutomaticUpgrade`, and `ResourceGroupName` parameters.
Use the [az connectedmachine extension ](/cli/azure/connectedmachine/extension) cmdlet:
80
+
Use the [az connectedmachine extension ](/cli/azure/connectedmachine/extension) cmdlet with the `--extension-name`, `--machine-name`, `-publisher`, `--enable-auto-upgrade`, and `--resource-group` parameters.
@@ -101,9 +101,9 @@ To disable Automatic Extension Upgrade for an extension, you must ensure the pro
101
101
102
102
### Using the REST API
103
103
104
-
To disable automatic extension upgrade for an extension (in this example the Dependency Agent extension), use the following:
104
+
To disable automatic extension upgrade for an extension (in this example the Dependency Agent extension), run the following command:
105
105
106
-
```
106
+
```rest
107
107
PUT on `/subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.HybridCompute/machines/<machineName>/extensions/<extensionName>?api-version=2019-12-01`
108
108
```
109
109
@@ -124,9 +124,9 @@ PUT on `/subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/provi
124
124
125
125
### Using Azure PowerShell
126
126
127
-
Use the [Set-AzConnectedMachineExtension](/powershell/module/az.connectedmachine/new-azconnectedmachineextension) cmdlet:
127
+
Use the [Set-AzConnectedMachineExtension](/powershell/module/az.connectedmachine/new-azconnectedmachineextension) cmdlet with the `-MachineName`, `-ExtensionName`, `-Publisher`, `-ExtensionType`, `-EnableAutomaticUpgrade`, and `ResourceGroupName` parameters.
Use the [az connectedmachine extension ](/cli/azure/connectedmachine/extension) cmdlet:
142
+
Use the [az connectedmachine extension ](/cli/azure/connectedmachine/extension) cmdlet with the `--extension-name`, `--machine-name`, `--publisher`, `--enable-auto-upgrade`, and `--resource-group` parameters.
0 commit comments