变量组 [英] Variable groups

查看:71
本文介绍了变量组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用一个Azure自动化帐户来管理多个客户端的DSC配置。对于某些资产变量,值将因客户端而异。我没有看到变量组的选项,那么如何根据客户端管理
以获得一个或多个变量的不同值?

解决方案


这不会在UI中公开,但您可以参数配置并根据输入编译不同的节点配置。这里有一个小例子


https://docs.microsoft.com/en-us/azure/automation/automation-dsc-compile#configurationdata



I need to use a single Azure Automation account to manage DSC configurations for several clients. For some of the asset variables, the values will differ from one client to the next. I do not see an option for variable groups, so how can I manage to have different values for one or more variables based on the client?

解决方案

Hi,

This is not exposed in the UI but you can parametize your configurations and compile different node configurations based on input. Small example is available here

https://docs.microsoft.com/en-us/azure/automation/automation-dsc-compile#configurationdata


这篇关于变量组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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