Reference Documents for Azure Resource Templates

I am looking for reference documents for JSON templates for Azure Resource Manager. Does anyone know if there is reference material for these templates?

There is a general reference to the required parameters, etc., for example, Create Template Deployment .

I'm mostly looking for full availability, so I can match the setting on the portal with a JSON pattern. Functions with apiVersion releases are also available. I remember that there is MSDN documentation for the change log with api version versions, but cannot find it now.

+6
source share
6 answers

Microsoft finally created what I was looking for 🎉: full documentation is now available at https://docs.microsoft.com/en-au/azure/templates/

+3
source

If you are creating a virtual machine with the required settings, extensions, etc., then you can view their json template through https://resources.azure.com/

This will give some visibility in Classic * templates.

+4
source

All ARM templates can be found on GitHub here: https://github.com/Azure/azure-resource-manager-schemas .

It includes preview templates and should provide all the information you use to determine which features are present in the apiVersion release.

+4
source

In my opinion, we can dig this way:

  • open azure-resource-manager schemas
  • Take a look at the main form below: enter image description here

  • If you open the properties, you will find the format that we need to fill in: enter image description here

  • open the parameters and look at the structure: enter image description here

  • $ref: #/definitions/parameter invite us to look at the same documents in definitions.parameters where you will find some documentation (for example, a value that you can use, etc.):

enter image description here

enter image description here

+2
source

Not available ...

Azure Resource Template Language
https://azure.microsoft.com/en-us/documentation/articles/resource-group-authoring-templates/


And then you can look at the different json.schemas that I managed to find

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

visualstudio
http://schema.management.azure.com/schemas/2014-02-26/microsoft.visualstudio.json

Sql
http://schema.management.azure.com/schemas/2014-06-01/2014-04-01-preview/Microsoft.Sql.json

Web
http://schema.management.azure.com/schemas/2014-06-01/Microsoft.Web.json

deployParameters
http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentParameters.json

If you use Visual Studio to edit the json-template file, you get intellisense (sometimes), which helps a bit. But the lack of documentation is really annoying ... for example, I do not mean that the above schemes are the latest or not, and I do not know where to find which one is most alarmed.

Edit: I met a list of additions and changes to the service management APIs . It seems to be a little outdated, 2015-01-01 is the current version and it does not exist.

Edit2: With Iaas updates on Build 2015, it seems there are also many Azure Quick Launch Templates . At a minimum, they have specific cases that I was looking for with storage accounts.

+1
source

Source: https://habr.com/ru/post/985665/


All Articles