This module creates a Shared Image Gallery resource with apiVersion 2019-12-01.
{"type": "microsoft.compute/virtualmachinescalesets", "name": "[variables('naminginfix')]", "location": "[resourcegroup().location]", "apiversion": "2017-03-30", "dependson": ["storageloop", "[concat('microsoft.network/loadbalancers/", variables('loadbalancername'))]", "[concat('microsoft.network/virtualnetworks/", variables('virtualnetworkname'))]"], "sku": {"name": "[parameters('vmsku')]", "tier": "standard", "capacity": "[parameters('instancecount')]"}, "properties": {"overprovision": "true", "upgradepolicy": {"mode": "manual"}, "virtualmachineprofile": {"storageprofile": {"osdisk": {"caching": "readwrite", "createoption": "fromimage"}, "imagereference": "[variables('imagereference')]"}, "osprofile": {"computernameprefix": "[variables('naminginfix')]", "adminusername": "[parameters('adminusername')]", "adminpassword": "[parameters('adminpassword')]"}, "networkprofile": {"networkinterfaceconfigurations": [{"name": "[variables('nicname')]", "properties": {"primary": true, "ipconfigurations": [{"name": "[variables('ipconfigname')]", "properties": {"subnet": {"id": "[concat('/subscriptions/", subscription().subscriptionid,"/resourcegroups/", resourcegroup().name, "/providers/microsoft.network/virtualnetworks/", variables('virtualnetworkname'), "/subnets/", variables('subnetname'))]"}, "loadbalancerbackendaddresspools": [{"id": "[concat('/subscriptions/", subscription().subscriptionid,"/resourcegroups/", resourcegroup().name, "/providers/microsoft.network/loadbalancers/", variables('loadbalancername'), "/backendaddresspools/", variables('bepoolname'))]"}], "loadbalancerinboundnatpools": [{"id": "[concat('/subscriptions/", subscription().subscriptionid,"/resourcegroups/", resourcegroup().name, "/providers/microsoft.network/loadbalancers/", variables('loadbalancername'), "/inboundnatpools/", variables('natpoolname'))]"}]}}]}}]}}}} 