Hello @AhmedAssad-8581 ,
please check out the MS Learn modules about Azure IoT Edge first.
This explains how to set up an IoT Edge device and runtime.
It also explains how the deploy a prebuilt module (the temperature sensor simulation).
After that, a heartbeat module example is provided on GitHub.
A prebuild container is found here.
Just deploy this container
iotedgefoundation/iot-edge-heartbeat:3.0.0-windows-amd64
and you get a heartbeat every 5 seconds.
if you alter the desired property "interval" of the module to 60000, it will be sent once a minute
{
"interval": 60000
}