Skip to content

Commit

Permalink
Merge pull request #1683 from craddm/help-text
Browse files Browse the repository at this point in the history
Update help text for Powershell command `shmId` and`sreId` arguments
  • Loading branch information
craddm authored Dec 7, 2023
2 parents 84f1f83 + 19cfa24 commit 073c812
Show file tree
Hide file tree
Showing 49 changed files with 79 additions and 79 deletions.
4 changes: 2 additions & 2 deletions deployment/ShowConfigFile.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $false, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $false, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId = $null
)

Expand Down
2 changes: 1 addition & 1 deletion deployment/administration/SHM_Add_AAD_Licences.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $false, HelpMessage = "SKU for the licence you want to assign")]
[string]$licenceSku = "AAD_PREMIUM"
Expand Down
2 changes: 1 addition & 1 deletion deployment/administration/SHM_Delete_Unassigned_Users.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $false, HelpMessage = "No-op mode which will not remove anything")]
[Switch]$dryRun
Expand Down
2 changes: 1 addition & 1 deletion deployment/administration/SHM_Manage_VMs.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter action (EnsureStarted, EnsureStopped)")]
[ValidateSet("EnsureStarted", "EnsureStopped")]
Expand Down
2 changes: 1 addition & 1 deletion deployment/administration/SHM_Minimise_VM_Sizes.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(HelpMessage = "Enter VM Size for all VMs")]
[ValidateSet("Tiny", "Small")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Which tier of mirrors should be torn down")]
[ValidateSet("2", "3")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $false, HelpMessage = "Path to directory containing allowlist files (default: '<repo root>/environment_configs/package_lists')")]
[string]$AllowlistDirectory = $null
Expand Down
2 changes: 1 addition & 1 deletion deployment/administration/SHM_Teardown.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $false, HelpMessage = "No-op mode which will not remove anything")]
[Switch]$dryRun
Expand Down
4 changes: 2 additions & 2 deletions deployment/administration/SRE_Enroll_Disk_Backup.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId,
[Parameter(Mandatory = $true, HelpMessage = "Enter the name of the resource group containing the new disk")]
[string]$resourceGroup,
Expand Down
4 changes: 2 additions & 2 deletions deployment/administration/SRE_Manage_VMs.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId,
[Parameter(Mandatory = $true, HelpMessage = "Enter action (Start, Shutdown or Restart)")]
[ValidateSet("EnsureStarted", "EnsureStopped")]
Expand Down
4 changes: 2 additions & 2 deletions deployment/administration/SRE_Minimise_VM_Sizes.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId,
[Parameter(HelpMessage = "Enter VM Size for all VMs")]
[ValidateSet("Tiny", "Small")]
Expand Down
4 changes: 2 additions & 2 deletions deployment/administration/SRE_SRD_Remote_Diagnostics.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId,
[Parameter(Mandatory = $true, HelpMessage = "Enter last octet of SRD IP address (e.g. 160)")]
[string]$ipLastOctet
Expand Down
4 changes: 2 additions & 2 deletions deployment/administration/SRE_Teardown.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId,
[Parameter(Mandatory = $false, HelpMessage = "No-op mode which will not remove anything")]
[Switch]$dryRun
Expand Down
10 changes: 5 additions & 5 deletions deployment/common/Configuration.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ function Get-ConfigRootDir {
# --------------------------------------------------------------------------------
function Get-CoreConfig {
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $false, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $false, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId = $null
)
# Construct filename for this config file
Expand Down Expand Up @@ -57,7 +57,7 @@ function Get-CoreConfig {
# ---------------------
function Get-ShmConfig {
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
$shmId
)
# Import minimal management config parameters from JSON config file - we can derive the rest from these
Expand Down Expand Up @@ -607,9 +607,9 @@ Export-ModuleMember -Function Get-ShmResourceGroups
# ---------------------------
function Get-SreConfig {
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId
)
# Import minimal management config parameters from JSON config file - we can derive the rest from these
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID for the old SHM (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID for the old SHM (e.g. 'project')")]
[string]$oldShmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID for the new SHM (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID for the new SHM (e.g. 'project')")]
[string]$newShmId
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project'. Maximum of seven alphanumeric characters)")]
[string]$shmId,
[Parameter(Mandatory = $false, HelpMessage = "Use device authentication for connecting to Azure and Microsoft Graph")]
[switch]$UseDeviceAuthentication
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Specify a machine name to turn into an image. Ensure that the build script has completely finished before running this")]
[string]$vmName
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $false, HelpMessage = "Source image (one of 'Ubuntu1804', 'Ubuntu2004' or 'Ubuntu2204' [default]")]
[ValidateSet("Ubuntu1804", "Ubuntu2004", "Ubuntu2204")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Specify an existing VM image to add to the gallery.")]
[string]$imageName,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId,
[Parameter(Mandatory = $true, HelpMessage = "Last octet of IP address (eg. '160')")]
[string]$ipLastOctet,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId,
[Parameter(Mandatory = $false, HelpMessage = "Last octet of IP address for SRD to test DNS lockdown. Defaults to '160'")]
[string]$srdIpLastOctet
Expand Down
4 changes: 2 additions & 2 deletions deployment/secure_research_environment/setup/Deploy_SRE.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. 'sandbox'). Maximum of seven alphanumeric characters")]
[string]$sreId,
[Parameter(Mandatory = $true, HelpMessage = "Array of sizes of SRDs to deploy. For example: 'Standard_D2s_v3', 'default', 'Standard_NC6s_v3'")]
[string[]]$VmSizes,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId,
[Parameter(Mandatory = $true, ParameterSetName = "ByIPAddress", HelpMessage = "Last octet of IP address eg. '160'")]
[string]$ipLastOctet
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId,
[Parameter(Mandatory = $false, HelpMessage = "Force an existing database VM to be redeployed.")]
[switch]$Redeploy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. use 'testa' for Turing Development Safe Haven A)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SHM ID (e.g. 'project')")]
[string]$shmId,
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. use 'sandbox' for Turing Development Sandbox SREs)")]
[Parameter(Mandatory = $true, HelpMessage = "Enter SRE ID (e.g. 'sandbox')")]
[string]$sreId
)

Expand Down
Loading

0 comments on commit 073c812

Please sign in to comment.