
Azure Stack Hub Demystified
By :

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:
Change the font size
Change margin width
Change background colour