简体   繁体   English

Azure Logic应用和VM

[英]Azure Logic Apps and VMs

I'm searching for some ideas, how to create an logic app which can turn on/off a VM. 我正在寻找一些想法,如何创建可以打开/关闭VM的逻辑应用程序。

Microsoft Azure team answered on a similar question a couple of months ago, but no any results till today. Microsoft Azure团队在几个月前回答了类似的问题,但直到今天都没有任何结果。 Does anybody have an idea, is there a way to implement it? 有人有想法吗,有没有办法实现?

Thanks in advance. 提前致谢。

最简单的方法-创建一个Webhook,该Webhook调用将关闭VM的Azure功能。

You could also use the Azure Automation service/connector from logic apps to run a PowerShell script to shut down a VM. 您还可以使用逻辑应用程序中的Azure自动化服务/连接器来运行PowerShell脚本以关闭VM。 Azure Automation has some samples in their gallery that do this. Azure自动化在其图库中提供了一些示例。

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

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