是否可以通过Azure功能停止/启动Azure ARM虚拟机? [英] Is it possible to stop/start an Azure ARM Virtual Machine from an Azure Function?

查看:84
本文介绍了是否可以通过Azure功能停止/启动Azure ARM虚拟机?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Runbook可用于在Azure中停止/启动经典和ARM虚拟机.

Runbooks can be used to stop/start classic and ARM Virtual Machines in Azure.

Azure功能也可以做到这一点吗?

Is this also possible from an Azure Function?

推荐答案

一些好消息来更新此线程.现在,您将可以在Azure Functions中执行此操作.这些步骤是根据HTTP触发的函数在此处记录的.

Some good news to update this thread. You will be able to do that now in Azure Functions. The steps are documented here based on HTTP-triggered Functions.

Azure Function角色(如权限)停止Azure虚拟机

您可以根据实际情况选择触发类型.

You may switch out the trigger type to fit your use-case.

这篇关于是否可以通过Azure功能停止/启动Azure ARM虚拟机?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆