Azure / Azure/azure-rest-api-specs

How to create a VM with the help of Azure Python SDKs using a marketplace image passed as a parameter from the python script.

Open
#27,310 2 comments 0 reactions 0 assignees View on GitHub
customer-reported question Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

I want the team's help to complete the requirement which is to create a VM with the help of available marketplace images which I need to take as a input from the python script using one of the flag named image-name.
I have two queries:
1. What should be the format of the input which I can take from the script so that we make minimum API call to map the correct image reference specification to create the VM. For now I planned to take it as follows which isn't working but we can change as well:
--image-name [canonical]pro-18_04_lts where value passed in square bracket is the Image publisher and the rest is sku name.
2. what are the minimum number of API call that can be made to map the correct image parameters in order to create the VM with the passed value for the image name.

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named; the issue is an unanswered question about Azure Python SDK marketplace-image input and API-call count. Start by clarifying the supported image-name format and the required lookup flow. Done would require a decided input format and documented minimum-call guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
api, cloud
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.