cognitive.services module updates

fixed akv secrets and module tests scripts
This commit is contained in:
dwas01 2019-09-11 01:45:04 +12:00
Родитель aa53491fb9
Коммит 00082f9472
2 изменённых файлов: 4 добавлений и 4 удалений

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

@ -73,7 +73,7 @@ if (-not [string]::IsNullOrWhiteSpace($PSBoundParameters['keyVaultName']))
if (-not [string]::IsNullOrWhiteSpace($PSBoundParameters['cognitiveServicesName']))
{
Write-Output "Cognitive Services Name : $cognitiveServicesName"
$kVSecretParameters.Add("cognitiveServices--Name", $($cognitiveServicesName))
$kVSecretParameters.Add("CognitiveServices--Name", $($cognitiveServicesName))
}
else
{
@ -83,7 +83,7 @@ if (-not [string]::IsNullOrWhiteSpace($PSBoundParameters['keyVaultName']))
if (-not [string]::IsNullOrWhiteSpace($PSBoundParameters['cognitiveServicesResourceId']))
{
Write-Output "cognitiveServices ResourceId : $cognitiveServicesResourceId"
$kVSecretParameters.Add("cognitiveServices--ResourceId", $($cognitiveServicesResourceId))
$kVSecretParameters.Add("CognitiveServices--ResourceId", $($cognitiveServicesResourceId))
}
else
{
@ -93,7 +93,7 @@ if (-not [string]::IsNullOrWhiteSpace($PSBoundParameters['keyVaultName']))
if (-not [string]::IsNullOrWhiteSpace($PSBoundParameters['cognitiveServicesResourceGroup']))
{
Write-Output "Cognitive Services ResourceGroup : $cognitiveServicesResourceGroup"
$kVSecretParameters.Add("cognitiveServices--ResourceGroup", $($cognitiveServicesResourceGroup))
$kVSecretParameters.Add("CognitiveServices--ResourceGroup", $($cognitiveServicesResourceGroup))
}
else
{

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

@ -7,7 +7,7 @@
File: module.tests.ps1
Purpose: Pester - Test Application Insights ARM Templates
Purpose: Pester - Test Cognitive Services ARM Templates
Version: 2.0.0.0 - 1st September 2019 - Azure Virtual Datacenter Development Team
==============================================================================================