Azure / Azure/azure-rest-api-specs

`Microsoft.Insights/Workbooks` returns `type` as null

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

Description

Hi,

I am attempting to list resources in a subscription via the REST API and categorize things by the `type` field, but Microsoft.Insights/Workbooks sometimes returns null where the resource provider is usually listed for resources. This seems to be the case for all the API versions, including the newest stable 2023-06-01.

It's inconsistent and I can't determine what is causing it. Some workbooks return the type, others don't. All of these workbooks were created in 2022 and are all sourced to the same `Microsoft.OperationalInsights/Workspace` ID.

Contributor guide

Open the contributing guide

Research direction

No source file or test is identified. Start by reproducing the subscription resource listing for Microsoft.Insights/Workbooks across the mentioned API versions, comparing workbooks whose type is present with those returning null. Done requires establishing whether the discrepancy is in the REST API specification or service response and defining the resulting correction.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.