自动启动 - 停止 - VM解决方案范围 [英] Auto-Start-Stop-VM solution scope

查看:69
本文介绍了自动启动 - 停止 - VM解决方案范围的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 



我已使用自动化帐户启用了Azure-Auto-Start-Stop解决方案。它对我来说很好。我为一个RG启用了它。 


我的查询是 - 查看目标资源的方式是什么?例如,我可以看到作为解决方案一部分的VM列表或RG列表,只有那些将由解决方案启动 - 停止。 


我搜索了文章本身,但我无论如何都看不到目标资源。 


所以,如果我们能够看到目标,那么我们可以根据需要修改它,无需部署新的解决方案每次或不需要在现有解决方案中添加更多计划。



请还原。



谢谢,


Sud

解决方案


实际上这在文件中有描述:


https://docs.microsoft.com/en-us/azure/automation/automation- solution-vm-management#variables


该解决方案将Azure Automation中的信息存储为变量。特别针对哪些VM使用以下变量:


External_Start_ResourceGroupNames


External_Stop_ResourceGroupNames


你可以看到这些变量的值以查看目标资源组。


您还可以看到此变量的值:


External_ExcludeVMNames


查看哪些虚拟机被排除在这些资源组之外。



如果有帮助,请将此回复标记为答案


Hi, 

I have enabled Azure-Auto-Start-Stop solution using automation account. It is working fine for me. I have enabled it for one RG. 

My query is- what is the way to see the target resources? For example where I could see the VM list or list of RG's which are the part of solution and only those are going to start-stop by the solution. 

I have searched in the article itself but I don't find anyway to see the target resources. 

So once if we can see target then we can modify it as per our need, no need to deploy new solution everytime or no need to add more schedules in existing solution.

Please revert.

Thanks,

Sud

解决方案

Hi,

Actually this is described in the document:

https://docs.microsoft.com/en-us/azure/automation/automation-solution-vm-management#variables

That solutions stores information in Azure Automation as variables. Specifically for which VMs are targeted the following variables are used:

External_Start_ResourceGroupNames

External_Stop_ResourceGroupNames

You can see the values of those variables to see which resource groups are targeted.

You can also see the value of this variable:

External_ExcludeVMNames

To see which VMs are excluded from those resource groups.

Mark this reply as answer if it has helped you.


这篇关于自动启动 - 停止 - VM解决方案范围的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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