Summary of the new feature / enhancement
Some properties passed to a resource are instructions rather than properties informing state. In the WindowsFirewallRules resource, the unspecifiedRule is an example. Since it's not canonical, the engine doesn't know anything about it and during synthetic test it will compare the input and output such that when this property is used, it will fail the comparison since the default ignore is also unspecified.
Proposed technical implementation details (optional)
Add support for x-instruction to JSONSchema which will inform the DSC engine to not compare that particular property.
Summary of the new feature / enhancement
Some properties passed to a resource are instructions rather than properties informing state. In the WindowsFirewallRules resource, the
unspecifiedRuleis an example. Since it's not canonical, the engine doesn't know anything about it and during synthetic test it will compare the input and output such that when this property is used, it will fail the comparison since the defaultignoreis also unspecified.Proposed technical implementation details (optional)
Add support for
x-instructionto JSONSchema which will inform the DSC engine to not compare that particular property.