Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
StephenWeatherford opened this issue Jul 6, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@StephenWeatherford
Copy link
Contributor

This is straight from the unit tests:

{
    "$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')]"
            }
        }
    ]
}
 The apiVersion 2021-12-01-preview was not found for the resource type: Microsoft.ApiManagement/service/apis 

Neither ARM extension nor bicep complain

@ghost ghost added the Needs: triage 🔍 label Jul 6, 2022
@bmoore-msft bmoore-msft added bug Something isn't working and removed Needs: triage 🔍 labels Jul 27, 2022
@bmoore-msft
Copy link
Contributor

@StartAutomating

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants