Download presentation
Presentation is loading. Please wait.
1
Authoring Azure JSON Templates
Tooling, best practices, and inspiration for building Azure Resource Manager templates. Trevor Sullivan Art of Shell LLC Vlad Joanovic Principal Program Manager Microsoft
2
Trevor Sullivan Vlad Joanovic @pcgeek86 @vladimirjoanovi
Microsoft MVP, Docker Captain Principal Program Manager Lead 12 years in IT 17 years in IT Beer Seafood
3
Workflow
4
ARM Template Workflow Author Validate Test Deploy Monitor
5
Template Validation Compiles template Ensures valid syntax xPlat CLI: azure group template validate PowerShell: Test-AzureRmResourceGroupDeployment
6
Tooling
7
Visual Studio Code Azure Resource Manager (ARM) Extension Easily install from marketplace Custom themes Syntax highlighting Collapsible code regions
8
Visual Studio Code
9
Visual Studio Azure SDK 2.x Graphical view of template
10
ARM Visualizer
11
ARM Visualizer
12
Azure Lens
13
Export ARM Templates
14
Set up Visual Studio Code
During this demonstration, we'll show: Install Visual Studio Code Install VS Code ARM Extension Install armsnippet extension (JSON + PowerShell snippets)
15
Template Structure
16
ARM JSON Template Structure
{ "$schema": " "contentVersion": " ", "parameters": { }, "variables": { "resources": [ ], "outputs": { }
17
Template Functions
18
CopyIndex() Useful for building large numbers of resources
19
String Manipulation Concatenation Trimming Padding
20
References
21
Best Practices
22
And Then …
23
Section Header This is the next section
24
Title Line1 Line2 Line3 Line4 Line5 Line6 Bullet Level 1
25
Title Code
26
Text Only with Border Level 1 Level 2 Level 3
27
Text Only without Border
Level 1 Level 2 Level 3
28
Title Text 1 Level 1 Level 2 Level 3 Text 2 Level 1 Level 2 Level 3
29
Title Text Text Section 1 Section 2 Level 1 Level 1 Level 2 Level 2
30
Demo Title
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.