Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure DSC Extension: What is "Module-qualified Name of Configuration"

While setting up an Azure DSC Extension for a VM in the Azure Portal (ARM) we find the form below. What goes in the highlighted text-field, what module is it asking me to specify? The xPSDesiredStateConfiguration module? That didn't work and I can't think of any other.

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

Hovering over the info button gives us: "Module defining the Configuration Function, and the Function in the format 'Module\Function'".

Portal DSC Extension Dialog

like image 437
AllTradesJack Avatar asked Dec 29 '16 17:12

AllTradesJack


1 Answers

This is where you reference your configuration, so in your DSC file you have something like this in the file named MyDSC.ps1:

Configuration PythonConf1
{   
    bla-bla-bla
}

And in that box you would have to input MyDSC.ps1\PythonCOnf1. More information: https://docs.microsoft.com/en-us/azure/virtual-machines/virtual-machines-windows-extensions-dsc-overview#azure-portal-functionality

like image 168
4c74356b41 Avatar answered Oct 13 '22 00:10

4c74356b41