Azure SDKs to create a virtual machine

cloud VM 0 Reputation points
2023-03-18T13:49:26.1533333+00:00

Hello Microsoft team, I hope you're doing well.

I'm here because I'm facing a problem with your code https://learn.microsoft.com/en-us/azure/developer/javascript/how-to/with-azure-sdk/create-manage-virtual-machine

I did the first step which is "Create a virtual machine" it worked for me but I didn't found any VM created in my azure account.

then when I moved to the second step "Clean up resources", the code written down doesn't work for me and it gives me this error "" TypeError: resourceClient.resourceGroups.deleteMethod is not a function ""

I hope you can solve this problem for me as fast as possible.

Thanks.

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