Getting a list of unit types

Use the IBMTSSVC_ConfigurationReportingService to get information about enclosure unit types.

To retrieve a list of unit types that the IBMTSSVC_Enclosure supports or are installed:

  1. Select an IBMTSSVC_Enclosure instance as the container.
  2. Obtain the IBMTSSVC_ConfigurationReportingService instance directly.
  3. Invoke the IBMTSSVC_ConfigurationReportingService.GetUnitTypes() method with the following parameter specifications:
    1. Set InquiryType to 2 or 3.
    2. Set ClassType to be an entry that is returned in the GetClassTypes.ClassTypes property.
    3. Set CIM_ManagedElement to the reference (CIMObjectPath) of the target IBMTSSVC_Enclosure.
The returned UnitTypes[] contains the unit types of the ClassTypes supported or installed in the IBMTSSVC_Enclosure.