Resource properties

Each resource should be configured appropriately for its purpose. Configuration data is provided to all resources using properties in ARM templates. Again, it is important to understand that each resource will have separate configuration requirements, and a different set of properties may be required. We advise readers to go through the properties of each resource before using them in ARM templates. These properties can be read at https://docs.microsoft.com/en-us/azure/templates/.

The properties of a serverfarms resource is shown in the next code listing. Here, there are resource-specific property elements, such as the sku which is unique to the resource:

   {
"type": "Microsoft.Web/serverfarms",
"kind": "app",
"name": "[parameters('appServicePlanName')]",
"location": "[resourceGroup().location]",
"apiVersion": "2016-09-01",
"properties": {
"name": "[parameters('appServicePlanName')]"
},
"sku": {
"Tier": "[parameters('appServicePlanSkuTier')]",
"Name": "[parameters('appServicePlanSkuName')]"
}
}
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.48.181