Azure / Azure/azure-rest-api-specs

[Container Instances] ContainerGroups list method result doesn't have instance_view info

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

Description

- **Package Name**: azure-mgmt-containerinstance
- **Package Version**: 10.0.0
- **Operating System**: Mac OS
- **Python Version**: 3.8

**Describe the bug**
A clear and concise description of what the bug is.
- container_groups of ContainerInstanceManagementClient list method can't collect 'instance_view' info of container filed.

**To Reproduce**
Steps to reproduce the behavior:
1. Create Azure Container Instances
2. Get resource info using `ContainerInstanceManagementClient.container_groups.list()`
3. Get resource info using `ContainerInstanceManagementClient.container_groups.get()`
4. Compare result and check instance_view info in container field then get result has 'instance_view' info but list result don't

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Start by comparing the ContainerGroups list and get methods for azure-mgmt-containerinstance, focusing on the container field's instance_view data. Inspect the REST API specification and response definitions to determine why list omits it. Done means the list result exposes instance_view consistently with the get result, with coverage for both methods.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
api, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.