Azure / Azure/azure-rest-api-specs

Microsoft.Insights workbooks & workbooktemplates declared with incorrect ARM URI

Open
#7,995 3 comments 0 reactions 0 assignees View on GitHub
Insights Monitor - ApplicationInsights Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 2h
Merged PRs (30d)
424

Description

I noticed that the newly-added Microsoft.Insights workbooks & workbooktemplates resource are using "/resourceGroup/" instead of "/resourceGroups/" in the "path" declarations. This is tripping up the https://github.com/Azure/autorest.azureresourceschema extension, and I presume generating SDKs which won't actually work with ARM.

@ericc1103 / @avidhanju since you recently authored changes, would you be able to take a look?

Contributor guide

Open the contributing guide

Research direction

Inspect the newly added Microsoft.Insights workbooks and workbooktemplates resource declarations and their path values. Check how the paths are consumed by the autorest.azureresourceschema extension, correct the singular resourceGroup segment to the ARM resourceGroups form, and verify that the resulting schema or generated SDK paths are valid.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, openapi
Domain
api, cloud
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.