DSCResources/MSFT_SPHealthAnalyzerRuleState/MSFT_SPHealthAnalyzerRuleState.schema.mof

[ClassVersion("1.0.0.0"), FriendlyName("SPHealthAnalyzerRuleState")]
class MSFT_SPHealthAnalyzerRuleState : OMI_BaseResource
{
    [Key, Description("The name of the rule exactly as it appears in central admin")] String Name;
    [Required, Description("Should the rule be enabled?")] Boolean Enabled;
    [Write, Description("What is the scope of this rule"), ValueMap{"All Servers","Any Server"}, Values{"All Servers","Any Server"}] String RuleScope;
    [Write, Description("How often should the rule check"), ValueMap{"Hourly","Daily","Weekly","Monthly","OnDemandOnly"}, Values{"Hourly","Daily","Weekly","Monthly","OnDemandOnly"}] String Schedule;
    [Write, Description("Should the rule fix itself automatically")] Boolean FixAutomatically;
};