DscResources/ChocolateySource/ChocolateySource.schema.mof

 
[ClassVersion("1.0.0.0"), FriendlyName("ChocolateySource")]
class ChocolateySource : OMI_BaseResource
{
    [Required, Description("Specifies whether the Chocolatey Software should be installed on the machine or not."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
    [Key, Description("Folder path where the Chocolatey Software should be installed.")] String Name;
    [Write] String Source;
    [Write] SInt16 Priority;
    [Write] boolean Disabled;
    [Write] boolean BypassProxy;
    [Write] boolean SelfService;
    [Write, EmbeddedInstance("MSFT_Credential")] String Credential;
};