Azure

Azure Virtual Desktop をAzure CLIで取り扱う

はじめに

Azure Virtual Desktop をAzure CLIで取り扱うことができます。

拡張機能としてインストールされます。

Use Azure CLI and Azure PowerShell with Azure Virtual Desktop | Microsoft Learn
Use Azure CLI and Azure PowerShell with Azure Virtual Desktop | Microsoft Learn

Learn about Azure CLI and Azure PowerShell with Azure Virtual Desktop and some useful example comman ...

learn.microsoft.com

az desktopvirtualization | Microsoft Learn
az desktopvirtualization | Microsoft Learn

learn.microsoft.com

インストール

インストールは拡張機能を追加するか、初回の利用時にインストールされます。

az extension add --name desktopvirtualization

 

CLI

主要な機能は利用できます。

ホストプール

az desktopvirtualization hostpool

アプリケーショングループ

az desktopvirtualization applicationgroup

ワークスペース

az desktopvirtualization workspace

注意

ここで注意するべきこととしてアプリケーション用のコマンドはありません。PowerShellを利用する必要があります。

また、スケーリングプランの設定も行えません。

これらを考慮するとポータルから管理する方がまだ楽かもしれません。

まとめ

Azure Virtual Desktop をAzure CLIで取り扱うことができます。簡易的な管理は行えますが構築などはポータルで行ったほうが楽だと思います。

-Azure
-