Hello @Singh, Prabhu,
welcome to this moderated Azure community forum.
Using the Azure IoT Hub, you can send whatever information you want to the cloud.
If you are using an application via the Azure IoT Device SDK, you need to program the data collection yourself.
If you are using Azure IoT Edge for running logic on your device, you can check the Metrics collector module. Next to metrics about individual (Docker) modules, it also shows information about the host (disk space available, memory usage).
Because you are not running your logic on Linux, you cannot make use of the OS Config agent:
IoT/Edge solution builders and operators often need to configure and observe device settings. Common examples include network settings, hostnames, time zones, security benchmarks, firewall rules, ssh users, and so on.
As an alternative, check out Azure Arc:
Azure Arc simplifies governance and management by delivering a consistent multicloud and on-premises management platform... Manage Windows and Linux physical servers and virtual machines hosted outside of Azure...
I recommend reading a bit more about the different topics and then try it out if these solutions are offering what you need.
If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.