Articles → MICROSOFT AZURE → Variables And Parameters In ARMVariables And Parameters In ARMIn this article, we will discuss variables and parameters in ARM.What Is A Variable? Whenever we want to reuse the value, we create the variable. While creating the template, we create the variables by creating an attribute variables as shown in the figure below.Click to EnlargeAnd we can use it using the following syntax: -[variables(‘variable_name’)]Click to EnlargeWhat Is A Parameter? In the case of parameters, the value of the parameter is entered by the user at runtime while deploying the resource. We create the parameters by creating an attribute parameters as shown in the figure below.Click to EnlargeWhen you deploy the resource, Azure has asked the user to enter the value of the parameter. In the below image, the Disks_mydisk_name is the parameter.Click to EnlargePosted By - Karan Gupta Posted On - Friday, May 7, 2021 Query/Feedback Your Email Id Subject Query/Feedback Characters remaining 250
[variables(‘variable_name’)]
Query/Feedback