Skip to main content

system.kanoa.performanceState.getPerformanceStateLinks

This function requires KanoaOPS module

Description

gets performance state links

Syntax

getPerformanceStateLinks(paramsDict)
  • Parameters
      paramsDict (dict)
      - performanceStateId (int)
      - performanceStateName (string)
      - performanceStatePath (string)
      - performanceStateClassId (int)
      - performanceStateClassName (string)
      - performanceStateClassPath (string)
      - itemId (int)
      - itemName (string)
      - itemPath (string)
      - itemClassId (int)
      - itemClassName (string)
      - itemClassPath (string)
      - assetId (int)
      - assetPath (string)
      - enabled (bool)
  • Returns
    pyDataset
  • Code Example

    # Example Usage:
    data = system.kanoa.performanceState.getPerformanceStateLinks({})
    print system.kanoa.utilities.convertDatasetToJSON(data)
    >
    {
    'performanceStateName': None,
    'performanceStateClassPath': 'Operations',
    'itemClassName': 'BreadCo',
    'itemClassId': 30,
    'performanceStateClassId': 1,
    'enabled': 1,
    'performanceStateLinkId': 3,
    'itemId': None,
    'changedDate': None,
    'itemName': None,
    'itemClassPath': 'BreadCo',
    'createdDate': Wed Apr 02 22:00:36 UTC 2025,
    'itemPath': None,
    'performanceStateClassName': 'Operations',
    'createdBy': 5,
    'assetId': 1983,
    'assetPath': 'AXONE-IO',
    'performanceStatePath': None,
    'changedBy': None,
    'performanceStateId': None
    }
    >>>