Hello @AhmedAssad-8581,
it all depends on how much you can program against that device.
If this device is capable of running custom code and it is capable to connect directly to the cloud, you can program it to send code to the IoT Hub Cloud gateway using the Azure IoT SDKs or using a more simple REST API call solution to send telemetry.
If your devices are not able to connect to the cloud, you can use an Azure IoT Edge device on the local network which makes the connection to the cloud.
Yet another solution is making use of the IoT Central bridge which makes it possible to connect even third party cloud environments.
Do you have a certain device in mind?
Sander