From 286fa85d0ee0977fc6ef37b6f95c77b1de0d7257 Mon Sep 17 00:00:00 2001 From: Paul Yu Date: Mon, 28 Jun 2021 19:14:26 -0700 Subject: [PATCH] Default values for new parameters --- azuredeploy.json | 16 ++++++++++++---- azuredeploy_with_SendGrid.json | 16 ++++++++++++---- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/azuredeploy.json b/azuredeploy.json index 068b423..c41167f 100644 --- a/azuredeploy.json +++ b/azuredeploy.json @@ -33,25 +33,33 @@ "type": "string", "metadata": { "description": "REDCap Community site username for downloading the REDCap zip file." - } + }, + "defaultValue": "" }, "redcapAppZipPassword": { "type": "string", "metadata": { "description": "REDCap Community site password for downloading the REDCap zip file." - } + }, + "defaultValue": "" }, "redcapAppZipVersion": { "type": "string", "metadata": { "description": "REDCap zip file version to be downloaded from the REDCap Community site." - } + }, + "defaultValue": "latest" }, "redcapAppZipInstall": { "type": "string", "metadata": { "description": "REDCap zip file type (Use '1' for Install and omit parameter altogether for Update)." - } + }, + "defaultValue": "", + "allowedValues": [ + "", + "1" + ] }, "fromEmailAddress": { "type": "string", diff --git a/azuredeploy_with_SendGrid.json b/azuredeploy_with_SendGrid.json index 56c04bd..cc47389 100644 --- a/azuredeploy_with_SendGrid.json +++ b/azuredeploy_with_SendGrid.json @@ -33,25 +33,33 @@ "type": "string", "metadata": { "description": "REDCap Community site username for downloading the REDCap zip file." - } + }, + "defaultValue": "" }, "redcapAppZipPassword": { "type": "string", "metadata": { "description": "REDCap Community site password for downloading the REDCap zip file." - } + }, + "defaultValue": "" }, "redcapAppZipVersion": { "type": "string", "metadata": { "description": "REDCap zip file version to be downloaded from the REDCap Community site." - } + }, + "defaultValue": "latest" }, "redcapAppZipInstall": { "type": "string", "metadata": { "description": "REDCap zip file type (Use '1' for Install and omit parameter altogether for Update)." - } + }, + "defaultValue": "", + "allowedValues": [ + "", + "1" + ] }, "fromEmailAddress": { "type": "string",