Bearbeiten

Freigeben über


Activator definition

This article provides a breakdown of the definition structure for Activator items.

Note

The Activator product used to be named Reflex. Some legacy items and APIs might still use the Reflex name.

Supported formats

Activator items support the json format.

Definition parts

The definition of an Activator item is made out of a single part, and is constructed as follows:

Example of payload content decoded from Base64

[
    {
        "uniqueIdentifier": "6876bc8e-60a7-46d2-94db-500a46d88437",
        "payload": {
            "name": "KQL",
            "type": "kqlQueries"
        },
        "type": "container-v1"
    },
    {
        "uniqueIdentifier": "db648ca7-6911-4e39-9394-a9d05b582041",
        "payload": {
            "name": "EndTime",
            "runSettings": {
                "executionIntervalInSeconds": 300
            },
            "query": {
                "queryString": "['Weather'] | take 10"
            },
            "connection": {
                "databaseName": "c2375aaa",
                "clusterHostName": "c2375aaa.kusto.windows.net"
            },
            "eventhouseItem": {
                "itemType": "KustoDatabase",
                "itemId": "399b2e34-0392-4f87-90f1-efb820a781d3",
                "workspaceId": "974f8c44-20af-46b3-bc11-4a5e1515d21e"
            },
            "queryParameters": [],
            "parentContainer": {
                "targetUniqueIdentifier": "6876bc8e-60a7-46d2-94db-500a46d88437"
            }
        },
        "type": "kqlSource-v1"
    }
]

Definition example

{
    "format": "json",
    "parts": [
        {
            "path": "ActivatorEntities.json",
            "payload": "W10=",
            "payloadType": "InlineBase64"
        },
        {
            "path": ".platform",
            "payload": "ZG90UGxhdGZvcm1CYXNlNjRTdHJpbmc=",
            "payloadType": "InlineBase64"
        }
    ]
}