Skip to content

Commit

Permalink
Merge pull request #4 from tysonjhayes/validation-fixes
Browse files Browse the repository at this point in the history
xNetworking Validation fixes
  • Loading branch information
TravisEz13 committed May 27, 2015
2 parents 5112ee4 + b9b9a93 commit 28c7645
Show file tree
Hide file tree
Showing 7 changed files with 168 additions and 120 deletions.
4 changes: 2 additions & 2 deletions DSCResources/MSFT_xFirewall/MSFT_xFirewall.Schema.mof
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[ClassVersion("1.0.0"), FriendlyName("xFirewall")]
[ClassVersion("1.0.0"), FriendlyName("xFirewall")]
class MSFT_xFirewall : OMI_BaseResource
{
[Key, Description("Name of the Firewall Rule")] String Name;
Expand All @@ -7,7 +7,7 @@ class MSFT_xFirewall : OMI_BaseResource
[Write, Description("Ensure the presence/absence of the resource"), ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] String Ensure;
[Required, Description("Permit or Block the supplied configuration"), ValueMap{"NotConfigured", "Allow", "Block"},Values{"NotConfigured", "Allow", "Block"}] String Access;
[Write, Description("Enable or disable the supplied configuration"), ValueMap{"Enabled", "Disabled"},Values{"Enabled", "Disabled"}] string State;
[Write, Description("Specifies one or more profiles to which the rule is assigned"), ValueMap{"Any", "Public", "Private", "Domain"},Values{"Any", "Public", "Private", "Domain"}] String Profile[];
[Write, Description("Specifies one or more profiles to which the rule is assigned")] String Profile[];
[Write, Description("Direction of the connection"), ValueMap{"Inbound","Outbound"},values{"Inbound","Outbound"}] String Direction;
[Write, Description("Specific Port used for filter. Specified by port number, range, or keyword")] String RemotePort[];
[Write, Description("Local Port used for the filter")] String LocalPort[];
Expand Down
Loading

0 comments on commit 28c7645

Please sign in to comment.