pythonazurecloudazure-virtual-machineazure-sdk-python

How to create Azure Virtual machine with VM Extension using the python SDK


I want to create an Azure virtual machine with the VM extension(Custom script extension) using the python SDK. Basically, I want a python program that will create the VM with VM extension using the Azure SDK management libraries, I am able to use the Azure SDK management libraries in a Python script to create a resource group that contains a Linux virtual machine. https://learn.microsoft.com/en-us/azure/developer/python/azure-sdk-example-virtual-machines?tabs=cmd

But I need my Virtual machine with VM extension in it.


Solution

  • As of now, we don't have proper documentation related to the creation of VM with extension.