question

JR-5446 avatar image
0 Votes"
JR-5446 asked SathyamoorthyVijayakumar-MSFT commented

Schema for ARM deployment to update to 2019

Is there any dependency when you upgrade Schema version from 2015-01-01 to 2019-04-01 ?
Will it work by just replacing the version and re-deploy ? I tried to deploy and no error seen but I cannot verify or see schema version over portal , so I'm not sure on this.

Also curious to know if 2019 is now supported without ARM extension in VS code ?

"https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/syntax" this link suggests to upgrade to latest version for resource group deployments but can get issue if not using ARM extension.


azure-dtl-arm-enviorments
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SathyamoorthyVijayakumar-MSFT avatar image
0 Votes"
SathyamoorthyVijayakumar-MSFT answered SathyamoorthyVijayakumar-MSFT commented

When you update the root level version, it will pull in automatically the appropriate versions of the child schemas.

https://github.com/Azure/azure-resource-manager-schemas/blob/master/schemas/2019-04-01/deploymentTemplate.json

This will eliminate the necessity/dependency of the updating the code.

You will need the Azure Resource Manager tools extension. There is a walkthrough that is documented here. Not sure, whether I understood the second part of your question. Request you to add additional context if this is not the information you are looking for


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Can you please explain a bit more where to update root level version and related to child schema (where) ?

I'm trying to update version in all ARM templates and parameter file of azure resources where schema is defined. Is there any better way than this ?

0 Votes 0 ·

@JR-5446 - Thanks for your response. That should suffice. The parameter should cascade it down.

0 Votes 0 ·