Azure Logic Apps
コードを記述せずにクラウド間でのデータのアクセスと使用を自動化する Azure サービス。
このブラウザーはサポートされなくなりました。
Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。
オートメーションテンプレート「Deallocate Virtual Machine」で、VMの割り当て解除を実行できますが、VMが起動しているときに割り当て解除を行いたくありません。
VMのStatusが"VM stopped"の時にだけ、VMの割り当て解除を実行する方法はありますでしょうか。
コードを記述せずにクラウド間でのデータのアクセスと使用を自動化する Azure サービス。
こんにちは cinq81,
Microsoft Q&A プラットフォームへようこそ! ここにご質問をいただきありがとうございます。
Logic App で「仮想マシンの割り当て解除(Deallocate Virtual Machine)」アクションを実行する前に追加すべき手順は以下のとおりです。
GET を設定。 https://management.azure.com/subscriptions/<SUB_ID>/resourceGroups/<RG>/providers/Microsoft.Compute/virtualMachines/<VM_NAME>/instanceView?api-version=2024-11-01
{
"type": "object",
"properties": {
"disks": { "type": "array" },
"bootDiagnostics": { "type": "object" },
"hyperVGeneration": { "type": "string" },
"statuses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": { "type": "string" },
"level": { "type": "string" },
"displayStatus": { "type": "string" },
"time": { "type": "string" }
}
}
}
}
}