Azure Resource Manager template language additions
Share
Services
Here are some new changes in the Azure Resource Manager template language:
* Deployment **outputs** now support the **condition** property to help avoid deploy-time errors from conditional resources ([documentation](https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-authoring-templates#outputs) and [sample](https://github.com/bmoore-msft/AzureRM-Samples/blob/master/conditional-output/azuredeploy.json#L9)).
* The **copy()** function will support non-object string inputs to produce an **array** result ([documentation](https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-create-multiple#variable-iteration) and [sample](https://github.com/bmoore-msft/AzureRM-Samples/blob/master/copy-array/azuredeploy.json)).
* The **newGuid()** function will generate a globally unique identifier each time a template is deployed. This function is not idempotent and can only be used as a **defaultValue** on a parameter ([documentation](https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-template-functions-string#newguid) and [sample](https://github.com/bmoore-msft/AzureRM-Samples/blob/master/non-deterministic-fn/azuredeploy.json)).
* The **utcNow()** function will return the **dateTime()** in UTC, and the return value can be formatted using dotnet standard strings. This function is not idempotent and can only be used as a **defaultValue** on a parameter ([documentation](https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-template-functions-string#utcnow) and [sample](https://github.com/bmoore-msft/AzureRM-Samples/blob/master/non-deterministic-fn/azuredeploy.json)).
These changes are now available in all public regions.
* Features
* Services
What else is happening at Microsoft Azure?
Read update
Services
Share
Read update
Services
Share
We’re retiring Azure Time Series Insights on 7 July 2024 – transition to Azure Data Explorer
May 31st, 2024
Services
Share