Azure / bicep-types-az

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

Microsoft.Insights/scheduledQueryRules@2023-12-01 : missing #2185

Open slavizh opened 2 months ago

slavizh commented 2 months ago

Resource Type

Microsoft.Insights/scheduledQueryRules

Api Version

2023-12-01

Issue Type

Type is unavailable

Other Notes

No
     | registered resource provider found for location 'westeurope' and API
     | version '2023-12-01' for type 'scheduledqueryrules'. The supported
     | api-versions are '2024-01-01-preview, 2023-03-15-preview,
     | 2022-08-01-preview, 2022-06-15, 2021-08-01, 2021-02-01-preview,
     | 2020-05-01-preview, 2018-04-16, 2017-09-01-preview'. The supported
     | locations are 'westcentralus, westeurope, northeurope, norwayeast,
     | norwaywest, germanywestcentral, germanynorth, swedencentral,
     | francesouth, francecentral, westus, westus2, westus3, southcentralus,
     | polandcentral, switzerlandnorth, switzerlandwest, eastasia,
     | southeastasia, uaenorth, uaecentral, brazilsoutheast, brazilsouth,
     | qatarcentral, australiaeast, australiasoutheast, australiacentral,
     | australiacentral2, koreasouth, koreacentral, jioindiawest,
     | jioindiacentral, canadaeast, canadacentral, centralus, eastus, eastus2,
     | japaneast, japanwest, southafricanorth, southafricawest, uksouth,
     | ukwest, southindia, centralindia, northcentralus, italynorth,
     | israelcentral, spaincentral'.

Bicep Repro

n/a as the type and API version is just not available just.

Confirm

bibalek commented 2 months ago

I've encountered the same issue. This time it was related to renovate bot tool that we use for automatic detection and upgrade of dependencies. For bicep/ARM it uses this repository as the source for available api versions.

I met this issue for Microsoft.Insights/scheduledQueryRules with 2023-12-01 as @slavizh but also the same error with Microsoft.Consumption/budgets proposed to be updated to 2023-11-01 while the azure learn docs show the latest version is 2021-10-01.

ronald-bosma commented 1 month ago

We're encountering the same issue. Is there an ETA on a fix?

nikolamalesevic commented 3 weeks ago

I got the same issue when I tried updating the resource from an older version.

image

2023-03-15-preview still works, but it throws a warning - it can be used as a temporary solution.