// Copyright (c) 2013 DMTF. All rights reserved. [Experimental, Version ( "2.43.0" ), UMLPackagePath ( "CIM::Device::Cascading" ), Description ( "This service provides methods for allocating and deallocating " "leaf resources to a System." )] class CIM_AllocationService : CIM_Service { [Experimental, Description ( "Starts a job to allocate remote resources (from the " "RemoteResources collection) to the AllocatedResources " "collection." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096", "4098..32767", "32768..65535" }, Values { "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" }] uint32 Allocate( [IN, Description ( "Enumeration indicating the type of element being " "allocated. This type value must match the type of " "the instances." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8" }, Values { "Unknown", "Reserved", "Any Type", "StorageVolume", "StorageExtent", "StoragePool", "ComputerSystem", "LogicalDisk", "FileShare" }] uint16 ElementType, [IN ( false ), OUT, Description ( "Reference to the job (may be null if job completed)." )] CIM_ConcreteJob REF Job, [IN, Description ( "The reference to the AllocatedResource collection " "to which Elements are being added." )] CIM_AllocatedResources REF Collection, [IN, Description ( "Array of strings containing representations of " "references to CIM_ManagedElement instances, that " "are being allocated to the AllocatedResources " "Collection." )] string InElements[]); [Experimental, Description ( "Starts a job to remove remote resources (from the " "AllocatedResources collection) and return them to the " "RemoteResources collection." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096", "4098..32767", "32768..65535" }, Values { "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" }] uint32 Deallocate( [IN, Description ( "Enumeration indicating the type of element being " "deallocated. This type value must match the type " "of the instances." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8" }, Values { "Unknown", "Reserved", "Any Type", "StorageVolume", "StorageExtent", "StoragePool", "ComputerSystem", "LogicalDisk", "FileShare" }] uint16 ElementType, [IN ( false ), OUT, Description ( "Reference to the job (may be null if job completed)." )] CIM_ConcreteJob REF Job, [IN, Description ( "The reference to the AllocatedResource collection " "from which Elements are being removed." )] CIM_AllocatedResources REF Collection, [IN, Description ( "Array of strings containing representations of " "references to CIM_ManagedElement instances, that " "are being deallocated from the AllocatedResources " "Collection." )] string InElements[]); };