condition
condition
Base class for Property Conditions. For JSON the class descendants will generate with a field named 'type' with one of the following values: CONDITION_PROPERTY_STRING, CONDITION_PROPERTY_NUMERIC
JSON Example
{
"instanced": false,
"key": "string",
"operator": "string",
"settingValue": "string",
"targetKey": "string",
"thresholdType": "string"
}
boolean
instanced
Required
The instance group
string
key
Required
The StatKey for the condition
string
operator
Required
The operator for the condition
Possible values are :
EQ,
NOT_EQ,
LIKE,
LT,
GT,
LT_EQ,
GT_EQ,
IN,
NOT_IN,
EXISTS,
CONTAINS,
STARTS_WITH,
ENDS_WITH,
NOT_STARTS_WITH,
NOT_ENDS_WITH,
NOT_CONTAINS,
REGEX,
NOT_REGEX,
NOT_EXISTS,
EMPTY,
NOT_EMPTY,
string
settingValue
Optional
The setting value
string
targetKey
Optional
A target StatKey to compare the values between two metrics. Required for metric or property threshold type conditions.
string
thresholdType
Required
The type of threshold comparison for right-hand side of the condition: static, metric or property.
Possible values are :
UNKNOWN,
STATIC,
STATKEY,
PROPERTY,