CIM_ResourceAllocationSettingData class

Represents settings for an allocated resource that are outside the scope of the CIM class typically used to represent the resource itself. These settings include information specific to the allocation that may not be visible to the consumer of the resource.

Syntax

[Abstract, Version("2.24.0"), UMLPackagePath("CIM::Core::Resource"), AMENDMENT]
class CIM_ResourceAllocationSettingData : CIM_SettingData
{
  uint16  ResourceType;
  string  OtherResourceType;
  string  ResourceSubType;
  string  PoolID;
  uint16  ConsumerVisibility;
  string  HostResource[];
  string  AllocationUnits;
  uint64  VirtualQuantity;
  uint64  Reservation;
  uint64  Limit;
  uint32  Weight;
  boolean AutomaticAllocation;
  boolean AutomaticDeallocation;
  string  Parent;
  string  Connection[];
  string  Address;
  uint16  MappingBehavior;
  string  AddressOnParent;
  string  VirtualQuantityUnits = "count";
};

Members

The CIM_ResourceAllocationSettingData class has these types of members:

Properties

The CIM_ResourceAllocationSettingData class has these properties.

Address

Data type: string

Access type: Read-only

The address of the resource, for example, the MAC address of a Ethernet port.

AddressOnParent

Data type: string

Access type: Read-only

The address of this resource from the context of the parent. This property is used to describe a controller relationship and the ordering of devices on a controller. For example, if the parent is a PCI Controller, this property would specify the PCI slot of this child device.

AllocationUnits

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_ResourceAllocationSettingData.Reservation", "CIM_ResourceAllocationSettingData.Limit"), IsPUnit

The allocation units used by the Reservation and Limit properties.

AutomaticAllocation

Data type: boolean

Access type: Read-only

true to automatically allocate the resource; otherwise, false.

AutomaticDeallocation

Data type: boolean

Access type: Read-only

true to automatically deallocate the resource; otherwise, false.

Connection

Data type: string array

Access type: Read-only

An array that indicates the objects connected to the resource, such as a named network or switch port.

ConsumerVisibility

Data type: uint16

Access type: Read-only

The consumers visibility to the allocated resource.

Unknown (0)

Passed-Through (2)

Virtualized (3)

Not represented (4)

DMTF reserved (..)

Vendor Reserved (32767..65535)

HostResource

Data type: string array

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_ResourceAllocationSettingData.ConsumerVisibility", "CIM_ResourceAllocationSettingData.MappingBehavior")

An array that contains the assignment of the allocated resources. Each non-null value of this property must be formated as an RFC3986 based URI. If the resource is modeled, then the value should be a WBEM URI.

Limit

Data type: uint64

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_ResourceAllocationSettingData.AllocationUnits")

The maximum amount of resource to grant to the allocation. The unit type of this property is specified by the AllocationUnits property.

MappingBehavior

Data type: uint16

Access type: Read-only

Indicates how the resource maps to underlying resources.

Unknown (0)

Not Supported (2)

Dedicated (3)

Soft Affinity (4)

Hard Affinity (5)

DMTF Reserved (..)

Vendor Reserved (32767..65535)

OtherResourceType

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_ResourceAllocationSettingData.ResourceType")

A description of the resource type when the ResourceType property is set to 1 (other).

Parent

Data type: string

Access type: Read-only

The parent of the resource, for example, a controller for the current allocation.

PoolID

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_ResourcePool.PoolId")

The ID of the resource pool that generated the resource.

Reservation

Data type: uint64

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_ResourceAllocationSettingData.AllocationUnits")

The number of resource that are guaranteed to be available for this allocation. On systems that support over-commitment of resources, this value is typically used for admission control.

The unit type of this property is specified by the AllocationUnits property.

ResourceSubType

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_ResourceAllocationSettingData.ResourceType")

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_ResourceAllocationSettingData.OtherResourceType", "CIM_ResourceAllocationSettingData.ResourceSubType")

The type of resource that is represented by the allocation settings.

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)

VirtualQuantity

Data type: uint64

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_ResourceAllocationSettingData.VirtualQuantityUnits")

The number of resources presented to the consumer of the resource.

VirtualQuantityUnits

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_ResourceAllocationSettingData.VirtualQuantity"), IsPUnit

The units used by the VirtualQuantity property.

Weight

Data type: uint32

Access type: Read-only

The relative priority for this allocation in relation to other allocations from the same resource pool.

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_SettingData