Azure / Azure/bicep-types-az

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

Open
#1,402 1 comment 0 reactions 0 assignees View on GitHub
API Management Service Attention
Dominant language
TypeScript
Stars
108
Forks
44
Avg merge
18h 53m
Merged PRs (30d)
29

Description

**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.`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Bicep build warning for Microsoft.ApiManagement/service/apis@2022-08-01 and compare the versions reported by `az provider list -o json` with the available type definitions. Done means the valid API version has types available and the warning no longer appears.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript
Domain
cloud, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.