简体   繁体   English

如何根据 azure 监视器警报调整虚拟机磁盘大小

[英]How to resize disk of virtual machine based on the azure monitor alert

I have created azure monitor alert based on Log Analytics Workspace resource using kusto query and I am successfully getting low disk space alert email.我使用 kusto 查询基于 Log Analytics Workspace 资源创建了 azure 监视器警报,并且我成功收到了磁盘空间不足警报电子邮件。 Now instead of email i want to resize my disk automatically based on the azure monitor alert.现在,我想根据 azure 监视器警报自动调整磁盘大小,而不是电子邮件。 So can someone help on this is it possible using powershell or any other thing.所以有人可以帮助解决这个问题是否可以使用powershell或任何其他东西。

There is no way to resize the disk automatically based on the alerts.无法根据警报自动调整磁盘大小。 We need to do it manually.我们需要手动完成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM