Olá Guilherme
Para aumentar o disco de sua vm, não haverá perda de dados, o ubuntu vai expandir automaticamente assim que vc trocar o tamanho do disco.
outro ponto, o Microsoft QnA adotou o inglês como lingua oficial para que todos possam ajudar e ser ajudados, portanto vou responder em inglês também
Não esqueça de aceitar a resposta se te ajudou
##################################################################
Hello Guilherme,
To increase the disk of your VM, there will be no data loss, Ubuntu will automatically expand as soon as you change the disk size.
Another point, Microsoft QnA has adopted English as the official language so that everyone can help and be helped, so I will also respond in English.
Get in touch if you need more help with this issue.
--please don't forget to "[Accept the answer]" if the reply is helpful--