Azure / Azure/azure-cli

Enable Autocomplete for AzVM Image List Command on AzCLI

Open
#30,696 1 comment 0 reactions 2 assignees Claimed by @zhoxing-ms View on GitHub
act-observability-squad Auto-Assign Azure CLI Team Compute feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Preconditions

- [x] No need to upgrade Python SDK or the Python SDK is ready.

### Related command

az vm image list --location westus --publisher RedHat --offer RHEL --sku 9_1 --all --output table

### Resource Provider

Micrsosoft.compute/Images

### Description of Feature or Work Requested

We have a long pending Github issue/request raised by a customer to enable auto complete for AzVmImage list command on the CLI command line as the current process is too manual/cumbersome as customers have to manually type out each publisher, offer, Sku and version. The ask is for us to expose the suggested list of Publisher/Offer/SKU and versions based on the customers entry for example, if customer inputs Red hat publisher then list closest possible offers, also if customer inputs an offer then list closest possible SKUs and autocomplete as needed

### Minimum API Version Required

2024-07-01

### Swagger PR link / SDK link

https://learn.microsoft.com/en-us/rest/api/compute/images/list?view=rest-compute-2024-07-01

### Request Example

_No response_

### Target Date

2025-3-1

### PM Contact

Yong Zhang

### Engineer Contact

Theodore Chang

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.