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

REGRESSION: Several Microsoft.Network resources missing in 2015-01-01 schema #2832

Open
StephenWeatherford opened this issue Mar 10, 2023 · 2 comments

Comments

@StephenWeatherford
Copy link

StephenWeatherford commented Mar 10, 2023

The following used to cause no validation errors:

{
    "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
    "contentVersion": "1.0.0.0",
    "parameters": {
        "location": {
            "type": "string"
        },
        "virtualNetworkName": {
            "type": "string"
        },
        "addressPrefix": {
            "type": "string"
        },
        "subnetName": {
            "type": "string"
        },
        "subnetPrefix": {
            "type": "string"
        }
    },
    "resources": [
        {
            "name": "[parameters('virtualNetworkName')]",
            "type": "Microsoft.Network/virtualNetworks",
            "apiVersion": "2017-08-01",
            "location": "[parameters('location')]",
            "properties": {
                "addressSpace": {
                    "addressPrefixes": [
                        "[parameters('addressPrefix')]"
                    ]
                },
                "subnets": [
                    {
                        "name": "[parameters('subnetName')]",
                        "properties": {
                            "addressPrefix": "[parameters('subnetPrefix')]"
                        }
                    }
                ]
            }
        }
    ]
}

Now the resource type "Microsoft.Network/virtualNetworks" is no longer accepted:
image

@ghost ghost added the Needs: Triage 🔎 label Mar 10, 2023
@StephenWeatherford
Copy link
Author

Change occurred sometime since around October

@StephenWeatherford StephenWeatherford changed the title REGRESSION: Microsoft.Network/virtualNetworks missing in schemas REGRESSION: Microsoft.Network/virtualNetworks missing in 2015-01-01 schema Mar 10, 2023
@StephenWeatherford StephenWeatherford closed this as not planned Won't fix, can't repro, duplicate, stale Mar 10, 2023
@StephenWeatherford
Copy link
Author

This schema isn't being kept up anymore, but filing in case it's important that it doesn't regress by removing old resources.

I'm okay if this is closed by design.

The 2019 schema is fine.

@StephenWeatherford StephenWeatherford changed the title REGRESSION: Microsoft.Network/virtualNetworks missing in 2015-01-01 schema REGRESSION: Several Microsoft.Network resources missing in 2015-01-01 schema Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant