This commit is contained in:
MAGDY SALEM 2023-10-19 15:46:50 -07:00
Родитель 9f850b0a85
Коммит 0ddb53b684
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -136,7 +136,7 @@ if( $kv_check.reason -eq "AlreadyExists")
Write-Host "To Purge KeyVault please use the following doc:"
Write-Host "https://learn.microsoft.com/en-us/cli/azure/keyvault?view=azure-cli-latest#az-keyvault-purge."
Write-Host "You could use new KeyVault name by passing parameter -KeyVault"
Throw "🛑 KeyVault name is already in use. Please use different name"
Throw "🛑 KeyVault name is already in use."
Exit
}
@ -151,7 +151,7 @@ if (!($sql_exists[0] -cLike "*ERROR: (ResourceNotFound)*"))
Write-Host ""
Write-Host "SQl Server name is already exists."
Write-Host "Please delete existing instance or use new sql Instance name passing parameter -SQLServerName"
Throw "🛑 SQL Server name is already in use. Please use different name"
Throw "🛑 SQL Server name is already in use"
Exit
}
#endregion