CreateOrModifyElementFromStoragePool() Extrinsic methods CreateRemoteClusterPartnership()

You can use the CreateOrModifyElementFromStoragePool() method to create an IBMTS2145_StorageVolume instance if the Element parameter is null, or you can modify an IBMTS2145_StorageVolume instance if the Element parameter is not null. The CreateOrModifyElementFromStoragePool() method belongs to the IBMTS2145_StorageConfigurationService class.

Parameters

Table 235 shows the parameters you can specify for the CreateOrModifyElementFromStoragePool() method:

Table 235. CreateOrModifyElementFromStoragePool() parameters
Parameter Type Description
Volume creation Volume modification
ElementType Uint16 Indicates the IBMTS2145_StorageVolume as the element type Indicates the IBMTS2145_StorageVolume as the element type
[Goal] String Contains special settings for the new volume Contains the settings for the existing volume
[InPool] String Specifies the IBMTS2145_StoragePool from which the new volume is allowed Set to Null
Job String Set to Null Set to Null
Size Uint64 Specifies the allocated size (MB) of the new volume Specifies the size (MB) of the modified volume
TheElement String Specifies the IBMTS2145_StorageVolume instance to be created Specifies the IBMTS2145_StorageVolume instance to be modified
Return values

The CreateOrModifyElementFromStoragePool() method returns one of the following error codes:

Related topics Extrinsic methods CreateRemoteClusterPartnership()

(C) Copyright International Business Machines Corporation 2003, 2004