CIM_AllocationCapabilities class
Extends the CIM_Capabilities class for the purposes of expressing the resource allocation capabilities of the associated managed element for the allocation of a specific resource type. This class also describes the type of resource allocation: shared or exclusive, supported.
Important The DMTF (Distributed Management Task Force) CIM (Common Information Model) classes are the parent classes upon which WMI classes are built. WMI currently supports only the CIM 2.x version schemas.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Syntax
class CIM_AllocationCapabilities : CIM_Capabilities
{
string ElementName;
string InstanceID;
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
Properties
The CIM_AllocationCapabilities class has these properties.
ElementName
Data type: string
Access type: Read-only
The display name for this instance of Capabilities. In addition, the display name can be used as a index property for a search of query. (Note: Name does not have to be unique within a namespace.)
InstanceID
Data type: string
Access type: Read-only
Qualifiers: Key
Within the scope of the instantiating Namespace, InstanceID opaquely and uniquely identifies an instance of this class. In order to ensure uniqueness within the NameSpace, the value of InstanceID should be constructed using the following 'preferred' algorithm: OrgID:LocalID Where OrgID and LocalID are separated by a colon (:), and where OrgID must include a copyrighted, trademarked, or otherwise unique name that is owned by the business entity that creates or defines the InstanceID, or is a registered ID that is assigned to the business entity by a recognized global authority; This is similar to the SchemaName_ClassName structure of Schema class names. In addition, to ensure uniqueness OrgID must not contain a colon (:). When using this algorithm, the first colon to appear in InstanceID must appear between OrgID and LocalID. LocalID is chosen by the business entity and should not be reused to identify different underlying (real-world) elements. If the above 'preferred' algorithm is not used, the defining entity must ensure that the resultant InstanceID is not reused across any InstanceIDs produced by this or other providers for this instance NameSpace. For DMTF defined instances, the 'preferred' algorithm must be used with the OrgID set to 'CIM'.
OtherResourceType
Data type: string
Access type: Read-only
A string that describes the resource type when a well defined value is not available and ResourceType has the value "Other".
RequestTypesSupported
Data type: uint16
Access type: Read-only
Indicates whether requesting a specific resource is supported.
Value | Meaning |
---|---|
Unknown 0 | Unknown. |
Specific 1 | The request can include a request for specific resource. |
General 2 | The request does not include specific resource. |
Both 3 | Both specific and general are supported. |
DMTF reserved 4..65535 | Reserved. |
ResourceSubType
Data type: string
Access type: Read-only
A string that describes an implementation specific subtype 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
The type of resource this allocation setting represents.
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/DVD drive (15)
Serial port (16)
Parallel port (17)
USB Controller (18)
Graphics controller (19)
Disk (20)
Tape (21)
Other storage device (22)
Firewire Controller (23)
Partitionable Unit (24)
Base Partitionable Unit (25)
Power Supply (26)
Cooling Device (27)
DMTF reserved (..)
Vendor Reserved (32767..65535)
SharingMode
Data type: uint16
Access type: Read-only
Indicates how access to underlying resource is granted. The Actual quantity is controlled by min, max size, weights, and so forth.
Value | Meaning |
---|---|
Unknown 0 | Unknown. |
Dedicated 1 | Exclusive access to underlying resource. |
Shared 2 | Shared use of underlying resource. |
DMTF reserved 3..65535 | Reserved. |
SupportedAddStates
Data type: uint16 array
Access type: Read-only
Indicates the system states that support the addition of this resource.
Unknown (0)
Other (1)
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 (13..32767)
Vendor Reserved (32768..65535)
SupportedRemoveStates
Data type: uint16 array
Access type: Read-only
Indicates the system states that support the removal of this resource.
Unknown (0)
Other (1)
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 (13..32767)
Vendor Reserved (32768..65535)
Requirements
Namespace |
Root\CIMV2 |