Hello Bhavya Patel,
I totally understand your concern.
If the VM, its disk, and IP were deleted, recovery is only possible if backups or recovery points were configured. Without them, restoration isn’t feasible. Deleting the VM along with its OS disk makes recovery impossible.
If you have any further queries, do let us know.