I have used AWS nodejs SDK and created a instance by using AMI(amazon machine image) ID. Now, I need to replicate the same for Azure. I came across the documentation and found a method like below:
resourceClient.resourceGroups.createOrUpdate(resourceGroupName, groupParameters, callback);
But, I am not sure how to create an image (like AMI in AWS) and then use the image id for launching a VM in Azure. The documentation seems to be pretty straight to the point and lacks explanation required for a beginner like me. Are there any code samples/examples which will be useful for those who are new to azure?
Regarding the issue, please refer to the following code
contributor
to the sp