зеркало из https://github.com/Azure/vdc.git
cognitive.services module updates
fixed akv secrets and module tests scripts
This commit is contained in:
Родитель
aa53491fb9
Коммит
00082f9472
|
@ -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
|
||||
==============================================================================================
|
||||
|
|
Загрузка…
Ссылка в новой задаче