3PAR CIM API Programming Reference for InForm OS 2.3.1 (320-200164 Rev B, February 2010)

5.34
Block Services Package
CIM API Programming Reference InForm OS Version 2.3.1
5.9.5.3 CreateSetting
Table 5-24 shows the method forTPD_StorageCapabilities.CreateSetting:
.
This method returns a new instance to the client with default property values. There are four
instances of StorageCapabilities (one for each RAID type). The type of StorageSetting
the client wants to create is determined by the referenced StorageCapabilities. For
example, if the client invokes CreateSetting() method on a RAID-0
StorageCapabilities instance, then a RAID-0 StorageSetting instance is returned. The
client can use intrinsic method ModifyInstance() to customize the properties as needed.
SettingType (in): If 'Default' (2) is passed, the Max, Goal, and Min setting attributes are
set to the Default values of the parent StorageCapabilities option when the instance is
created. If they are set to 'Goal' (3), the new StorageSetting attributes are set to the
related attributes of the parent StorageCapabilities options, such as Min to Min, Goal
to Default, and Max to Max.
NewSetting (out): Reference to a new StorageSetting instance based on the parent
StorageCapabilities. For example, if the parent StorageCapabilities option is the
RAID-0 instance, then this instance is a copy of the pre-created RAID-0 StorageSetting
instance.
Table 5-24. Method for TPD_StorageCapabilities.CreateSetting
Method Description
CreateSetting() Allows clients to create a new StorageSetting
instance based on existing instances.
Uint32 CreateSetting (
[in] uint16 SettingType,
[Out] CIM_StorageSetting REF NewSetting);