CimInstanceToken - Global

  • Release version: Xanadu
  • Updated August 1, 2024
  • 1 minute to read
  • The CimInstanceToken script include provides methods to represent the unique query identity of a Common Information Model (CIM) instance.

    Use with any server-side discovery script.

    CimInstanceToken - getHashToken(String cimomip)

    Parses the instance token.

    Table 1. Parameters
    Name Type Description
    cimomip String
    Table 2. Returns
    Type Description
    String The hash token

    CimInstanceToken - parse(XMLObj instance)

    Parses the instance token.

    Table 3. Parameters
    Name Type Description
    instance XMLObj The CIM instance
    Table 4. Returns
    Type Description
    String The parsed instance token, for example, CIM_ClassName{Key1='Value1',Key2='Value2'}