Advertisement
artisticcheese

Untitled

Feb 20th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. {
  2. "name": "[concat(parameters('AutomationaccountRGName'),'/',parameters('AutomationaccountName'))]",
  3. "type": "automationAccounts",
  4. "apiVersion": "2015-01-01-preview",
  5. "location": "SouthCentralUS",
  6. "dependsOn": [],
  7. "tags": {},
  8.  
  9. "resources": [
  10. {
  11. "name": "swarmhost.localhost",
  12. "type": "Microsoft.Automation/automationAccounts/configurations",
  13. "apiVersion": "[variables('automationApiVersion')]",
  14. "properties": {
  15. "logVerbose": "false",
  16. "description": "Configuration for worker hosts",
  17. "Source": {
  18. "type": "uri",
  19. "Value": "https://raw.githubusercontent.com/artisticcheese/SwarmARM/master/VMSS-Linked/swarmhost.ps1"
  20. }
  21. }
  22. },
  23.  
  24. {
  25. "name": "[uniqueString(resourceGroup().id, deployment().name)]",
  26. "type": "Compilationjobs",
  27. "apiVersion": "[variables('automationApiVersion')]",
  28. "location": "parameters('automationRegionId')]",
  29. "tags": {},
  30. "dependsOn": [
  31. "[concat('Microsoft.Automation/automationAccounts/', parameters('automationAccountName'))]",
  32.  
  33. "[concat('Microsoft.Automation/automationAccounts/', parameters('automationAccountName'),'/Configurations/swarmhost.localhost')]"
  34. ],
  35. "properties": {
  36. "configuration": {
  37. "name": "swarmhost.localhost"
  38. },
  39. "parameters": {
  40. "SwarmManagerURI": "[reference('swarmmanagerdeployment').outputs.returnedIPAddress.value]"
  41. }
  42. }
  43. }
  44.  
  45.  
  46. ]
  47. },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement