⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cim_storageconfigurationservice.mof

📁 Pegasus is an open-source implementationof the DMTF CIM and WBEM standards. It is designed to be por
💻 MOF
📖 第 1 页 / 共 2 页
字号:
// Copyright (c) 2005 DMTF.  All rights reserved.// <change cr="CIMCore00686" type = "change"> New methods to manage// remote replication. </change>// <change cr="SysDev00685" type = "change"> Changes for Background// Copy feature </change>// <change cr="SysDevCR00796.002" type ="change">Remove Experimental// qualifier from the method// CreateOrModifyElementFromElements().</change>// <change cr="ArchCR00066.004" type="add">Add UmlPackagePath// qualifier values to CIM Schema.</change>// <change cr="CIMCoreCR00823" type ="change">Remove Required// qualifier on the Goal parameter of the// CreateOrModifyElementFromElements method.</change>// ==================================================================//  CIM_StorageConfigurationService// ==================================================================   [UMLPackagePath ( "CIM::Device::StorageServices" ),       Version ( "2.11.0" ), Description (       "This service allows the active management of a Storage Server. "       "It allows jobs to be started for the creation, modification "       "and deletion of storage objects (StoragePools, StorageVolumes "       "and LogicalDisks).")]class CIM_StorageConfigurationService : CIM_Service {      [Description (          "Starts a job to create (or modify) a StoragePool. The "          "StoragePool will be (or must be) scoped to the same System "          "as this Service. One of the parameters for this method is "          "Size. As an input parameter, Size specifies the desired "          "size of the pool. As an output parameter, it specifies the "          "size achieved. Space is taken from either or both of the "          "specified input StoragePools and StorageExtents (InPools "          "and InExtents). The capability requirements that the Pool "          "must support are defined using the Goal parameter. If the "          "requested pool size cannot be created, no action will be "          "taken, the Return Value will be 4097/0x1001, and the output "          "value of Size will be set to the nearest possible size. If "          "0 is returned, then the task completed successfully and the "          "use of ConcreteJob was not required. If the task will take "          "some time to complete, a ConcreteJob will be created and "          "its reference returned in the output parameter Job."),        ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096",          "4097", "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",          "Size Not Supported", "Method Reserved", "Vendor Specific" }]   uint32 CreateOrModifyStoragePool (          [IN, Description (             "A end user relevant name for the pool being created. If "             "NULL, then a system supplied default name can be used. "             "The value will be stored in the 'ElementName' property "             "for the created pool. If not NULL, this parameter will "             "supply a new name when modifying an existing pool.")]      string ElementName,          [IN ( false ), OUT, Description (             "Reference to the job (may be null if job completed).")]      CIM_ConcreteJob REF Job,          [IN, Description (             "Reference to an instance of StorageSetting that defines "             "the desired capabilities of the StoragePool. If set to a "             "null value, the default configuration from the source "             "pool will be used. If not NULL, this parameter will "             "supply a new Goal setting when modifying an existing "             "pool.")]      CIM_StorageSetting REF Goal,          [IN, OUT, Description (             "As an input parameter this specifies the desired pool "             "size in bytes. As an output parameter this specifies the "             "size achieved."),           Units ( "Bytes" )]      uint64 Size,          [IN, Description (             "Array of strings containing representations of "             "references to CIM_StoragePool instances, that are used "             "to create the Pool or modify the source pools.")]      string InPools[],          [IN, Description (             "Array of strings containing representations of "             "references to CIM_StorageExtent instances, that are used "             "to create the Pool or modify the source extents.")]      string InExtents[],          [IN, OUT, Description (             "As an input parameter: if null, creates a new "             "StoragePool. If not null, modifies the referenced Pool. "             "When returned, it is a reference to the resulting "             "StoragePool.")]      CIM_StoragePool REF Pool);       [Description (          "Start a job to create (or modify) a specified element (for "          "example a StorageVolume or StorageExtent) from a "          "StoragePool. One of the parameters for this method is Size. "          "As an input parameter, Size specifies the desired size of "          "the element. As an output parameter, it specifies the size "          "achieved. Space is taken from the input StoragePool. The "          "desired settings for the element are specified by the Goal "          "parameter. If the requested size cannot be created, no "          "action will be taken, and the Return Value will be "          "4097/0x1001. Also, the output value of Size is set to the "          "nearest possible size. If 0 is returned, the function "          "completed successfully and no ConcreteJob instance was "          "required. If 4096/0x1000 is returned, a ConcreteJob will be "          "started to create the element. The Job's reference will be "          "returned in the output parameter Job."),        ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096",          "4097", "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",          "Size Not Supported", "Method Reserved", "Vendor Specific" }]   uint32 CreateOrModifyElementFromStoragePool(          [IN, Description (             "A end user relevant name for the element being created. "             "If NULL, then a system supplied default name can be "             "used. The value will be stored in the 'ElementName' "             "property for the created element. If not NULL, this "             "parameter will supply a new name when modifying an "             "existing element.")]      string ElementName,          [IN, Description (             "Enumeration indicating the type of element being created "             "or modified. If the input parameter TheElement is "             "specified when the operation is a 'modify', this type "             "value must match the type of that instance."),           ValueMap { "0", "1", "2", "3", "4", "..", "32768..65535" },           Values { "Unknown", "Reserved", "StorageVolume",             "StorageExtent", "LogicalDisk", "DMTF Reserved",             "Vendor Specific" }]      uint16 ElementType,          [IN ( false ), OUT, Description (             "Reference to the job (may be null if job completed).")]      CIM_ConcreteJob REF Job,          [IN, Description (             "The requirements for the element to maintain. If set to "             "a null value, the default configuration from the source "             "pool will be used. This parameter should be a reference "             "to a Setting or Profile appropriate to the element being "             "created. If not NULL, this parameter will supply a new "             "Goal when modifying an existing element.")]      CIM_ManagedElement REF Goal,          [IN, OUT, Description (             "As an input parameter Size specifies the desired size. "             "If not NULL, this parameter will supply a new size when "             "modifying an existing element. As an output parameter "             "Size specifies the size achieved."),           Units ( "Bytes" )]      uint64 Size,          [IN, Description (             "The Pool from which to create the element. This "             "parameter must be set to null if the input parameter "             "TheElement is specified (in the case of a 'modify' "             "operation).")]      CIM_StoragePool REF InPool,          [IN, OUT, Description (             "As an input parameter: if null, creates a new element. "             "If not null, then the method modifies the specified "             "element. As an output parameter, it is a reference to "             "the resulting element.")]      CIM_LogicalElement REF TheElement);       [Description (          "Start a job to delete a StoragePool. The freed space is "          "returned source StoragePools (indicated by AllocatedFrom "          "StoragePool) or back to underlying storage extents. If 0 is "          "returned, the function completed successfully, and no "          "ConcreteJob was required. If 4096/0x1000 is returned, a "          "ConcreteJob will be started to delete the StoragePool. A "          "reference to the Job is returned in the Job parameter."),        ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096",          "4097..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 DeleteStoragePool (          [IN ( false ), OUT, Description (             "Reference to the job (may be null if job completed).")]      CIM_ConcreteJob REF Job,          [IN, Description (             "Reference to the pool to delete.")]      CIM_StoragePool REF Pool);       [Description (          "Start a job to delete an element previously created from a "          "StoragePool. The freed space is returned to the source "          "StoragePool. If 0 is returned, the function completed "          "successfully and no ConcreteJob was required. If "          "4096/0x1000 is returned, a ConcreteJob will be started to "          "delete the element. A reference to the Job is returned in "          "the Job parameter."),        ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096",          "4097..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 ReturnToStoragePool(          [IN ( false ), OUT, Description (             "Reference to the job (may be null if job completed).")]      CIM_ConcreteJob REF Job,          [IN, Description (             "Reference to the element to return to the StoragePool.")]      CIM_LogicalElement REF TheElement);       [Description (          "Start a job to create a new storage object which is a "          "replica of the specified source storage object. "          "(SourceElement). Note that using the input paramter, "          "CopyType, this function can be used to instantiate the "          "replica, and to create an ongoing association between the "          "source and replica. If 0 is returned, the function "          "completed successfully and no ConcreteJob instance is "          "created. If 4096/0x1000 is returned, a ConcreteJob is "          "started, a reference to which is returned in the Job output "          "parameter."),        ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096",          "4097..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 CreateReplica(          [IN, Description (             "A end user relevant name for the element being created. "             "If NULL, then a system supplied default name can be "             "used. The value will be stored in the 'ElementName' "             "property for the created element.")]      string ElementName,          [IN ( false ), OUT, Description (             "Reference to the job (may be null if job completed).")]      CIM_ConcreteJob REF Job,          [Required, IN, Description (

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -