タイトルは釣りです。もう、Affinity Group(アフィニティグループ)は、オワコン感があるのですが、Azure CLI使っていたら納得いかない動きがあったので、スコシ追ってみました。
Azure CLI では
Azure CLI でAffinity Groupを作成する場合
azure account affinity-group create hoge --location "japan west" --label "label"
としなくてはなりません。Labelを省略すると、Affinity Groupが作成できません。
azure account affinity-group create bar --location "japan west" info: Executing command account affinity-group create + Creating affinity group error: The affinity group label is invalid. info: Error information has been recorded to azure.err error: account affinity-group create command failed
ラベルを指定すると、管理ポータルでは以下のように表示されます。
続きを読む