0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Azure AI Search の List Synonym Maps の API をPowerShell で実行する

0
Last updated at Posted at 2025-06-13

この記事の目的

公式ドキュメントにはリファレンスが記載されているが、実行するとき毎回変換する必要があるため、備忘の為、記載する

実行するAPI

Azure AI Search Service内のシノニム マップの一覧を返すAPIを実行する

実行方法

PowerShell の Invoke-RestMethod を使用して実行する

実行例

$key = "<api key>"
$Resource = "<Resource 名>"
$apiversion = "<REST APIのバージョン>" 
$url = "https://$Resource.search.windows.net/synonymmaps?api-version=$apiversion"
$headers = @{}
$headers["Content-Type"]  = "application/json"
$headers["api-key"] = "$key"

$response = Invoke-RestMethod -Uri $url -Method GET -Headers $headers
$response | Format-List

key などの取得方法はこちらを参照

APIのバージョンはREST APIのリファレンスを参照

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?