I am creating and ARM template for Azure Automation and would like to upload custom modules. The example below I have seen it upload an public module giving the URL of the module . How do I modify this so that it takes my custom module.
"resources": [
{
"name": "[concat(parameters('automationAccountName'), '/', variables('dscModules').xNetworking.ModuleName)]",
"type": "microsoft.automation/automationAccounts/Modules",
"apiVersion": "[variables('automationApiVersion')]",
"tags": {},
"dependsOn": [
"[concat('Microsoft.Automation/automationAccounts/', parameters('automationAccountName'))]"
],
"properties": {
"contentLink": {
"uri": "[variables('dscModules').xNetworking.ModuleUri]"
}
}
}