Skip to content

Commit

Permalink
Update pwsh script for the list of AOAI instances
Browse files Browse the repository at this point in the history
  • Loading branch information
justinyoo committed Dec 4, 2023
1 parent 6ab8710 commit 35c7d82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion biceps/Get-OpenAIDetails.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ $openAIs | ForEach-Object {
$name = $_
$endpoint = az cognitiveservices account show -g $rg -n $name --query "properties.endpoint" -o tsv
$apiKey = az cognitiveservices account keys list -g $rg -n $name --query "key1" -o tsv
$deploymentName = az cognitiveservices account deployment list -g $rg -n $name --query "[].name" -o tsv

$instance = @{ Endpoint = $endpoint; ApiKey = $apiKey; DeploymentName = $DeploymentName }
$instance = @{ Endpoint = $endpoint; ApiKey = $apiKey; DeploymentName = $deploymentName }
$instances += $instance
}

Expand Down

0 comments on commit 35c7d82

Please sign in to comment.