Partager via


MSFT_NetVirtualizationLookupRecordSettingData class

Represents a virtualization policy record, which maps virtual addressees to physical address in the WNV module to implement Hyper-V network virtualization.

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

Syntax

class MSFT_NetVirtualizationLookupRecordSettingData : MSFT_NetSettingData
{
  string  CustomerAddress;
  string  ProviderAddress;
  string  MACAddress;
  uint32  VirtualSubnetID;
  string  CustomerID;
  string  Context;
  uint8   Rule;
  string  VMName;
  boolean UseVmMACAddress;
  uint8   Type;
  boolean Unusable;
  boolean Unsynchronized;
};

Members

The MSFT_NetVirtualizationLookupRecordSettingData class has these types of members:

Properties

The MSFT_NetVirtualizationLookupRecordSettingData class has these properties.

Context

Data type: string

Access type: Read/write

The custom context or comment set by the administrators.

CustomerAddress

Data type: string

Access type: Read-only

The IP address assigned to the customer virtual machine.

CustomerID

Data type: string

Access type: Read/write

The GUID set by the administrators to identify a customer entity that owns the corresponding lookup records and customer route records.

MACAddress

Data type: string

Access type: Read-only

The MAC address corresponding to the CustomerAddress.

ProviderAddress

Data type: string

Access type: Read/write

The IP address corresponding to the CustomerAddress in the physical network.

Rule

Data type: uint8

Access type: Read/write

The virtualization mechanism used by the WNV module to transform packets between CustomerAddress and ProviderAddress defined in this policy record.

TranslationMethodNat (35)

TranslationMethodEncap (36)

TranslationMethodNone ( 37)

Type

Data type: uint8

Access type: Read-only

The type of the address mapping.

Static (35)

Dynamic (36)

GatewayWildcard (37)

L2Only (41)

Unsynchronized

Data type: boolean

Access type: Read-only

Whether this record is not synchronized with the central policy controller.

Unusable

Data type: boolean

Access type: Read-only

Whether this record is not usable for data communication.

UseVmMACAddress

Data type: boolean

Access type: Read/write

Use the virtual machine MAC address defined in this policy record on the packets instead of the MAC address of the physical NIC.

VirtualSubnetID

Data type: uint32

Access type: Read-only

Qualifiers: MaxValue ( 16777215 )

The unique identifier number of the virtual subnet the CustomerAddress belongs to.

VMName

Data type: string

Access type: Read/write

The virtual machine name set by the administrators to identify the VM corresponding to the CustomerAddress.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\StandardCimv2
MOF
NetWNV.mof
DLL
NetWNV.dll

See also

NetWNV Provider Classes