DSCResources/cFirewallRule/cFirewallRule.schema.mof

 
[ClassVersion("1.0.0.0"), FriendlyName("cFirewallRule")]
class cFirewallRule : OMI_BaseResource
{
    [Key] String Name;
    [Write, ValueMap{"Allow","Block"}, Values{"Allow","Block"}] String Action;
    [Write] String Description;
    [Write, ValueMap{"Inbound","Outbound"}, Values{"Inbound","Outbound"}] String Direction;
    [Write] Boolean Enabled;
    [Write, ValueMap{"Absent","Present"}, Values{"Absent","Present"}] String Ensure;
    [Write] String Group;
    [Write] String LocalAddress[];
    [Write] String LocalPort[];
    [Write] String Profile[];
    [Write] String Program;
    [Write] String Protocol;
    [Write] String RemoteAddress[];
    [Write] String RemotePort[];
    [Write] String Service;
};