CimIQL component tokens

The CimIQL probe requires component tokens, which are sub-components of operational tokens.

The following tokens are sub-components of operation tokens.
Table 1. CimIQL Component Token Summary
Token Details
Properties token * OR <property name>,<property name>,...
  • Specifies which properties are to be returned for each object of the final result set.
Query Delimiter Token . (Period)
  • Separates queries.
Index Token [index]
  • Reduces a preceding query's results to a single object at the specified integer index.
Key Token <key name>='<value>'
  • Matches an object property designated as a key by exact value.
Condition Token <property name><conditional operator><enclosed value>
  • Matches a single property of an object based on the condition specified.
Parameter Token <parameter name>:'<value>'
  • Passes a parameter by <parameter name> to the operation being called. The parameter may be consumed during CimIQL pre-processing or by the CIMOM via request, depending on the parameter.

Properties Token

* OR <property name>,<property name>,...
  • Specifies which properties are to be returned for each object of the final result set.
  • The wildcard * returns all properties available. Otherwise, each property name desired is provided within a comma-separated list.
  • This token is required at the end of each statement.
  • Example:
    CIM_ComputerSystem[0].*

Query Delimiter Token

. (Period)
  • Separates queries.
  • Example:
    CIM_ComputerSystem.PrimaryOwnerContact

Index Token

[index]
  • Reduces a preceding query's results to a single object at the specified integer index.
  • This token is always optional.
  • Example:
    CIM_ComputerSystem[0].*

Key Token

<key name>='<value>'
  • Matches an object property designated as a key by exact value.
  • The <key name> is the name of the property used as a key.
  • Example:
    CIM_ComputerSystem{CreationClassName='Linux_ComputerSystem',Name='runtime'}.*

Condition Token

<property name><conditional operator><enclosed value>
  • Matches a single property of an object based on the condition specified.
  • The <property name> is the name of the property to match against.
  • The <conditional operator> determines how the property's actual value is compared to its expected value. The operators available are equality (=) and inequality (!=).
  • The <enclosed value> should be one of the following:
    • Literal value enclosed in single-quotes ' ... '. For example, foo='bar'
    • Regular expression, enclosed by a pair of slashes / ... /. For example, foo=/bar.*/
  • Example:
    CIM_ComputerSystem{{Name!='runtime'}}.*

Parameter Token

<parameter name>:'<value>'
  • Passes a parameter by <parameter name> to the operation being called. The parameter may be consumed during CimIQL pre-processing or by the Common Information Model Object Manager (CIMOM) via request, depending on the parameter.
  • Example:
    CIM_ComputerSystem.CIM_RunningOS{{ResultClass:'Win32_ComputerSystem'}}.*