Resources
| where type == 'microsoft.compute/virtualmachines'
| extend
OSName = tostring(properties.osProfile.computerName),
OSType = tostring(properties.storageProfile.osDisk.osType),
VMSize = tostring(properties.hardwareProfile.vmSize)
| join kind=leftouter
( Resources
| where type =~ 'microsoft.network/networkinterfaces'
not sure what is the next and how to select cpu\ram...