变量组 [英] Variable groups
问题描述
我需要使用一个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屋!