Hi @Ahmed Fathi ,
you will be charged for the VM compute as long as the VM is in the Running
state in Azure. If the VM is in the the state Stopped (deallocated)
you won't be charged for VM compute.
Please be aware you will always be charged for the storage (disk) costs no matter if the VM is running or deallocated.
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten