This sample shows how to add custom resources to Resource Manager Templates using custom providers and logic apps.
{"type": "microsoft.customproviders/resourceproviders", "apiversion": "2018-09-01-preview", "name": "[parameters('customresourceprovidername')]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.logic/workflows", parameters('logicappname'))]"], "properties": {"resourcetypes": [{"name": "customresources", "mode": "secure", "routingtype": "webhook,cache", "endpoint": "[listcallbackurl(resourceid('microsoft.logic/workflows/triggers", parameters('logicappname'), "customproviderwebhook'), "2019-05-01').value]"}]}}{"type": "microsoft.customproviders/resourceproviders/customresources", "apiversion": "2018-09-01-preview", "name": "[concat(parameters('customresourceprovidername'), "/", parameters('customresourcename'))]", "location": "[parameters('location')]", "dependson": ["[resourceid('microsoft.customproviders/resourceproviders", parameters('customresourceprovidername'))]"], "properties": {"mycustominputproperty": "mycustominputvalue", "mycustominputobject": {"property1": "value1"}}} 