Azure / Azure/arm-ttk

Doesn't recognize 2021-12-01-preview for Microsoft.ApiManagement/service/apis

Open
#660 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
PowerShell
Stars
468
Forks
208
PR merge metrics
No merged PRs in 30d

Description

This is straight from the unit tests:
```json
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"resources": [
{
"type": "Microsoft.ApiManagement/service/apis",
"apiVersion": "2021-12-01-preview",
"name": "foo/bar",
"properties": {
"displayName": "test",
"apiRevision": "1",
"description": "Init",
"subscriptionRequired": true,
"path": "foo",
"protocols": [
"https"
],
"isCurrent": true,
"apiVersion": "v1", // this should not be flagged
"apiVersionSetId": "[resourceId('Microsoft.ApiManagement/service/apiVersionSets', 'foo', 'bar')]"
}
}
]
}
```
```ps1
The apiVersion 2021-12-01-preview was not found for the resource type: Microsoft.ApiManagement/service/apis
```
Neither ARM extension nor bicep complain

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.