DscResources/ChocolateySource/ChocolateySource.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 
[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;
};