DSCResources/DSC_WindowsEventLog/DSC_WindowsEventLog.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 
[ClassVersion("1.0.0.1"), FriendlyName("WindowsEventLog")]
class DSC_WindowsEventLog : OMI_BaseResource
{
    [Key, Description("Specifies the name of a valid event log")] String LogName;
    [Write, Description("Specifies whether the specified event log should be enabled or disabled")] Boolean IsEnabled;
    [Write, Description("Specifies the maximum size in bytes for the specified event log")] Sint64 MaximumSizeInBytes;
    [Write, Description("Specifies the log mode for the specified event log"), ValueMap{"AutoBackup","Circular","Retain"}, Values{"AutoBackup","Circular","Retain"}] String LogMode;
    [Write, Description("Specifies the SDDL for the specified event log")] String SecurityDescriptor;
    [Write, Description("Specifies the file name and path for the specified event log")] String LogFilePath;
    [Write, Description("Specifies the number of days to retain events when the log mode is AutoBackup")] Sint32 LogRetentionDays;
    [Write, Description("Specifies the name of an event source to register for the specified event log")] String RegisteredSource;
    [Write, Description("Specifies the category resource file for the event source")] String CategoryResourceFile;
    [Write, Description("Specifies the message resource file for the event source")] String MessageResourceFile;
    [Write, Description("Specifies the parameter resource file for the event source")] String ParameterResourceFile;
    [Write, Description("Specifies whether to allow guests to have access to the specified event log")] Boolean RestrictGuestAccess;
};