大网数据广告活动
Hyper-V与虚拟化

CIM_AllocationCapabilities class

· 52CE 我爱测

Represents the resource allocation settings of a managed element for a specific resource type.

Represents the resource allocation settings of a managed element for a specific resource type.

Syntax

[Abstract, Version("2.22.0"), UMLPackagePath("CIM::Core::Capabilities"), AMENDMENT]
class CIM_AllocationCapabilities : CIM_Capabilities
{
  uint16 ResourceType;
  string OtherResourceType;
  string ResourceSubType;
  uint16 RequestTypesSupported;
  uint16 SharingMode;
  uint16 SupportedAddStates[];
  uint16 SupportedRemoveStates[];
};

Members

The CIM_AllocationCapabilities class has these types of members:

Properties

The CIM_AllocationCapabilities class has these properties.

OtherResourceType

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_ResourceAllocationSettingData.ResourceType")

The resource type for this allocation setting when the ResourceType property is set to "1" (Other).

RequestTypesSupported

Data type: uint16

Access type: Read-only

Indicates whether requesting a specific resource is supported.

Unknown (0)

Specific (2)

Request can include a request for specific resource.

General (3)

Request does not include specific resource.

Both (4)

Both specific and general requests are supported.

DMTF reserved (..)

Vendor Reserved (0x8000..0xFFFF)

ResourceSubType

Data type: string

Access type: Read-only

A description of an implementation specific sub-type for this resource. For example, this may be used to distinguish different models of the same resource type.

ResourceType

Data type: uint16

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_AllocationCapabilities.OtherResourceType", "CIM_ResourceAllocationSettingData.ResourceType")

The type of resource that is assigned to this allocation setting.

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)

Disk Drive (17)

Tape Drive (18)

Storage Extent (19)

Other Storage Device (20)

Serial port (21)

Parallel port (22)

USB Controller (23)

Graphics controller (24)

IEEE 1394 Controller (25)

Partitionable Unit (26)

Base Partitionable Unit (27)

Power (28)

Cooling Capacity (29)

Ethernet Switch Port (30)

Logical Disk (31)

Storage Volume (32)

Ethernet Connection (33)

DMTF reserved (..)

Vendor Reserved (0x8000..0xFFFF)

SharingMode

Data type: uint16

Access type: Read-only

Indicates how access to the underlying resource is granted.

Actual quantity is controlled by min, max size, weights, etc.

Unknown (0)

Dedicated (2)

Exclusive access to underlying resource.

Shared (3)

Shared use of underlying resource.

DMTF reserved (..)

Vendor Reserved (0x8000..0xFFFF)

SupportedAddStates

Data type: uint16 array

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_EnabledLogicalElement.EnabledState")

The system states that are supported when a new resource is created.

Unknown (0)

Enabled (2)

Disabled (3)

Shutting Down (4)

Not Applicable (5)

Enabled but Offline (6)

In Test (7)

Deferred (8)

Quiesce (9)

Starting (10)

Paused (11)

Suspended (12)

DMTF Reserved (..)

Vendor Reserved (0x8000..0xFFFF)

SupportedRemoveStates

Data type: uint16 array

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_EnabledLogicalElement.EnabledState")

The system states that are supported when a resource is removed.

Unknown (0)

Enabled (2)

Disabled (3)

Shutting Down (4)

Not Applicable (5)

Enabled but Offline (6)

In Test (7)

Deferred (8)

Quiesce (9)

Starting (10)

Paused (11)

Suspended (12)

DMTF Reserved (..)

Vendor Reserved (0x8000..0xFFFF)

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Namespace Root\virtualization\v2
MOF WindowsVirtualization.V2.mof
DLL Vmms.exe

See also

CIM_Capabilities

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。