Last active
September 25, 2016 11:34
-
-
Save nivleshc/179b3a321dd20f9962cf766eedcdf0e6 to your computer and use it in GitHub Desktop.
ARM DSC extension to install ADFS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "Microsoft.Compute/virtualMachines/extensions", | |
"name": "[concat(parameters('ADFS01VMName'),'/InstallADFS')]", | |
"apiVersion": "2015-05-01-preview", | |
"location": "[resourceGroup().location]", | |
"dependsOn": [ | |
"[concat('Microsoft.Compute/virtualMachines/', parameters('ADFS01VMName'))]" | |
], | |
"properties": { | |
"publisher": "Microsoft.Powershell", | |
"type": "DSC", | |
"typeHandlerVersion": "2.19", | |
"autoUpgradeMinorVersion": true, | |
"settings": { | |
"ModulesUrl": "[variables('InstallADFSPackageURL')]", | |
"ConfigurationFunction": "[variables('InstallADFSConfigurationFunction')]", | |
"Properties": { | |
"MachineName": "[parameters('ADFS01VMName')]", | |
"DomainName": "[parameters('domainName')]", | |
"AdminCreds": { | |
"UserName": "[parameters('adminUserName')]", | |
"Password": "PrivateSettingsRef:AdminPassword" | |
} | |
} | |
}, | |
"protectedSettings": { | |
"Items": { | |
"AdminPassword": "[parameters('adminPassword')]" | |
} | |
} | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment