This template provides a way to deploy an Azure database for MySQL with VNet integration.
{"type": "microsoft.dbformysql/servers", "apiversion": "2017-12-01", "name": "[variables('mysqlservername')]", "location": "[parameters('location')]", "sku": {"name": "[parameters('dbskuname')]", "tier": "[parameters('dbskutier')]", "capacity": "[parameters('dbskucapacity')]", "family": "[parameters('databaseskufamily')]"}, "properties": {"createmode": "default", "version": "[parameters('mysqlversion')]", "administratorlogin": "[parameters('administratorlogin')]", "administratorloginpassword": "[parameters('administratorloginpassword')]", "storageprofile": {"storagemb": "[parameters('dbskusizemb')]", "backupretentiondays": 7, "georedundantbackup": "disabled"}, "sslenforcement": "disabled"}}{"type": "microsoft.dbformysql/servers/firewallrules", "apiversion": "2017-12-01", "name": "[format('{0}/{1}", variables('mysqlservername'), "allowazureips')]", "properties": {"startipaddress": "0.0.0.0", "endipaddress": "255.255.255.255"}, "dependson": ["[resourceid('microsoft.dbformysql/servers", variables('mysqlservername'))]"]} 