VM stop and delete

subbu 21 Reputation points
2020-07-07T06:16:34.803+00:00

I have forgot to stop the VM and deleted VM in the azure portal. It was connecting from SSH, could I able to stop and delete the VM.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,562 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andreas Baumgarten 103.8K Reputation points MVP
    2020-07-07T06:43:34.167+00:00

    The VM you deleted in the Azure portal is still in the list of VMs?
    If you delete the VM in the Azure portal without any error message popping up the VM should be successfully deleted no matter if the VM is running or someone is connected.
    The VM should be deleted. But the disk and the network interface (NIC) should be still existing under "All Ressources" view in the Azure portal and needs to be deleted separately.

    Maybe this is helpful.

    Regards

    Andreas Baumgarten

    (Please don't forget to Accept as answer if the reply is helpful)

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. subbu 21 Reputation points
    2020-07-10T13:51:14.163+00:00

    Thank you for the reply.

    The VM you deleted in the Azure portal is still in the list of VMs? : NO
    I don't have exact idea about when I deleted that VM, without stopping it. I saw in the resources in my azure portal unfortunately I didn't found disk and the network interface (NIC). If I delete my Trial subscription then after 90 days the VM gets deleted I guess.

    0 comments No comments

  2. Andreas Baumgarten 103.8K Reputation points MVP
    2020-07-10T16:48:34.313+00:00

    Yes. If a Subsciption is deleted all resources are getting deleted as well.

    Maybe this is helpful.

    Regards

    Andreas Baumgarten

    (Please don't forget to Accept as answer if the reply is helpful)

    0 comments No comments