MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.13k stars 21.22k forks source link

Example required for use of configurationParameter in Guest Configuration Policy Assignment #123362

Open pecjag opened 1 month ago

pecjag commented 1 month ago

It's not clear how to use "configurationParameter" within a Guest Configuration Policy assignment to override DSC parameters:

"metadata": { "category": "Guest Configuration", "guestConfiguration": { "name": "test", "version": "1.0.0", "contentType": "Custom", "contentUri": "CUSTOM-URI-HERE", "contentHash": "CUSTOM-HASH-VALUE-HERE", "configurationParameter": {} }

For example, a DSC package that sets the system-locale, and takes a parameter of "Region", or a Tag value to apply the necessary setting. What syntax is required in the configurationParameter block and how does that need to match with the DSC package parameters in order to tie these together?

Could we have an example of this please?


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

TPavanBalaji commented 1 month ago

@pecjag Thank you for bringing this to our attention. I've delegated this to content author, who will review it and offer their insightful opinions.