MDM_Firewall_FirewallRules02_01 class

The MDM_Firewall_FirewallRules02_01 class is used to configure the Windows Defender Firewall settings.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

[InPartition("local-system"), dynamic, provider("DMWmiBridgeProv1")]
class MDM_Firewall_FirewallRules02_01
{
  string  InstanceID;
  string  ParentID;
  sint32  Protocol;
  string  LocalPortRanges;
  string  RemotePortRanges;
  string  LocalAddressRanges;
  string  RemoteAddressRanges;
  string  Description;
  boolean Enabled;
  sint32  Profiles;
  string  Direction;
  string  InterfaceTypes;
  string  IcmpTypesAndCodes;
  boolean EdgeTraversal;
  string  LocalUserAuthorizedList;
  string  Status;
  string  FriendlyName;
  string  Name;
};

Members

The MDM_Firewall_FirewallRules02_01 class has these types of members:

Properties

The MDM_Firewall_FirewallRules02_01 class has these properties.

Description

Data type: string

Access type: Read/write

Direction

Data type: string

Access type: Read/write

EdgeTraversal

Data type: boolean

Access type: Read/write

Enabled

Data type: boolean

Access type: Read/write

FriendlyName

Data type: string

Access type: Read/write

TBD

IcmpTypesAndCodes

Data type: string

Access type: Read/write

TBD

InstanceID

Data type: string

Access type: Read-only

Qualifiers: key

InterfaceTypes

Data type: string

Access type: Read/write

LocalAddressRanges

Data type: string

Access type: Read/write

LocalPortRanges

Data type: string

Access type: Read/write

LocalUserAuthorizedList

Data type: string

Access type: Read/write

Name

Data type: string

Access type: Read/write

ParentID

Data type: string

Access type: Read-only

Qualifiers: key

Profiles

Data type: sint32

Access type: Read/write

Protocol

Data type: sint32

Access type: Read/write

RemoteAddressRanges

Data type: string

Access type: Read/write

RemotePortRanges

Data type: string

Access type: Read/write

Status

Data type: string

Access type: Read/write

Requirements

Requirement Value
Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
None supported
Namespace
Root\cimv2\mdm\dmmap
MOF
DMWmiBridgeProv1.mof
DLL
DMWmiBridgeProv.dll