This module creates a Shared Image Gallery resource with apiVersion 2019-12-01.

{"type": "microsoft.compute/virtualmachinescalesets", "apiversion": "2020-06-01", "name": "[variables('vmnodetype0name')]", "location": "[parameters('location')]", "sku": {"name": "[variables('vmnodetype0size')]", "capacity": "[parameters('nt0instancecount')]", "tier": "standard"}, "dependson": ["[variables('virtualnetworkname')]", "[variables('lbname')]", "[variables('supportlogstorageaccountname')]", "[variables('applicationdiagnosticsstorageaccountname')]"], "tags": {"resourcetype": "service fabric", "clustername": "[parameters('clustername')]"}, "properties": {"overprovision": "[variables('overprovision')]", "upgradepolicy": {"mode": "automatic"}, "virtualmachineprofile": {"extensionprofile": {"extensions": [{"name": "[concat('servicefabricnodevmext","_vmnodetype0name')]", "properties": {"type": "servicefabricnode", "autoupgrademinorversion": true, "protectedsettings": {"storageaccountkey1": "[listkeys(resourceid('microsoft.storage/storageaccounts", variables('supportlogstorageaccountname')),"2021-01-01').keys[0].value]", "storageaccountkey2": "[listkeys(resourceid('microsoft.storage/storageaccounts", variables('supportlogstorageaccountname')),"2021-01-01').keys[1].value]"}, "publisher": "microsoft.azure.servicefabric", "settings": {"clusterendpoint": "[reference(parameters('clustername')).clusterendpoint]", "nodetyperef": "[variables('vmnodetype0name')]", "datapath": "[concat(if(equals(parameters('nodedatadrive'), "os'), "c", "d'), ":\\\\svcfab')]", "durabilitylevel": "silver", "nicprefixoverride": "[variables('subnet0prefix')]", "certificate": {"thumbprint": "[parameters('certificatethumbprint')]", "x509storename": "[parameters('certificatestorevalue')]"}}, "typehandlerversion": "1.0"}}, {"name": "[concat('vmdiagnosticsvmext","_vmnodetype0name')]", "properties": {"type": "iaasdiagnostics", "autoupgrademinorversion": true, "protectedsettings": {"storageaccountname": "[variables('applicationdiagnosticsstorageaccountname')]", "storageaccountkey": "[listkeys(resourceid('microsoft.storage/storageaccounts", variables('applicationdiagnosticsstorageaccountname')),"2021-01-01').keys[0].value]", "storageaccountendpoint": "[concat('https://", environment().suffixes.storage)]"}, "publisher": "microsoft.azure.diagnostics", "settings": {"wadcfg": {"diagnosticmonitorconfiguration": {"overallquotainmb": "50000", "etwproviders": {"etweventsourceproviderconfiguration": [{"provider": "microsoft-servicefabric-actors", "scheduledtransferkeywordfilter": "1", "scheduledtransferperiod": "pt5m", "defaultevents": {"eventdestination": "servicefabricreliableactoreventtable"}}, {"provider": "microsoft-servicefabric-services", "scheduledtransferperiod": "pt5m", "defaultevents": {"eventdestination": "servicefabricreliableserviceeventtable"}}], "etwmanifestproviderconfiguration": [{"provider": "cbd93bc2-71e5-4566-b3a7-595d8eeca6e8", "scheduledtransferloglevelfilter": "information", "scheduledtransferkeywordfilter": "4611686018427387904", "scheduledtransferperiod": "pt5m", "defaultevents": {"eventdestination": "servicefabricsystemeventtable"}}]}}}, "storageaccount": "[variables('applicationdiagnosticsstorageaccountname')]"}, "typehandlerversion": "1.5"}}]}, "networkprofile": {"networkinterfaceconfigurations": [{"name": "[concat(variables('nicname'), "-0')]", "properties": {"ipconfigurations": [{"name": "[concat(variables('nicname'),"-",0)]", "properties": {"loadbalancerbackendaddresspools": [{"id": "[variables('lbpoolid0')]"}], "loadbalancerinboundnatpools": [{"id": "[variables('lbnatpoolid0')]"}], "subnet": {"id": "[variables('subnet0ref')]"}}}], "primary": true}}]}, "osprofile": {"adminpassword": "[parameters('adminpassword')]", "adminusername": "[parameters('adminusername')]", "computernameprefix": "[variables('vmnodetype0name')]", "secrets": [{"sourcevault": {"id": "[parameters('sourcevaultresourceid')]"}, "vaultcertificates": [{"certificatestore": "[parameters('certificatestorevalue')]", "certificateurl": "[parameters('certificateurlvalue')]"}]}]}, "storageprofile": {"imagereference": {"publisher": "[parameters('vmimagepublisher')]", "offer": "[parameters('vmimageoffer')]", "sku": "[parameters('vmimagesku')]", "version": "[parameters('vmimageversion')]"}, "osdisk": {"manageddisk": {"storageaccounttype": "standardssd_lrs"}, "caching": "readonly", "createoption": "fromimage"}}}}}