Azure / bicep-types-az

Bicep type definitions for ARM resources
MIT License
80 stars 26 forks source link

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

Open o-l-a-v opened 1 month ago

o-l-a-v commented 1 month ago

Bicep version

Describe the bug

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

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.

stephaniezyen commented 1 month ago

Please open a support ticket with the Microsoft.Insights RP if this is still happening

o-l-a-v commented 1 month ago

No thanks. Maybe somebody at Microsoft could redirect the Microsoft.Insights resource provider team to this issue instead.

o-l-a-v commented 1 month ago

The same happened with dataCollectionRules from the same resource provider.

image

Tagging @avjerafi, @AfstoneBharfon and @rkmanda because I found you in the commit history to the API spec for:

Seems Microsoft.Insights is doing something wrong here that makes Bicep recommend API versions not yet available for Bicep?