Reader small image

You're reading from  Azure Stack Hub Demystified

Product typeBook
Published inOct 2021
PublisherPackt
ISBN-139781801078603
Edition1st Edition
Right arrow
Author (1)
Richard Young
Richard Young
author image
Richard Young

Richard Young has been working in IT for over 35 years and is currently a principal consultant in the professional services division of Lenovo Global Technologies, covering EMEA. He works closely with customers to assist them in their journey to the cloud with a focus on hybrid cloud, especially focused on Microsoft Azure. His role covers both the strategy and deployment of hybrid cloud using Microsoft Azure Stack Hub and Azure Stack HCI. He holds both MCSE and MCSA certifications for Azure. He holds the MCPD certification for .NET development for the cloud, from back when he was a developer. He has been involved in multiple deployments of Azure Stack Hub throughout Europe over the last few years. He is a husband, father, and grandfather.
Read more about Richard Young

Right arrow

Authoring ARM templates

In this chapter, we are going to walk through the process of creating ARM templates to allow us to make calls through the ARM REST API.

When authoring ARM templates that are to be used for deployment in Azure Stack Hub, then only Microsoft Azure services that are already available, or in preview, in Azure Stack Hub must be included.

Azure Stack Hub uses different service endpoint namespaces compared to Azure and, as a result, hardcoded public endpoints will cause ARM templates to fail when deployed to Azure Stack Hub. Service endpoints can be built dynamically by using reference and concatenate functions that allow the retrieval of values from the resource provider during deployment.

Azure Stack Hub resource manager functions allow you to build dynamic templates and can be used for tasks such as the following:

  • Concatenating or trimming strings
  • Referencing values from other resources
  • Iterating on resources to deploy multiple instances...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Azure Stack Hub Demystified
Published in: Oct 2021Publisher: PacktISBN-13: 9781801078603

Author (1)

author image
Richard Young

Richard Young has been working in IT for over 35 years and is currently a principal consultant in the professional services division of Lenovo Global Technologies, covering EMEA. He works closely with customers to assist them in their journey to the cloud with a focus on hybrid cloud, especially focused on Microsoft Azure. His role covers both the strategy and deployment of hybrid cloud using Microsoft Azure Stack Hub and Azure Stack HCI. He holds both MCSE and MCSA certifications for Azure. He holds the MCPD certification for .NET development for the cloud, from back when he was a developer. He has been involved in multiple deployments of Azure Stack Hub throughout Europe over the last few years. He is a husband, father, and grandfather.
Read more about Richard Young