This template creates an App Service Plan, a Web App, a scheduler job collection and a job.
{"name": "[variables('schedulerjobcollectionname')]", "type": "microsoft.scheduler/jobcollections", "apiversion": "2016-03-01", "location": "[parameters('location')]", "properties": {"sku": {"name": "standard"}}, "resources": [{"type": "jobs", "name": "[variables('schedulerjobname')]", "apiversion": "2016-03-01", "dependson": ["[resourceid('microsoft.scheduler/jobcollections", variables('schedulerjobcollectionname'))]", "[variables('queuesendonlykeyname')]"], "properties": {"state": "enabled", "action": {"type": "servicebusqueue", "servicebusqueuemessage": {"namespace": "[variables('servicebusnamespacename')]", "queuename": "[parameters('queuename')]", "transporttype": "amqp", "authentication": {"saskey": "[listkeys(variables('queuesendonlykeyname'), "2018-01-01-preview').primarykey]", "saskeyname": "[listkeys(variables('queuesendonlykeyname'), "2018-01-01-preview').keyname]", "type": "sharedaccesskey"}, "message": "[parameters('messagecontents')]"}}, "recurrence": "[parameters('postrecurrence')]"}}]} 