On Azure Portal you can install "SQL Virtual Machine" resource to monitor your Windows Virtual Machines to automate management and administration tasks. Sometimes Azure Portal does not reflect the state of your VM and there would be no data displayed on the Azure Portal for the SQL VM resource. Your first option is to Force repair as shown below.
If that doesn't work you can try to run the following command from Azure CLI. Note that you will get a warning about sql_management_mode being deprecated but you can ignore it.
az sql vm create --name YOURSQLVMNAM --resource-group YOURRESOURCEGROUPNAME --location YOURRESOURCELOCATION --license-type payg --sql-mgmt-type Full
blog@aileronconsulting.com