다음을 통해 공유


Msvm_ResourceTypeDefinition class

Defines a mapping of a resource type to its implementation classes.

The following syntax is simplified Managed Object Format (MOF) code.

Syntax

[AMENDMENT]
class Msvm_ResourceTypeDefinition
{
  uint16 ResourceType;
  string OtherResourceType = "";
  string ResourceSubType = "";
  string LogicalDeviceClassName;
  string SettingDataClassName;
};

Members

The Msvm_ResourceTypeDefinition class has these types of members:

Properties

The Msvm_ResourceTypeDefinition class has these properties.

LogicalDeviceClassName

Data type: string

Access type: Read-only

The name of the class derived from CIM_LogicalDevice that implements the logical device for this resource type.

OtherResourceType

Data type: string

Access type: Read-only

Qualifiers: Key, ModelCorrespondence ("CIM_ResourceAllocationSettingData.OtherResourceType")

A string that describes the resource type when a well-defined value is not available and ResourceType has the value 1 (Other). There is a correspondence with the OtherResourceType property of CIM_ResourceAllocationSettingData.

ResourceSubType

Data type: string

Access type: Read-only

Qualifiers: Key, ModelCorrespondence ("CIM_ResourceAllocationSettingData.ResourceSubType")

A string that describes an implementation specific sub-type for this resource. For example, this may be used to distinguish different models of the same resource type. There is a correspondence with the ResourceSubType property of CIM_ResourceAllocationSettingData.

ResourceType

Data type: uint16

Access type: Read-only

Qualifiers: Key, ModelCorrespondence ("CIM_ResourceAllocationSettingData.ResourceType")

The type of resource this allocation setting represents. There is a correspondence with the ResourceType property of CIM_ResourceAllocationSettingData.

Other (1)

Computer System (2)

Processor (3)

Memory (4)

IDE Controller (5)

Parallel SCSI HBA (6)

FC HBA (7)

iSCSI HBA (8)

IB HCA (9)

Ethernet Adapter (10)

Other Network Adapter (11)

I/O Slot (12)

I/O Device (13)

Floppy Drive (14)

CD Drive (15)

DVD drive (16)

Serial port (17)

Parallel port (18)

USB Controller (19)

Graphics controller (20)

Storage Extent (21)

Disk (22)

Tape (23)

Other storage device (24)

Firewire Controller (25)

Partitionable Unit (26)

Base Partitionable Unit (27)

Power Supply (28)

Cooling Device (29)

DMTF reserved (30 32767)

Vendor Reserved (32768 65535)

SettingDataClassName

Data type: string

Access type: Read-only

The name of the class derived from CIM_ResourceAllocationSettingData that implements the settings for this resource type.

Remarks

Access to the Msvm_ResourceTypeDefinition class might be restricted by UAC Filtering. For more information, see User Account Control and WMI.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
End of client support
None supported
End of server support
Windows Server 2012 R2
Namespace
Root\Virtualization
MOF
WindowsVirtualization.mof

See also

Profile Registration Classes