Skip to content

Commit 8f4e60e

Browse files
authored
Merge pull request #89382 from jakaruna-MSFT/patch-41
(AzureCXP) resolves MicrosoftDocs/azure-docs#39077
2 parents 3ec6e86 + 25fdf18 commit 8f4e60e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/virtual-machines/extensions/custom-script-windows.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ These items should be treated as sensitive data and specified in the extensions
6565
{
6666
"apiVersion": "2018-06-01",
6767
"type": "Microsoft.Compute/virtualMachines/extensions",
68-
"name": "config-app",
68+
"name": "virtualMachineName/config-app",
6969
"location": "[resourceGroup().location]",
7070
"dependsOn": [
7171
"[concat('Microsoft.Compute/virtualMachines/', variables('vmName'),copyindex())]",
@@ -97,6 +97,9 @@ These items should be treated as sensitive data and specified in the extensions
9797
> [!NOTE]
9898
> Only one version of an extension can be installed on a VM at a point in time, specifying custom script twice in the same Resource Manager template for the same VM will fail.
9999
100+
> [!NOTE]
101+
> We can use this schema inside the VirtualMachine resource or as a standalone resource. The name of the resource has to be in this format "virtualMachineName/extensionName", if this extension is used as a standalone resource in the ARM template. 
102+
100103
### Property values
101104

102105
| Name | Value / Example | Data Type |

0 commit comments

Comments
 (0)