Skip to content

Instantly share code, notes, and snippets.

@johnlokerse
Created Feb 20, 2022
Embed
What would you like to do?
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"mySecureString": {
"type": "securestring"
},
"myDescription": {
"type": "string",
"maxLength": 4,
"metadata": {
"description": "This parameter has a max length of 4."
}
},
"myEvironments": {
"type": "string",
"allowedValues": [
"development",
"test"
],
"metadata": {
"description": "This string can only contain values: development or test."
}
},
"myPrefix": {
"type": "string",
"defaultValue": "[concat('euw-', uniqueString(resourceGroup().id), '-')]",
"metadata": {
"description": "This parameter contains a default value"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment