Hi,
If you Deallocate the VM, then no compute charges will accrue. Charges for storage for the VM’s disk(s) and public ip (if applicable) will still accrue.
States and billing status of Azure Virtual Machines - Power states and billing
https://learn.microsoft.com/en-us/azure/virtual-machines/states-billing#power-states-and-billing
Please click Accept Answer if above was helpful.
Thanks.
-TP