Authoring Azure JSON Templates

Slides:



Advertisements
Similar presentations
Visual Studio Extensibility, DSL Tools and T4 Code Generation Peter Goodman.
Advertisements

Open XML SDK for Microsoft Office
Practical PowerShell Tips & Tricks MMS Minnesota 2014 Trevor Sullivan, Jeff Wouters, David O’Brien – @david_Obrien.
Jonathan Peterson Paladin Cloudware FILE -> NEW PROJECT E: G+: +JonathanPeterson42 GitHub &
Taking Control of Visual Studio through Extensions and Extensibility Anthony Cangialosi Senior Program Manager Lead Microsoft Corporation DEV311.
WINDOWS AZURE MOBILE SERVICES AN INTRODUCTION Bret Stateham Technical Evangelist
Windows Azure, SQL Azure and SharePoint 2010 Integration.
Advanced Windows Store App Development with HTML5 Refresh / Exam Prep M6: Tools and Asynchronous Programming Jeremy Foster Microsoft Technical.
James Bannan Freddy vs JSON: Azure Resource Manager CLD44 3.
Copyright © New Signature Who we are: Focused on consistently delivering great customer experiences. What we do: We help you transform your business.
From Zero to Automation HeroFrom Zero to Automation Hero A MNSCug production Steve Jesok Ameriprise – Senior Systems Engineer Ryan Andorfer.
Why you should be using VSTSWhy you should be using VSTS Visual Studio Team Services (VSTS) Nathan Lasnoski Vice President of blog.concurrency.com.
Declarative Configuration Management with Azure Automation DSC and ARM Nathan Lasnoski Vice President of blog.concurrency.com Concurrency.
Long Live Azure Automation!Long Live Azure Automation! Cloud-first Configuration Management and Automation Beth Cooper Program Manager.
Microsoft Azure Infrastructure Services Move your infrastructure to the cloud Kaido Jarvemets Senior Consultant Trevor Sullivan.
In Depth Azure StackIn Depth Azure Stack Resource Providers Damian Flynn MVP Daniel Savage Microsoft.
Toni Petrina Microsoft MVP for C# Ekobit d.o.o. Controlling and extending development environment.
9/29/2017 6:08 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Top ways to deliver your Java code to the cloud
Azure ARM Templates CLD321 Aaron Saikovski
DevOps for the IT Pro with Azure and Visual Studio Team Services
Introduction ITEC 420.
1/27/2018 5:13 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Stress Free Deployments with Octopus Deploy
Make Power BI Your Own with the Power BI APIs
What's new in the world of SharePoint development and deployment
Working With Azure Batch AI
Developing Hybrid Apps on Microsoft Azure Stack
Migrating Infrastructure to Microsoft Azure
Easily manage SQL everywhere from anywhere with SQL Tools
Jeff Hollan / Kevin Lam Program Manager / Principal Program Manager- Microsoft Bringing Logic Apps into DevOps with Visual Studio and monitoring.
Azure CLI Deep Dive Neil Peterson Content Developer Microsoft.
Building an Automated Cloud Image Factory
SQL Server Data Tools for Visual Studio Part I: Core SQL Server Tools
Azure IaaS 101.
Release Management with Visual Studio Team Services
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Build /21/2018 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Make Power BI Your Own with the Power BI APIs
A Deep Dive into Logic Apps
"SessionTitle": "Infrastructure as Code"
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Microsoft Connect /16/2018 4:53 PM
CRM 2016 Solutions and Package Deployer
11/27/2018 4:20 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Make Power BI Your Own with the Power BI APIs
Docker Workflows with Visual Studio
Continuous Integration & Deployment to Azure Container Service
12/5/ :36 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Securely pass passwords into your deployment
Jeff Hollan / Kevin Lam Program Manager / Principal Program Manager- Microsoft Bringing Logic Apps into DevOps with Visual Studio and monitoring.
Cross-Platform, Cloud and On-Premise Database Tool
Site scripts and Site Design
Serverless Architecture in the Cloud
Microsoft Connect /23/ :38 AM
Microsoft Build /27/2019 2:26 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Cross-Platform, Cloud and On-Premise Database Tool
Microsoft Azure Managing Users & Resources with Azure Resource Manager
4/12/2019 5:27 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
4/16/2019 2:13 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Build /19/2019 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Microsoft Build /4/ :50 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Title Introduction: Discussion & Conclusion: Methods & Results:
5/25/2019 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Building Apps in Azure with only Scripting Skills
The New Development Environment and What it Means for Your Company
02 | Getting Started with Azure Websites
The New Tool in Your Kit: Azure Data Studio
Ready Pre-day Azure Monitoring Workshop
Extend Azure DevOps with a Custom PowerShell-based Pipeline Task
Presentation transcript:

Authoring Azure JSON Templates Tooling, best practices, and inspiration for building Azure Resource Manager templates. Trevor Sullivan trevor@artofshell.com Art of Shell LLC Vlad Joanovic Principal Program Manager Microsoft

Trevor Sullivan Vlad Joanovic @pcgeek86 @vladimirjoanovi Microsoft MVP, Docker Captain Principal Program Manager Lead 12 years in IT 17 years in IT Beer Seafood

Workflow

ARM Template Workflow Author Validate Test Deploy Monitor

Template Validation Compiles template Ensures valid syntax xPlat CLI: azure group template validate PowerShell: Test-AzureRmResourceGroupDeployment

Tooling

Visual Studio Code Azure Resource Manager (ARM) Extension Easily install from marketplace Custom themes Syntax highlighting Collapsible code regions

Visual Studio Code

Visual Studio Azure SDK 2.x Graphical view of template

ARM Visualizer

ARM Visualizer

Azure Lens

Export ARM Templates

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)

Template Structure

ARM JSON Template Structure { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { }, "variables": { "resources": [ ], "outputs": { }

Template Functions

CopyIndex() Useful for building large numbers of resources

String Manipulation Concatenation Trimming Padding

References

Best Practices

And Then …

Section Header This is the next section

Title Line1 Line2 Line3 Line4 Line5 Line6 Bullet Level 1

Title Code

Text Only with Border Level 1 Level 2 Level 3

Text Only without Border Level 1 Level 2 Level 3

Title Text 1 Level 1 Level 2 Level 3 Text 2 Level 1 Level 2 Level 3

Title Text Text Section 1 Section 2 Level 1 Level 1 Level 2 Level 2

Demo Title