在Azure上启动和关闭VM的自动计划 [英] Auto Schedule for Start and shutdown of VM On Azure

查看:106
本文介绍了在Azure上启动和关闭VM的自动计划的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Azure Automation在美国西部地区不可用,我该如何设置某些内容以每天按特定时间表启动和关闭Azure VM.


NJ

Azure Automation is not available in West US regieon how can i setup something to start and shutdown an Azure VM daily at a Particular Schedule.


NJ

推荐答案

您可以像这样使用Azure CLI:

You could use the Azure CLI like this:

https://buildazure.com/2017/06/07/azure-cli-2-0-quickly-start-stop-all-vms/

然后仅使用任务计划程序使适当的命令在需要时运行.

Then just use task scheduler for the appropriate command to run when you want.


这篇关于在Azure上启动和关闭VM的自动计划的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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