billowy-army-68599
06/22/2022, 4:13 PMcurved-eye-56312
06/22/2022, 4:14 PMbillowy-army-68599
06/22/2022, 4:18 PM{
"apiVersion": "2018-06-01",
"type": "Microsoft.Compute/virtualMachines/extensions",
"name": "virtualMachineName/config-app",
"location": "[resourceGroup().location]",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/', variables('vmName'),copyindex())]",
"[variables('musicstoresqlName')]"
],
"tags": {
"displayName": "config-app"
},
"properties": {
"publisher": "Microsoft.Compute",
"type": "CustomScriptExtension",
"typeHandlerVersion": "1.10",
"autoUpgradeMinorVersion": true,
"settings": {
"timestamp": 123456789
},
"protectedSettings": {
"commandToExecute": "myExecutionCommand",
"storageAccountName": "myStorageAccountName",
"storageAccountKey": "myStorageAccountKey",
"managedIdentity": {},
"fileUris": [
"script location"
]
}
}
}
protectedSettings: { commandToExecute }
or protectedSettings: { fileUris }
curved-eye-56312
06/22/2022, 4:38 PMsettings
with:
`protectedSettings: { commands to execute
`}``?billowy-army-68599
06/22/2022, 4:39 PMprotectedSettings: script <base64script
curved-eye-56312
06/22/2022, 4:40 PM