Azure / Azure/bicep-types-az

Bicep VSCode extension recommends API version not available by resource provider for `scheduledQueryRules`

Open
#2,183 3 comments 1 reaction 0 assignees View on GitHub
Needs: Triage :mag:
Dominant language
TypeScript
Stars
108
Forks
44
Avg merge
18h 53m
Merged PRs (30d)
29

Description

**Bicep version**

* bicep.exe v0.27.1
* Bicep extension v0.27.1
* VSCode x64 v1.89.1

**Describe the bug**

Bicep VSCode extension / linter recommends API version `2023-12-01` for `Microsoft.Insights/scheduledQueryRules`.

* Exists in API specs:
* Does not exist in Bicep doc:
* Is recommended by Bicep linter:
image
* Fails at `what-if`:
image

**To Reproduce**

Believe in what the Bicep linter tells you about available API versions for `Microsoft.Insights/scheduledQueryRules`.

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare the 2023-12-01 scheduledQueryRules API in the linked Azure REST API specification with the Bicep documentation and the version recommended by the VS Code linter. Reproduce the recommendation and the what-if failure, then trace where the available API versions diverge. Done means the linter no longer recommends an API version unavailable to the resource provider.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.