@Marcos Oliveira
It is not possible to take an existing Linux VM and reset it to baseline. If you need to keep the Azure resources in place, but want to start fresh otherwise you could consider swapping the OS disk to one from a fresh VM or backup.
Hope this helps! Let me know if you have questions or need further assistance.
If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.
If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.
Thank you for helping to improve Microsoft Q&A!