Share via


WT_LUNMapping class

Represents a mapping of a virtual disk (WT_Disk) to an iSCSI target (WT_Host).

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

Syntax

class WT_LUNMapping
{
  string HostName;
  uint32 WTD;
  uint32 LUN;
};

Members

The WT_LUNMapping class has these types of members:

Properties

The WT_LUNMapping class has these properties.

HostName

Data type: string

Access type: Read/write

Qualifiers: Key

The iSCSI target name.

LUN

Data type: uint32

Access type: Read/write

The virtual disk LUN number.

WTD

Data type: uint32

Access type: Read/write

Qualifiers: Key

The virtual disk's iSCSI disk index.

Remarks

To establish a new LUN mapping, you can create a new instance of this class and save it.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Wmi
MOF
WmiWtProvider.mof
DLL
WtWmiProv.dll