Hello,
You need to go on the portal azure, and select auto-shutdown and you select off
You can keep your ip, you need to click on the adress ip in the Azure Portal, and select static and save :)
Have a great day !
Please don't forget to Accept as answer and upvote :)