Azure / bicep-types-az

Bicep type definitions for ARM resources
MIT License
86 stars 27 forks source link

[Microsoft.ApiManagement/service@2024-05-01]: fails to deploy to Azure #2301

Open ronaldbosma opened 1 month ago

ronaldbosma commented 1 month ago

Resource Type

Microsoft.ApiManagement/service

Api Version

2024-05-01

Issue Type

Resource fails to deploy

Other Notes

I'm getting the following error when trying to deploy API Management with version 2024-05-01 (types.md).

No registered resource provider found for location 'westeurope' and API version '2024-05-01' for type 'service'. The supported api-versions are '2014-02-14, 2015-09-15, 2016-07-07, 2016-10-10, 2017-03-01, 2018-01-01, 2018-06-01-preview, 2019-01-01, 2019-12-01-preview, 2019-12-01, 2020-06-01-preview, 2020-12-01, 2021-01-01-preview, 2021-04-01-preview, 2021-08-01, 2021-12-01-preview, 2022-04-01-preview, 2022-08-01, 2022-09-01-preview, 2023-03-01-preview, 2023-05-01-preview, 2023-09-01-preview'. The supported locations are 'centralindia, uaenorth, australiacentral, germanywestcentral, westcentralus, norwayeast, switzerlandnorth, koreasouth, westindia, koreacentral, southafricanorth, ukwest, brazilsouth, eastasia, southindia, canadacentral, canadaeast, australiasoutheast, japaneast, northcentralus, southeastasia, westus2, centralus, uksouth, australiaeast, japanwest, westus, francecentral, southcentralus, eastus2, eastus, northeurope, westeurope, westus3, jioindiacentral, jioindiawest, swedencentral, qatarcentral, polandcentral, italynorth, spaincentral, mexicocentral, israelcentral'.

This version is also not documented on https://learn.microsoft.com/en-us/azure/templates/microsoft.apimanagement/service?pivots=deployment-language-bicep.

Bicep Repro

No response

Confirm

dennisschouwenaarspggm commented 1 month ago

Seems the ARM schema itself is still not available yet here: https://github.com/Azure/azure-resource-manager-schemas/tree/main/schemas/2024-05-01

dennisschouwenaarspggm commented 2 weeks ago

Issue seems resolved, schema file generation is working again. Just validated a deployment using this api version

pim-simons commented 2 weeks ago

Issue seems resolved, schema file generation is working again. Just validated a deployment using this api version

Have been running into this as well and just gave it a try, it seems like not everything is working yet, getting the error below on Microsoft.ApiManagement/service/apiVersionSets

API version query parameter is not specified or was specified incorrectly. Supported versions: 2014-02-14-preview,2014-02-14,2015-09-15,2016-07-07,2016-10-10,2017-03-01,2018-01-01,2018-06-01-preview,2019-01-01,2019-12-01-preview,2019-12-01,2020-06-01-preview,2020-12-01,2021-01-01-preview,2021-04-01-preview,2021-08-01,2021-12-01-preview,2022-04-01-preview,2022-08-01,2022-09-01-preview,2023-03-01-preview,2023-05-01-preview,2023-09-01-preview,2024-06-01-preview Example query param format: api-version=SupportedVersion

dennisschouwenaarspggm commented 2 weeks ago

I've noticed the parent resource 'Microsoft.ApiManagement/Service' is now resolved. All the other child resources still fail on this particular error indeed.