Skip to content

Instantly share code, notes, and snippets.

@sjwaight
Last active January 11, 2016 02:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sjwaight/47846f0414daaef84ac1 to your computer and use it in GitHub Desktop.
Save sjwaight/47846f0414daaef84ac1 to your computer and use it in GitHub Desktop.
{
"_comment": "originally from: https://github.com/Azure/azure-quickstart-templates/blob/master/201-web-app-vm-dsc/azuredeploy.json"
"name": "DSCExt1",
"type": "extensions",
"location": "[parameters('vmLocation')]",
"apiVersion": "2015-05-01-preview",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/', parameters('vmName'))]"
],
"tags": {
"displayName": "DSCExt1"
},
"properties": {
"publisher": "Microsoft.Powershell",
"type": "DSC",
"typeHandlerVersion": "2.8",
"settings": {
"modulesUrl": "https://github.com/Azure/azure-quickstart-templates/raw/master/201-web-app-vm-dsc/ConfigureWebServer.ps1.zip",
"configurationFunction": "ConfigureWebServer.ps1\\Main",
"properties": {
"MachineName": "[parameters('vmName')]",
"WebDeployPackagePath": "[parameters('webdeploypkg')]",
"UserName": "[parameters('adminUserName')]",
"Password": "[parameters('adminPassword')]",
"DbServerName": "[parameters('DatabaseServerName')]",
"DbName": "[parameters('databaseName')]",
"DbUserName": "[parameters('databaseServerAdminLogin')]",
"DbPassword": "[parameters('databaseServerAdminLoginPassword')]"
}
},
"protectedSettings": {}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment