@@ -9,7 +9,7 @@ ms.author: migreene
9
9
ms.date : 04/05/2023
10
10
---
11
11
12
- # Overview of the Azure Automanage machine configuration extension
12
+ # Azure Automanage machine configuration extension
13
13
14
14
The machine configuration extension is a feature of Azure Automanage that performs audit and configuration operations inside virtual machines (VMs).
15
15
@@ -80,13 +80,13 @@ az vm extension set --publisher Microsoft.GuestConfiguration --name Configurati
80
80
To deploy the extension for Linux:
81
81
82
82
``` powershell
83
- Set-AzVMExtension -Publisher 'Microsoft.GuestConfiguration' -Type 'ConfigurationforLinux ' -Name 'AzurePolicyforLinux' -TypeHandlerVersion 1.0 -ResourceGroupName '<myResourceGroup>' -Location '<myLocation>' -VMName '<myVM>' -EnableAutomaticUpgrade $true
83
+ Set-AzVMExtension -Publisher 'Microsoft.GuestConfiguration' -ExtensionType 'ConfigurationForLinux ' -Name 'AzurePolicyforLinux' -TypeHandlerVersion 1.0 -ResourceGroupName '<myResourceGroup>' -Location '<myLocation>' -VMName '<myVM>' -EnableAutomaticUpgrade $true
84
84
```
85
85
86
86
To deploy the extension for Windows:
87
87
88
88
``` powershell
89
- Set-AzVMExtension -Publisher 'Microsoft.GuestConfiguration' -Type 'ConfigurationforWindows' -Name 'AzurePolicyforWindows' -TypeHandlerVersion 1.0 -ResourceGroupName '<myResourceGroup>' -Location '<myLocation>' -VMName '<myVM>' -EnableAutomaticUpgrade $true
89
+ Set-AzVMExtension -Publisher 'Microsoft.GuestConfiguration' -ExtensionType 'ConfigurationforWindows' -Name 'AzurePolicyforWindows' -TypeHandlerVersion 1.0 -ResourceGroupName '<myResourceGroup>' -Location '<myLocation>' -VMName '<myVM>' -EnableAutomaticUpgrade $true
90
90
```
91
91
92
92
### ARM template
@@ -104,7 +104,7 @@ To deploy the extension for Linux:
104
104
],
105
105
"properties" : {
106
106
"publisher" : " Microsoft.GuestConfiguration" ,
107
- "type" : " ConfigurationforLinux " ,
107
+ "type" : " ConfigurationForLinux " ,
108
108
"typeHandlerVersion" : " 1.0" ,
109
109
"autoUpgradeMinorVersion" : true ,
110
110
"enableAutomaticUpgrade" : true,
@@ -151,7 +151,7 @@ resource windowsVMGuestConfigExtension 'Microsoft.Compute/virtualMachines/extens
151
151
location: resourceGroup().location
152
152
properties: {
153
153
publisher: 'Microsoft.GuestConfiguration'
154
- type: 'ConfigurationforLinux '
154
+ type: 'ConfigurationForLinux '
155
155
typeHandlerVersion: '1.0'
156
156
autoUpgradeMinorVersion: true
157
157
enableAutomaticUpgrade: true
@@ -192,7 +192,7 @@ resource "azurerm_virtual_machine_extension" "gc" {
192
192
name = "AzurePolicyforLinux"
193
193
virtual_machine_id = "<myVMID>"
194
194
publisher = "Microsoft.GuestConfiguration"
195
- type = "ConfigurationforLinux "
195
+ type = "ConfigurationForLinux "
196
196
type_handler_version = "1.0"
197
197
auto_upgrade_minor_version = "true"
198
198
}
0 commit comments