# Class CIM_AllocationService
extends CIM_Service

This service provides methods for allocating and deallocating leaf resources to a System.

### Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods

## Class Hierarchy

CIM_ManagedElement
|
+--CIM_ManagedSystemElement
|
+--CIM_LogicalElement
|
+--CIM_EnabledLogicalElement
|
+--CIM_Service
|
+--CIM_AllocationService

## Direct Known Subclasses

## Class Qualifiers

Name | Data Type | Value
--- | --- | ---
Description | string | This service provides methods for allocating and deallocating leaf resources to a System.
Experimental | boolean | true
UMLPackagePath | string | CIM::Device::Cascading
Version | string | 2.43.0

## Class Properties

### Inherited Properties

Name | Data Type | Class Origin
--- | --- | ---
Caption | string | CIM_ManagedElement
CommunicationStatus | uint16 | CIM_ManagedSystemElement
CreationClassName | string | CIM_Service
Description | string | CIM_ManagedElement
DetailedStatus | uint16 | CIM_ManagedSystemElement
ElementName | string | CIM_ManagedElement
EnabledDefault | uint16 | CIM_EnabledLogicalElement
EnabledState | uint16 | CIM_EnabledLogicalElement
Generation | uint64 | CIM_ManagedElement
HealthState | uint16 | CIM_ManagedSystemElement
InstallDate | datetime | CIM_ManagedSystemElement
InstanceID | string | CIM_ManagedElement
LoSID | string | CIM_Service
LoSOrgID | string | CIM_Service
Name | string | CIM_Service
OperatingStatus | uint16 | CIM_ManagedSystemElement
OtherEnabledState | string | CIM_EnabledLogicalElement
PrimaryOwnerContact | string | CIM_Service
PrimaryOwnerName | string | CIM_Service
PrimaryStatus | uint16 | CIM_ManagedSystemElement
RequestedState | uint16 | CIM_EnabledLogicalElement
Started | boolean | CIM_Service
StartMode | string | CIM_Service
Status | string | CIM_ManagedSystemElement
SystemCreationClassName | string | CIM_Service
SystemName | string | CIM_Service
TimeOfLastStateChange | datetime | CIM_EnabledLogicalElement
TransitioningToState | uint16 | CIM_EnabledLogicalElement
AvailableRequestedStates | uint16[] | CIM_EnabledLogicalElement
OperationalStatus | uint16[] | CIM_ManagedSystemElement
StatusDescriptions | string[] | CIM_ManagedSystemElement

## Class Methods

### Local Class Methods

#### Allocate (uint32)

#### Method Qualifiers (Allocate)

Name | Data Type | Value
--- | --- | ---
Description | string | Starts a job to allocate remote resources (from the RemoteResources collection) to the AllocatedResources collection.
Experimental | boolean | true
ValueMap | string | 0, 1, 2, 3, 4, 5, 6, .., 4096, 4098..32767, 32768..65535
Values | string | Job Completed with No Error, Not Supported, Unknown, Timeout, Failed, Invalid Parameter, In Use, DMTF Reserved, Method Parameters Checked - Job Started, Method Reserved, Vendor Specific

#### Method Parameters (Allocate)

Name | Type | Qualifiers
--- | --- | ---
Name | Data Type | Value
ElementType | uint16
Description | string | Enumeration indicating the type of element being allocated. This type value must match the type of the instances.
IN | boolean | true
ValueMap | string | 0, 1, 2, 3, 4, 5, 6, 7, 8
Values | string | Unknown, Reserved, Any Type, StorageVolume, StorageExtent, StoragePool, ComputerSystem, LogicalDisk, FileShare
InElements | string[]
Description | string | Array of strings containing representations of references to CIM_ManagedElement instances, that are being allocated to the AllocatedResources Collection.
IN | boolean | true
Collection | REF CIM_AllocatedResources
Description | string | The reference to the AllocatedResource collection to which Elements are being added.
IN | boolean | true
Job | REF CIM_ConcreteJob
Description | string | Reference to the job (may be null if job completed).
IN | boolean | false
OUT | boolean | true

#### Deallocate (uint32)

#### Method Qualifiers (Deallocate)

Name | Data Type | Value
--- | --- | ---
Description | string | Starts a job to remove remote resources (from the AllocatedResources collection) and return them to the RemoteResources collection.
Experimental | boolean | true
ValueMap | string | 0, 1, 2, 3, 4, 5, 6, .., 4096, 4098..32767, 32768..65535
Values | string | Job Completed with No Error, Not Supported, Unknown, Timeout, Failed, Invalid Parameter, In Use, DMTF Reserved, Method Parameters Checked - Job Started, Method Reserved, Vendor Specific

#### Method Parameters (Deallocate)

Name | Type | Qualifiers
--- | --- | ---
Name | Data Type | Value
ElementType | uint16
Description | string | Enumeration indicating the type of element being deallocated. This type value must match the type of the instances.
IN | boolean | true
ValueMap | string | 0, 1, 2, 3, 4, 5, 6, 7, 8
Values | string | Unknown, Reserved, Any Type, StorageVolume, StorageExtent, StoragePool, ComputerSystem, LogicalDisk, FileShare
InElements | string[]
Description | string | Array of strings containing representations of references to CIM_ManagedElement instances, that are being deallocated from the AllocatedResources Collection.
IN | boolean | true
Collection | REF CIM_AllocatedResources
Description | string | The reference to the AllocatedResource collection from which Elements are being removed.
IN | boolean | true
Job | REF CIM_ConcreteJob
Description | string | Reference to the job (may be null if job completed).
IN | boolean | false
OUT | boolean | true

### Inherited Class Methods

Name | Return Type | Class Origin
--- | --- | ---
ChangeAffectedElementsAssignedSequence | uint32 | CIM_Service
RequestStateChange | uint32 | CIM_EnabledLogicalElement
StartService | uint32 | CIM_Service
StopService | uint32 | CIM_Service