Msvm_EthernetSwitchPortAclSettingData class

Represents the access control list (ACL) for switch port settings.

The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.

Syntax

[Dynamic, UUID("998BEF4A-5D55-492A-9C43-8B2F5EAE9F2B"), ExtensionId("11EC6134-128A-4A23-B12F-164184B48348"), Provider("VmmsWmiInstanceAndMethodProvider"), InterfaceVersion("1"), InterfaceRevision("0"), DisplayName("Ethernet Switch Port ACL Settings"), AMENDMENT]
class Msvm_EthernetSwitchPortAclSettingData : Msvm_EthernetSwitchPortFeatureSettingData
{
  string InstanceID;
  string Caption = "Ethernet Switch Port ACL Settings";
  string Description = "Represents the base class for switch port settings.";
  string ElementName = "Ethernet Switch Port ACL Settings";
  string Name = "";
  uint8  Direction = 0;
  uint8  Applicability = 0;
  uint8  AclType = 0;
  uint8  Action = 0;
  string LocalAddress = "";
  uint8  LocalAddressPrefixLength = 0;
  string RemoteAddress = length = 0;
  uint8  RemoteAddressPrefixLength = 0;
};

Members

The Msvm_EthernetSwitchPortAclSettingData class has these types of members:

Properties

The Msvm_EthernetSwitchPortAclSettingData class has these properties.

AclType

Data type: uint8

Access type: Read/write

Qualifiers: WmiDataId (4), InterfaceVersion (1), InterfaceRevision (0)

This indicates the type of ACL endpoint.

Unknown (0)

MAC Acl (1)

IPv4 Acl (2)

IPv6 Acl (3)

Action

Data type: uint8

Access type: Read/write

Qualifiers: WmiDataId (5), InterfaceVersion (1), InterfaceRevision (0)

This indicates the action of the ACL.

Unknown (0)

Allow (1)

Deny (2)

Meter (3)

Applicability

Data type: uint8

Access type: Read/write

Qualifiers: WmiDataId (3), InterfaceVersion (1), InterfaceRevision (0)

This indicates whether the ACL applies to the local or remote endpoint.

Unknown (0)

Local (1)

Remote (2)

Caption

Data type: string

Access type: Read-only

A short description of the object. This property is inherited from CIM_ManagedElement, and it is always set to "Ethernet Switch Port ACL Settings".

Description

Data type: string

Access type: Read-only

A description of the object. This property is inherited from CIM_ManagedElement, and it is always set to "Represents the base class for switch port settings.".

Direction

Data type: uint8

Access type: Read/write

Qualifiers: WmiDataId (2), InterfaceVersion (1), InterfaceRevision (0)

This indicates whether the ACL applies to ingress or egress direction.

Unknown (0)

Incoming (1)

Outgoing (2)

ElementName

Data type: string

Access type: Read-only

A display name for the object. This property is inherited from CIM_ManagedElement, and it is always set to "Ethernet Switch Port ACL Settings".

InstanceID

Data type: string

Access type: Read-only

Qualifiers: Key

Uniquely identifies an instance of this class. This property is inherited from CIM_ManagedElement.

LocalAddress

Data type: string

Access type: Read/write

Qualifiers: MaxLen (40), WmiDataId (6), InterfaceVersion (1), InterfaceRevision (0)

The local address of the virtual machine. This can be an IPv4, IPv6, or a MAC address.

LocalAddressPrefixLength

Data type: uint8

Access type: Read/write

Qualifiers: WmiDataId (7), InterfaceVersion (1), InterfaceRevision (0)

The local address prefix length.

Name

Data type: string

Access type: Read/write

Qualifiers: MaxLen (64), WmiDataId (1), InterfaceVersion (1), InterfaceRevision (0)

The display name of the ACL.

RemoteAddress

Data type: string

Access type: Read/write

Qualifiers: MaxLen (40), WmiDataId (8), InterfaceVersion (1), InterfaceRevision (0)

The remote address of the virtual machine. This can be IPv4, IPv6, or a MAC address.

RemoteAddressPrefixLength

Data type: uint8

Access type: Read/write

Qualifiers: WmiDataId (9), InterfaceVersion (1), InterfaceRevision (0)

The remote address prefix length.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Namespace
Root\Virtualization\V2
MOF
WindowsVirtualization.V2.mof
DLL
Vmms.exe