Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the list of deployment template schema api versions?

We are authoring Azure Resource Manager templates. We are using the following deployment template schema, because it is the one that we saw in an example.

http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#

It is from early 2014. Where can we find a list of more recent schema versions?

We have looked at the list of resource Manager providers, regions, API versions and schemas. It references a schema for each provider not for the entire template.

When we do find a list of more recent schema, how do we evaluate which deployment template schema to use? Is more recent better?

like image 323
Shaun Luttin Avatar asked Feb 16 '16 16:02

Shaun Luttin


People also ask

What is a template schema?

A schema describes the specifications of a Deployment Manager template. If a schema exists for a template, Deployment Manager uses the schema to enforce how users can interact with the corresponding template. Schemas define a set of rules that a configuration file must meet if it wants to use a particular template.

What is schema in ARM template?

$schema : The location of the JSON schema file that describes the version of the template language. contentVersion : The version of the template (such as 1.0. 0.0). parameters : The optional values that are provided when deployment is executed to customise resource deployment.

What are the 5 key pieces of a resource manager template?

It will contain five main sections: schema, parameters, variables, resources, and outputs.

What is Apiversion in ARM template?

This API version corresponds to a version of REST API operations that are released by the resource provider (Microsoft.Compute/virtualMachines is the resource provider and namespace for virtual machines, Microsoft.Storage/storageAccounts is the resource provider and namespace for storage and storage accounts - as ...


1 Answers

Still no official list in 2020, until we found one, here's the current root schemas for quick reference

Resource group:

  • https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#
  • https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#
  • https://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#

Subscription:

  • https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#

Management Group:

  • https://schema.management.azure.com/schemas/2019-08-01/managementGroupDeploymentTemplate.json#

Tenant:

  • https://schema.management.azure.com/schemas/2019-08-01/tenantDeploymentTemplate.json#

This will definitely be outdated in the future, this is sourced from here so be sure to check too if you want the latest. Feel free to update the list in the future.

like image 164
Louie Almeda Avatar answered Sep 19 '22 21:09

Louie Almeda