Azure / bicep-types-az

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

[Microsoft.ApiManagement/service]: resource does not have types available #1402

Open mattjvan opened 1 year ago

mattjvan commented 1 year ago

Bicep version Bicep CLI version 0.14.85 (f4a4d485ba)

Describe the bug from az provider list -o json: "id": "/subscriptions/76b3290e-3a17-4b61-a2c1-2acf129f0945/providers/Microsoft.ApiManagement", "apiVersions": [ "2022-09-01-preview", "2022-08-01", "2022-04-01-preview", "2021-12-01-preview", "2021-08-01",

API's for 'Microsoft.ApiManagement/service' using Bicep: image

Additional context When building a bicep template using Microsoft.ApiManagement/service@2022-08-01, which is a valid version per az provider list -o json, the build fails with the following warning:

Warning BCP081: Resource type "Microsoft.ApiManagement/service/apis@2022-08-01" does not have types available.

ghost commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @adrianhall, @KedarJoshi. Please see https://aka.ms/biceptypesinfo for troubleshooting help.

Issue Details
**Bicep version** Bicep CLI version 0.14.85 (f4a4d485ba) **Describe the bug** from `az provider list -o json`: "id": "/subscriptions/76b3290e-3a17-4b61-a2c1-2acf129f0945/providers/Microsoft.ApiManagement", "apiVersions": [ "2022-09-01-preview", "2022-08-01", "2022-04-01-preview", "2021-12-01-preview", "2021-08-01", API's for 'Microsoft.ApiManagement/service' using Bicep: ![image](https://user-images.githubusercontent.com/12859517/223128908-bd1b1b3a-1576-454c-aee9-f66520188f3f.png) **Additional context** When building a bicep template using Microsoft.ApiManagement/service@2022-08-01, which is a valid version per `az provider list -o json`, the build fails with the following warning: `Warning BCP081: Resource type "Microsoft.ApiManagement/service/apis@2022-08-01" does not have types available.`
Author: mattjvan
Assignees: -
Labels: `RP: Microsoft.ApiManagement`, `Service Attention`, `API Management`
Milestone: -