Skip to content

Instantly share code, notes, and snippets.

@johnlokerse
Created February 20, 2022 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnlokerse/4927b8937252decf64bd068735646dab to your computer and use it in GitHub Desktop.
Save johnlokerse/4927b8937252decf64bd068735646dab to your computer and use it in GitHub Desktop.
{
"$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