// Copyright (c) 2013 DMTF. All rights reserved. [Experimental, Version ( "2.42.0" ), UMLPackagePath ( "CIM::Device::Tape" ), Description ( "This service allows the active management of a Virtual Tape " "Library System for the creation, modification, and deletion of " "Virtual Tapes." )] class CIM_VirtualTapeService : CIM_Service { [Experimental, Description ( "Create one or more Virtual Tapes. If the operation " "completes successfully, it will return 0. This method " "MUST return a CIM_Error representing that a single named " "property of a setting reference parameter has an invalid " "value or that an invalid combination of named properties " "of a setting (or other) parameter (either reference or " "embedded object) has been requested. \n" "The parameter TheTape will contain a Reference to the " "virtual PhysicalTape if this operation completed " "successfully. \n" "The desired settings for the Tape are specified by the " "TapeSetting reference parameter." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "..", "4098..32767", "32768..65535" }, Values { "No Error", "No Space", "No Library", "No Slots", "Not Supported", "Unknown", "Timeout", "Failed", "Invalid Parameter", "DMTF Reserved", "Method Reserved", "Vendor Specific" }] uint32 CreateTapeFromPool( [Description ( "Storage pool form which space for the Tape media " "is to be allocated from." )] CIM_StoragePool REF Pool, [Description ( "The requirements for the VirtualTape element to " "maintain. This is a reference to a " "CIM_VirtualTapeSettingData or a derived class " "instance parameter; this allows the client to " "specify the properties desired for the virtual " "tape. When the Tape is created successfully, this " "setting object is attached to the PhysicalTape " "objects." )] CIM_VirtualTapeSettingData REF TapeSetting, [Description ( "The owning Virtual TapeLibrary for the new virtual tapes." )] CIM_ComputerSystem REF VirtualLibrary, [Description ( "The new tapes will be placed in empty slots that " "are equal to or higher than this given slot " "number. This number can be zero indicating that " "the new tapes can be placed in any emptry slots." )] uint32 StartingSlot, [Description ( "Number of virtual tapes to create." )] uint32 Count, [IN ( false ), OUT, Description ( "An array of newly created virtual PhysicalTape objects." )] CIM_PhysicalTape REF NewTape[]); [Experimental, Description ( "Delete a virtual PhysicalTape and return space to the " "source storage pool. If the method completed " "successfully it will return 0." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "..", "4096..32767", "32768.." }, Values { "Job Completed with No Error", "No Such Tape", "Not Supported", "Unknown", "Timeout", "Failed, Unspecified Reasons", "Invalid Parameter", "Tape in use, Failed", "DMTF Reserved", "Method Reserved", "Vendor Specific" }] uint32 DeleteTape( [Description ( "A reference to the virtual PhysicalTape to be deleted." )] CIM_PhysicalTape REF TheTape); [Experimental, Description ( "Move virtual PhysicalTape media from one slot to " "another. The destination can be a slot number of a vault " "where the tape is moved to a virtual vault with no " "access to a host. The destination can also be a " "Input/Output port of the virtual TapeLibrary in which " "case the virtual tape will be exported to a physical " "media." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "..", "4096..32767", "32768.." }, Values { "Job Completed with No Error", "No Such Tape", "Not Supported", "Unknown", "Timeout", "Failed, Unspecified Reasons", "Invalid Parameter", "Tape in use, Failed", "DMTF Reserved", "Method Reserved", "Vendor Specific" }] uint32 MoveMedia( [Description ( "A reference to the slot containing the media to be moved." )] CIM_StorageMediaLocation REF Source, [Description ( "A reference to the destination slot." )] CIM_StorageMediaLocation REF Destination); };