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

Missing schema for Microsoft.Compute/disks, apiVersion 2022-03-02? #3130

Open
mcdonamw opened this issue Jun 29, 2024 · 0 comments
Open

Missing schema for Microsoft.Compute/disks, apiVersion 2022-03-02? #3130

mcdonamw opened this issue Jun 29, 2024 · 0 comments

Comments

@mcdonamw
Copy link

VScode with ARM Tools v0.15.11 having issues with a template I just generated with the Azure portal on a number of resources. One such resource is Microsoft.Compute/disks. I don't fully understand the warning. Note: this is my first foray into 1) ARM and 2) VScode.

From the template.json

            "type": "Microsoft.Compute/disks",
            "apiVersion": "2022-03-02",

Warning:

For full schema validation, consider updating the value to one of the following: "2016-04-30-preview", "2017-03-30", "2018-04-01", "2018-06-01", "2019-07-01". It is possible that the current resource version is valid but that a schema has not been generated. For more information see https://aka.ms/arm-tools-apiversion.

When I go to that site, it ultimately redirects me to https://github.com/Azure/azure-resource-manager-schemas/blob/main/generator/resources.json, which lists API versions for this resource type all the way up through 2023-10-02. So I'm not understanding why I'm being instructed to go back as far as 2019.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant