List of database retention policy pairs the task is allowed to access.
GraphViz DOT syntax formatted representation of the template DAG. NOTE: lables vs attributes does not matter since a template is never executing.
Any error encountered when reading the template.
Whether the task is currently executing.
Unique identifier for the task. If empty a random ID will be chosen.
Date the task was last set to status enabled.
a link object with an href of the resource.Clients should not need to perform path manipulation in most cases and can use the links provided from previous calls.
Date the task was last modified.
The content of the script.
Map of statistics about a task.
One of enabled
or disabled
.
An optional ID of a template to use instead of specifying a TICKscript and type directly.
The task type: stream
or batch
.
A set of vars for overwriting any defined vars in the TICKscript. The vars object has the form:
{
"field_name" : {
"value": <VALUE>,
"type": <TYPE>
},
"another_field" : {
"value": <VALUE>,
"type": <TYPE>
}
}
The following is a table of valid types and example values.
Type | Example Value | Description |
---|---|---|
Bool | true | "true" or "false" |
Int | 42 | Any integer value |
Float | 2.5 or 67 | Any numeric value |
Duration | "1s" or 1000000000 | Any integer value interpretted in nanoseconds or an influxql duration string |
String | "a string" | Any string value |
Regex | "^abc.*xyz" | Any string value that represents a valid Go regular expression https://golang.org/pkg/regexp/ |
Lambda | "\"value\" > 5" | Any string that is a valid TICKscript lambda expression |
Star | "" | No value is required, a star type var represents the literal * in TICKscript (i.e. .groupBy(*) ) |
List | [{"type": TYPE, "value": VALUE}] | A list of var objects. Currently lists may only contain string or star vars |
Generated using TypeDoc
Date the task was first created.