Azure DSC Extension: What is a "Modular Configurable Configuration Name"

When setting up the Azure DSC extension for a virtual machine on the Azure Portal (ARM), we find the following form. What happens in the selected text field, what module does he ask to indicate? XPSDesiredStateConfiguration module? It didnโ€™t work, and I canโ€™t think of anything else.

The entry must match the regular expression: "^[^\\]+\\[^\\]+$"

Hovering over the information button gives us: "The module that defines the configuration function and the function in the format" Module \ Function ".

DSC Portal Extension Dialog

+7
azure azure-resource-manager dsc azureportal
source share
1 answer

Here you refer to your configuration, so in your DSC file you have something like this in the MyDSC.ps1 file:

 Configuration PythonConf1 { bla-bla-bla } 

And in this field you will need to enter MyDSC.ps1\PythonCOnf1 . Additional information: https://docs.microsoft.com/en-us/azure/virtual-machines/virtual-machines-windows-extensions-dsc-overview#azure-portal-functionality

+6
source share

All Articles