Good afternoon, I am trying to create a NEW custom...
# general
c
Good afternoon, I am trying to create a NEW custom VM Extension, but this seems to only try and reference a previously created artifact. Is there a way to do what I want and I've just made an error or...? #Create Custom VM Extension extension = compute.VirtualMachineExtension(     "extensiontest",     resource_group_name=resource_group.name,     auto_upgrade_minor_version=False,     enable_automatic_upgrade=False,     type="CustomScriptExtension",     type_handler_version="2.0",     force_update_tag=False,     publisher="KBC",     settings={         "commandToExecute" : "mkdir c:\eric"         },     vm_name=vm_TestVM.name     ) error: Code="ArtifactNotFound" Message="The VM extension with publisher 'KBC' and type 'CustomScriptExtension' could not be found."
w
You mean extension = new compute.VirtualMachineExtension(     "extensiontest",     resource_group_name=resource_group.name,     auto_upgrade_minor_version=False,     enable_automatic_upgrade=False,     type="CustomScriptExtension",     type_handler_version="2.0",     force_update_tag=False,     publisher="KBC",     settings={         "commandToExecute" : "mkdir c:\eric"         },     vm_name=vm_TestVM.name     )
?*
c
For C# I could see that maybe working. This is using Python. Have to admit I breathed a sigh of relief it wasn't that easy 😀