-
-
Save joshsvoss/4db0e9209ad2e94e7c999a747f6a8e34 to your computer and use it in GitHub Desktop.
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
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"virtualMachines_DSCAutomation_adminPassword": { | |
"defaultValue": null, | |
"type": "SecureString" | |
}, | |
"certificates_AzureClassicRunAsCertificate_base64Value": { | |
"defaultValue": null, | |
"type": "SecureString" | |
}, | |
"certificates_AzureRunAsCertificate_base64Value": { | |
"defaultValue": null, | |
"type": "SecureString" | |
}, | |
"automationAccounts_deployautomation_name_1": { | |
"defaultValue": "DeployAutomationName", | |
"type": "String" | |
}, | |
"virtualMachines_DSCAutomation_name": { | |
"defaultValue": "DSCAutomation", | |
"type": "String" | |
}, | |
"networkInterfaces_dscautomation24_name": { | |
"defaultValue": "dscautomation24", | |
"type": "String" | |
}, | |
"networkSecurityGroups_DSCAutomation_nsg_name": { | |
"defaultValue": "DSCAutomation-nsg", | |
"type": "String" | |
}, | |
"publicIPAddresses_DSCAutomation_ip_name": { | |
"defaultValue": "DSCAutomation-ip", | |
"type": "String" | |
}, | |
"virtualNetworks_AutomatingAutomation_vnet_name": { | |
"defaultValue": "AutomatingAutomation-vnet", | |
"type": "String" | |
}, | |
"storageAccounts_automationstorage24_name": { | |
"defaultValue": "automationstorage26", | |
"type": "String" | |
}, | |
"storageAccounts_automationstorage25_name": { | |
"defaultValue": "automationstorage27", | |
"type": "String" | |
}, | |
"runbooks_AzureAutomationTutorial_name": { | |
"defaultValue": "DeployAutomationName/AzureAutomationTutorial", | |
"type": "String" | |
}, | |
"runbooks_AzureAutomationTutorialScript_name": { | |
"defaultValue": "DeployAutomationName/AzureAutomationTutorialScript", | |
"type": "String" | |
}, | |
"runbooks_AzureClassicAutomationTutorial_name": { | |
"defaultValue": "DeployAutomationName/AzureClassicAutomationTutorial", | |
"type": "String" | |
}, | |
"runbooks_AzureClassicAutomationTutorialScript_name": { | |
"defaultValue": "DeployAutomationName/AzureClassicAutomationTutorialScript", | |
"type": "String" | |
}, | |
"modules_Azure_name": { | |
"defaultValue": "DeployAutomationName/Azure", | |
"type": "String" | |
}, | |
"modules_Azure.Storage_name": { | |
"defaultValue": "DeployAutomationName/Azure.Storage", | |
"type": "String" | |
}, | |
"modules_AzureRM.Automation_name": { | |
"defaultValue": "DeployAutomationName/AzureRM.Automation", | |
"type": "String" | |
}, | |
"modules_AzureRM.Compute_name": { | |
"defaultValue": "DeployAutomationName/AzureRM.Compute", | |
"type": "String" | |
}, | |
"modules_AzureRM.Profile_name": { | |
"defaultValue": "DeployAutomationName/AzureRM.Profile", | |
"type": "String" | |
}, | |
"modules_AzureRM.Resources_name": { | |
"defaultValue": "DeployAutomationName/AzureRM.Resources", | |
"type": "String" | |
}, | |
"modules_AzureRM.Sql_name": { | |
"defaultValue": "DeployAutomationName/AzureRM.Sql", | |
"type": "String" | |
}, | |
"modules_AzureRM.Storage_name": { | |
"defaultValue": "DeployAutomationName/AzureRM.Storage", | |
"type": "String" | |
}, | |
"modules_Microsoft.PowerShell.Core_name": { | |
"defaultValue": "DeployAutomationName/Microsoft.PowerShell.Core", | |
"type": "String" | |
}, | |
"modules_Microsoft.PowerShell.Diagnostics_name": { | |
"defaultValue": "DeployAutomationName/Microsoft.PowerShell.Diagnostics", | |
"type": "String" | |
}, | |
"modules_Microsoft.PowerShell.Management_name": { | |
"defaultValue": "DeployAutomationName/Microsoft.PowerShell.Management", | |
"type": "String" | |
}, | |
"modules_Microsoft.PowerShell.Security_name": { | |
"defaultValue": "DeployAutomationName/Microsoft.PowerShell.Security", | |
"type": "String" | |
}, | |
"modules_Microsoft.PowerShell.Utility_name": { | |
"defaultValue": "DeployAutomationName/Microsoft.PowerShell.Utility", | |
"type": "String" | |
}, | |
"modules_Microsoft.WSMan.Management_name": { | |
"defaultValue": "DeployAutomationName/Microsoft.WSMan.Management", | |
"type": "String" | |
}, | |
"modules_Orchestrator.AssetManagement.Cmdlets_name": { | |
"defaultValue": "DeployAutomationName/Orchestrator.AssetManagement.Cmdlets", | |
"type": "String" | |
}, | |
"certificates_AzureClassicRunAsCertificate_name": { | |
"defaultValue": "DeployAutomationName/AzureClassicRunAsCertificate", | |
"type": "String" | |
}, | |
"certificates_AzureRunAsCertificate_name": { | |
"defaultValue": "DeployAutomationName/AzureRunAsCertificate", | |
"type": "String" | |
}, | |
"connections_AzureClassicRunAsConnection_name": { | |
"defaultValue": "DeployAutomationName/AzureClassicRunAsConnection", | |
"type": "String" | |
}, | |
"connections_AzureRunAsConnection_name": { | |
"defaultValue": "DeployAutomationName/AzureRunAsConnection", | |
"type": "String" | |
}, | |
"extensions_Microsoft.Powershell.DSC_name": { | |
"defaultValue": "DSCAutomation/Microsoft.Powershell.DSC", | |
"type": "String" | |
} | |
}, | |
"variables": {}, | |
"resources": [ | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation'.", | |
"type": "Microsoft.Automation/automationAccounts", | |
"name": "[parameters('automationAccounts_deployautomation_name_1')]", | |
"apiVersion": "2015-10-31", | |
"location": "eastus2", | |
"properties": { | |
"sku": { | |
"name": "Free" | |
} | |
}, | |
"resources": [], | |
"dependsOn": [] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourceGroups/AutomatingAutomation/providers/Microsoft.Compute/virtualMachines/DSCAutomation'.", | |
"type": "Microsoft.Compute/virtualMachines", | |
"name": "[parameters('virtualMachines_DSCAutomation_name')]", | |
"apiVersion": "2015-06-15", | |
"location": "westus", | |
"properties": { | |
"hardwareProfile": { | |
"vmSize": "Standard_DS1_v2" | |
}, | |
"storageProfile": { | |
"imageReference": { | |
"publisher": "MicrosoftWindowsServer", | |
"offer": "WindowsServer", | |
"sku": "2016-Datacenter", | |
"version": "latest" | |
}, | |
"osDisk": { | |
"name": "[parameters('virtualMachines_DSCAutomation_name')]", | |
"createOption": "FromImage", | |
"vhd": { | |
"uri": "[concat('https', '://', parameters('storageAccounts_automationstorage24_name'), '.blob.core.windows.net', concat('/vhds/', parameters('virtualMachines_DSCAutomation_name'),'20170131082124.vhd'))]" | |
}, | |
"caching": "ReadWrite" | |
}, | |
"dataDisks": [] | |
}, | |
"osProfile": { | |
"computerName": "[parameters('virtualMachines_DSCAutomation_name')]", | |
"adminUsername": "ops", | |
"windowsConfiguration": { | |
"provisionVMAgent": true, | |
"enableAutomaticUpdates": true | |
}, | |
"secrets": [], | |
"adminPassword": "[parameters('virtualMachines_DSCAutomation_adminPassword')]" | |
}, | |
"networkProfile": { | |
"networkInterfaces": [ | |
{ | |
"id": "[resourceId('Microsoft.Network/networkInterfaces', parameters('networkInterfaces_dscautomation24_name'))]" | |
} | |
] | |
} | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccounts_automationstorage24_name'))]", | |
"[resourceId('Microsoft.Network/networkInterfaces', parameters('networkInterfaces_dscautomation24_name'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourceGroups/AutomatingAutomation/providers/Microsoft.Network/networkInterfaces/dscautomation24'.", | |
"type": "Microsoft.Network/networkInterfaces", | |
"name": "[parameters('networkInterfaces_dscautomation24_name')]", | |
"apiVersion": "2016-03-30", | |
"location": "westus", | |
"properties": { | |
"ipConfigurations": [ | |
{ | |
"name": "ipconfig1", | |
"properties": { | |
"privateIPAddress": "10.0.0.4", | |
"privateIPAllocationMethod": "Dynamic", | |
"publicIPAddress": { | |
"id": "[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddresses_DSCAutomation_ip_name'))]" | |
}, | |
"subnet": { | |
"id": "[concat(resourceId('Microsoft.Network/virtualNetworks', parameters('virtualNetworks_AutomatingAutomation_vnet_name')), '/subnets/default')]" | |
} | |
} | |
} | |
], | |
"dnsSettings": { | |
"dnsServers": [] | |
}, | |
"enableIPForwarding": false, | |
"networkSecurityGroup": { | |
"id": "[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_DSCAutomation_nsg_name'))]" | |
} | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIPAddresses_DSCAutomation_ip_name'))]", | |
"[resourceId('Microsoft.Network/virtualNetworks', parameters('virtualNetworks_AutomatingAutomation_vnet_name'))]", | |
"[resourceId('Microsoft.Network/networkSecurityGroups', parameters('networkSecurityGroups_DSCAutomation_nsg_name'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourceGroups/AutomatingAutomation/providers/Microsoft.Network/networkSecurityGroups/DSCAutomation-nsg'.", | |
"type": "Microsoft.Network/networkSecurityGroups", | |
"name": "[parameters('networkSecurityGroups_DSCAutomation_nsg_name')]", | |
"apiVersion": "2016-03-30", | |
"location": "westus", | |
"properties": { | |
"securityRules": [ | |
{ | |
"name": "default-allow-rdp", | |
"properties": { | |
"protocol": "TCP", | |
"sourcePortRange": "*", | |
"destinationPortRange": "3389", | |
"sourceAddressPrefix": "*", | |
"destinationAddressPrefix": "*", | |
"access": "Allow", | |
"priority": 1000, | |
"direction": "Inbound" | |
} | |
} | |
] | |
}, | |
"resources": [], | |
"dependsOn": [] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourceGroups/AutomatingAutomation/providers/Microsoft.Network/publicIPAddresses/DSCAutomation-ip'.", | |
"type": "Microsoft.Network/publicIPAddresses", | |
"name": "[parameters('publicIPAddresses_DSCAutomation_ip_name')]", | |
"apiVersion": "2016-03-30", | |
"location": "westus", | |
"properties": { | |
"publicIPAllocationMethod": "Dynamic", | |
"idleTimeoutInMinutes": 4 | |
}, | |
"resources": [], | |
"dependsOn": [] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourceGroups/AutomatingAutomation/providers/Microsoft.Network/virtualNetworks/AutomatingAutomation-vnet'.", | |
"type": "Microsoft.Network/virtualNetworks", | |
"name": "[parameters('virtualNetworks_AutomatingAutomation_vnet_name')]", | |
"apiVersion": "2016-03-30", | |
"location": "westus", | |
"properties": { | |
"addressSpace": { | |
"addressPrefixes": [ | |
"10.0.0.0/24" | |
] | |
}, | |
"subnets": [ | |
{ | |
"name": "default", | |
"properties": { | |
"addressPrefix": "10.0.0.0/24" | |
} | |
} | |
] | |
}, | |
"resources": [], | |
"dependsOn": [] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourceGroups/automatingautomation/providers/Microsoft.Storage/storageAccounts/automationstorage24'.", | |
"type": "Microsoft.Storage/storageAccounts", | |
"sku": { | |
"name": "Premium_LRS", | |
"tier": "Premium" | |
}, | |
"kind": "Storage", | |
"name": "[parameters('storageAccounts_automationstorage24_name')]", | |
"apiVersion": "2016-01-01", | |
"location": "westus", | |
"tags": {}, | |
"properties": {}, | |
"resources": [], | |
"dependsOn": [] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourceGroups/automatingautomation/providers/Microsoft.Storage/storageAccounts/automationstorage25'.", | |
"type": "Microsoft.Storage/storageAccounts", | |
"sku": { | |
"name": "Standard_LRS", | |
"tier": "Standard" | |
}, | |
"kind": "Storage", | |
"name": "[parameters('storageAccounts_automationstorage25_name')]", | |
"apiVersion": "2016-01-01", | |
"location": "westus", | |
"tags": {}, | |
"properties": {}, | |
"resources": [], | |
"dependsOn": [] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/runbooks/AzureAutomationTutorial'.", | |
"type": "Microsoft.Automation/automationAccounts/runbooks", | |
"name": "[parameters('runbooks_AzureAutomationTutorial_name')]", | |
"apiVersion": "2015-10-31", | |
"location": "eastus2", | |
"properties": { | |
"runbookType": "GraphPowerShell", | |
"logVerbose": false, | |
"logProgress": false | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/runbooks/AzureAutomationTutorialScript'.", | |
"type": "Microsoft.Automation/automationAccounts/runbooks", | |
"name": "[parameters('runbooks_AzureAutomationTutorialScript_name')]", | |
"apiVersion": "2015-10-31", | |
"location": "eastus2", | |
"properties": { | |
"runbookType": "PowerShell", | |
"logVerbose": false, | |
"logProgress": false | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/runbooks/AzureClassicAutomationTutorial'.", | |
"type": "Microsoft.Automation/automationAccounts/runbooks", | |
"name": "[parameters('runbooks_AzureClassicAutomationTutorial_name')]", | |
"apiVersion": "2015-10-31", | |
"location": "eastus2", | |
"properties": { | |
"runbookType": "GraphPowerShell", | |
"logVerbose": false, | |
"logProgress": false | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/runbooks/AzureClassicAutomationTutorialScript'.", | |
"type": "Microsoft.Automation/automationAccounts/runbooks", | |
"name": "[parameters('runbooks_AzureClassicAutomationTutorialScript_name')]", | |
"apiVersion": "2015-10-31", | |
"location": "eastus2", | |
"properties": { | |
"runbookType": "PowerShell", | |
"logVerbose": false, | |
"logProgress": false | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/modules/Azure'.", | |
"type": "Microsoft.Automation/automationAccounts/modules", | |
"name": "[parameters('modules_Azure_name')]", | |
"apiVersion": "2015-10-31", | |
"properties": { | |
"isGlobal": true, | |
"version": null, | |
"sizeInBytes": 0 | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/modules/Azure.Storage'.", | |
"type": "Microsoft.Automation/automationAccounts/modules", | |
"name": "[parameters('modules_Azure.Storage_name')]", | |
"apiVersion": "2015-10-31", | |
"properties": { | |
"isGlobal": true, | |
"version": null, | |
"sizeInBytes": 0 | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/modules/AzureRM.Automation'.", | |
"type": "Microsoft.Automation/automationAccounts/modules", | |
"name": "[parameters('modules_AzureRM.Automation_name')]", | |
"apiVersion": "2015-10-31", | |
"properties": { | |
"isGlobal": true, | |
"version": null, | |
"sizeInBytes": 0 | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/modules/AzureRM.Compute'.", | |
"type": "Microsoft.Automation/automationAccounts/modules", | |
"name": "[parameters('modules_AzureRM.Compute_name')]", | |
"apiVersion": "2015-10-31", | |
"properties": { | |
"isGlobal": true, | |
"version": null, | |
"sizeInBytes": 0 | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/modules/AzureRM.Profile'.", | |
"type": "Microsoft.Automation/automationAccounts/modules", | |
"name": "[parameters('modules_AzureRM.Profile_name')]", | |
"apiVersion": "2015-10-31", | |
"properties": { | |
"isGlobal": true, | |
"version": null, | |
"sizeInBytes": 0 | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/modules/AzureRM.Resources'.", | |
"type": "Microsoft.Automation/automationAccounts/modules", | |
"name": "[parameters('modules_AzureRM.Resources_name')]", | |
"apiVersion": "2015-10-31", | |
"properties": { | |
"isGlobal": true, | |
"version": null, | |
"sizeInBytes": 0 | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/modules/AzureRM.Sql'.", | |
"type": "Microsoft.Automation/automationAccounts/modules", | |
"name": "[parameters('modules_AzureRM.Sql_name')]", | |
"apiVersion": "2015-10-31", | |
"properties": { | |
"isGlobal": true, | |
"version": null, | |
"sizeInBytes": 0 | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/modules/AzureRM.Storage'.", | |
"type": "Microsoft.Automation/automationAccounts/modules", | |
"name": "[parameters('modules_AzureRM.Storage_name')]", | |
"apiVersion": "2015-10-31", | |
"properties": { | |
"isGlobal": true, | |
"version": null, | |
"sizeInBytes": 0 | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/modules/Microsoft.PowerShell.Core'.", | |
"type": "Microsoft.Automation/automationAccounts/modules", | |
"name": "[parameters('modules_Microsoft.PowerShell.Core_name')]", | |
"apiVersion": "2015-10-31", | |
"properties": { | |
"isGlobal": true, | |
"version": null, | |
"sizeInBytes": 0 | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/modules/Microsoft.PowerShell.Diagnostics'.", | |
"type": "Microsoft.Automation/automationAccounts/modules", | |
"name": "[parameters('modules_Microsoft.PowerShell.Diagnostics_name')]", | |
"apiVersion": "2015-10-31", | |
"properties": { | |
"isGlobal": true, | |
"version": null, | |
"sizeInBytes": 0 | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/modules/Microsoft.PowerShell.Management'.", | |
"type": "Microsoft.Automation/automationAccounts/modules", | |
"name": "[parameters('modules_Microsoft.PowerShell.Management_name')]", | |
"apiVersion": "2015-10-31", | |
"properties": { | |
"isGlobal": true, | |
"version": null, | |
"sizeInBytes": 0 | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/modules/Microsoft.PowerShell.Security'.", | |
"type": "Microsoft.Automation/automationAccounts/modules", | |
"name": "[parameters('modules_Microsoft.PowerShell.Security_name')]", | |
"apiVersion": "2015-10-31", | |
"properties": { | |
"isGlobal": true, | |
"version": null, | |
"sizeInBytes": 0 | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/modules/Microsoft.PowerShell.Utility'.", | |
"type": "Microsoft.Automation/automationAccounts/modules", | |
"name": "[parameters('modules_Microsoft.PowerShell.Utility_name')]", | |
"apiVersion": "2015-10-31", | |
"properties": { | |
"isGlobal": true, | |
"version": null, | |
"sizeInBytes": 0 | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/modules/Microsoft.WSMan.Management'.", | |
"type": "Microsoft.Automation/automationAccounts/modules", | |
"name": "[parameters('modules_Microsoft.WSMan.Management_name')]", | |
"apiVersion": "2015-10-31", | |
"properties": { | |
"isGlobal": true, | |
"version": null, | |
"sizeInBytes": 0 | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/modules/Orchestrator.AssetManagement.Cmdlets'.", | |
"type": "Microsoft.Automation/automationAccounts/modules", | |
"name": "[parameters('modules_Orchestrator.AssetManagement.Cmdlets_name')]", | |
"apiVersion": "2015-10-31", | |
"properties": { | |
"isGlobal": true, | |
"version": null, | |
"sizeInBytes": 0 | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/certificates/AzureClassicRunAsCertificate'.", | |
"type": "Microsoft.Automation/automationAccounts/certificates", | |
"name": "[parameters('certificates_AzureClassicRunAsCertificate_name')]", | |
"apiVersion": "2015-10-31", | |
"properties": { | |
"description": "This certificate is used to authenticate with Azure so that you can manage Azure classic resources from runbooks. For details on this certificate, or to manage it, go to this account’s Settings. For example usage, see the tutorial runbook in this account.", | |
"base64Value": "[parameters('certificates_AzureClassicRunAsCertificate_base64Value')]" | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/certificates/AzureRunAsCertificate'.", | |
"type": "Microsoft.Automation/automationAccounts/certificates", | |
"name": "[parameters('certificates_AzureRunAsCertificate_name')]", | |
"apiVersion": "2015-10-31", | |
"properties": { | |
"description": "This certificate is used to authenticate with the service principal that was automatically created for this account. For details on this service principal and certificate, or to recreate them, go to this account’s Settings. For example usage, see the tutorial runbook in this account.", | |
"base64Value": "[parameters('certificates_AzureRunAsCertificate_base64Value')]" | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/connections/AzureClassicRunAsConnection'.", | |
"type": "Microsoft.Automation/automationAccounts/connections", | |
"name": "[parameters('connections_AzureClassicRunAsConnection_name')]", | |
"apiVersion": "2015-10-31", | |
"properties": { | |
"description": null, | |
"fieldDefinitionValues": null, | |
"connectionType": { | |
"name": "AzureClassicCertificate" | |
} | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourcegroups/AutomatingAutomation/providers/Microsoft.Automation/automationAccounts/deployautomation/connections/AzureRunAsConnection'.", | |
"type": "Microsoft.Automation/automationAccounts/connections", | |
"name": "[parameters('connections_AzureRunAsConnection_name')]", | |
"apiVersion": "2015-10-31", | |
"properties": { | |
"description": null, | |
"fieldDefinitionValues": null, | |
"connectionType": { | |
"name": "AzureServicePrincipal" | |
} | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Automation/automationAccounts', parameters('automationAccounts_deployautomation_name_1'))]" | |
] | |
}, | |
{ | |
"comments": "Generalized from resource: '/subscriptions//resourceGroups/AutomatingAutomation/providers/Microsoft.Compute/virtualMachines/DSCAutomation/extensions/Microsoft.Powershell.DSC'.", | |
"type": "Microsoft.Compute/virtualMachines/extensions", | |
"name": "[parameters('extensions_Microsoft.Powershell.DSC_name')]", | |
"apiVersion": "2016-03-30", | |
"location": "westus", | |
"tags": {}, | |
"properties": { | |
"publisher": "Microsoft.Powershell", | |
"type": "DSC", | |
"typeHandlerVersion": "2.19", | |
"autoUpgradeMinorVersion": false, | |
"settings": { | |
"ModulesUrl": "https://eus2oaasibizamarketprod1.blob.core.windows.net/automationdscpreview/RegistrationMetaConfigV2.zip", | |
"ConfigurationFunction": "RegistrationMetaConfigV2.ps1\\RegistrationMetaConfigV2", | |
"Properties": [ | |
{ | |
"Name": "RegistrationKey", | |
"Value": { | |
"UserName": "PLACEHOLDER_DONOTUSE", | |
"Password": "PrivateSettingsRef:registrationKeyPrivate" | |
}, | |
"TypeName": "System.Management.Automation.PSCredential" | |
}, | |
{ | |
"Name": "RegistrationUrl", | |
"Value": "https://eus2-agentservice-prod-1.azure-automation.net/accounts/ac01242b-6960-4575-a6f4-b6d537c3d0eb", | |
"TypeName": "System.String" | |
}, | |
{ | |
"Name": "NodeConfigurationName", | |
"Value": "", | |
"TypeName": "System.String" | |
}, | |
{ | |
"Name": "ConfigurationMode", | |
"Value": "applyAndMonitor", | |
"TypeName": "System.String" | |
}, | |
{ | |
"Name": "ConfigurationModeFrequencyMins", | |
"Value": "15", | |
"TypeName": "System.Int32" | |
}, | |
{ | |
"Name": "RefreshFrequencyMins", | |
"Value": "30", | |
"TypeName": "System.Int32" | |
}, | |
{ | |
"Name": "RebootNodeIfNeeded", | |
"Value": false, | |
"TypeName": "System.Boolean" | |
}, | |
{ | |
"Name": "ActionAfterReboot", | |
"Value": "continueConfiguration", | |
"TypeName": "System.String" | |
}, | |
{ | |
"Name": "AllowModuleOverwrite", | |
"Value": false, | |
"TypeName": "System.Boolean" | |
}, | |
{ | |
"Name": "Timestamp", | |
"Value": "1/31/2017 6:03:12 PM", | |
"TypeName": "System.String" | |
} | |
] | |
}, | |
"protectedSettings": {} | |
}, | |
"resources": [], | |
"dependsOn": [ | |
"[resourceId('Microsoft.Compute/virtualMachines', parameters('virtualMachines_DSCAutomation_name'))]" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment