• Home
  • Dynatrace API
  • Configuration
  • Services
  • Failure detection
  • JSON models

Failure detection API - JSON models

JSON models of the Failure detection rules API vary greatly, depending on the type of some objects. Here you can find JSON models for each variation.

Variations of the FdpTagPredicate object

The FdpTagPredicate object is the base of tag conditions for failure detection parameter sets. The actual set of fields depends on the type of the condition.

STRING_EQUALS

FdpTagStringEquals

The FdpTagStringStartsWith object

The predicate that tests the value of the tag.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
ignoreCaseboolean-
negatedboolean-
valuestring

The reference value. The condition is fulfilled when the tag (which is a string) starts with this value.

json
{ "type": "STRING_STARTS_WITH", "ignoreCase": true, "values": "reference value" }

STRING_STARTS_WITH

FdpTagStringStartsWith

The FdpTagStringEquals object

The predicate that tests the value of the tag.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
ignoreCaseboolean-
negatedboolean-
valuestring

The reference value. The condition is fulfilled when the tag (which is a string) equals this value.

json
{ "type": "STRING_EQUALS", "ignoreCase": true, "values": "reference value" }

STRING_ENDS_WITH

FdpTagStringEndsWith

The FdpTagStringEndsWith object

The predicate that tests the value of the tag.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
ignoreCaseboolean-
negatedboolean-
valuestring

The reference value. The condition is fulfilled when the tag (which is a string) ends with this value.

json
{ "type": "STRING_ENDS_WITH", "ignoreCase": true, "values": "reference value" }

STRING_CONTAINS_SUBSTRING

FdpTagStringContainsSubstring

The FdpTagStringContainsSubstring object

The predicate that tests the value of the tag.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
ignoreCaseboolean-
negatedboolean-
valuestring

The reference value. The condition is fulfilled when the tag (which is a string) contains this value.

json
{ "type": "STRING_CONTAINS_SUBSTRING", "ignoreCase": true, "values": "reference value" }

INTEGER_EQUALS

FdpTagIntegerEquals

The FdpTagIntegerEquals object

The predicate that tests the value of the tag.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuestring

The reference value.

negatedboolean-
json
{ "type": "INTEGER_EQUALS", "values": 10 }

INTEGER_LESS_THAN

FdpTagIntegerLessThan

The FdpTagIntegerLessThan object

The predicate that tests the value of the tag.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuestring

The reference value.

json
{ "type": "INTEGER_LESS_THAN", "values": 10 }

INTEGER_LESS_THAN_OR_EQUAL

FdpTagIntegerLessThanOrEqual

The FdpTagIntegerLessThanOrEqual object

The predicate that tests the value of the tag.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuestring

The reference value.

json
{ "type": "INTEGER_LESS_THAN_OR_EQUAL", "values": 10 }

INTEGER_GREATER_THAN

FdpTagIntegerGreaterThan

The FdpTagIntegerGreaterThan object

The predicate that tests the value of the tag.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuestring

The reference value.

json
{ "type": "INTEGER_GREATER_THAN", "values": 10 }

INTEGER_GREATER_THAN_OR_EQUAL

FdpTagIntegerGreaterThanOrEqual

The FdpTagIntegerGreaterThanOrEqual object

The predicate that tests the value of the tag.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuestring

The reference value.

json
{ "type": "INTEGER_GREATER_THAN_OR_EQUAL", "values": 10 }

DOUBLE_EQUALS

FdpTagDoubleEquals

The FdpTagDoubleEquals object

The predicate that tests the value of the tag.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuenumber

The reference value.

negatedboolean-
json
{ "type": "DOUBLE_EQUALS", "values": 10 }

DOUBLE_LESS_THAN

FdpTagDoubleLessThan

The FdpTagDoubleLessThan object

The predicate that tests the value of the tag.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuenumber

The reference value.

json
{ "type": "DOUBLE_LESS_THAN", "values": 10 }

DOUBLE_LESS_THAN_OR_EQUAL

FdpTagDoubleLessThanOrEqual

The FdpTagDoubleLessThanOrEqual object

The predicate that tests the value of the tag.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuenumber

The reference value.

json
{ "type": "DOUBLE_LESS_THAN_OR_EQUAL", "values": 10 }

DOUBLE_GREATER_THAN

FdpTagDoubleGreaterThan

The FdpTagDoubleGreaterThan object

The predicate that tests the value of the tag.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuenumber

The reference value.

json
{ "type": "DOUBLE_GREATER_THAN", "values": 10 }

DOUBLE_GREATER_THAN_OR_EQUAL

FdpTagDoubleGreaterThanOrEqual

The FdpTagDoubleGreaterThanOrEqual object

The predicate that tests the value of the tag.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuenumber

The reference value.

json
{ "type": "DOUBLE_GREATER_THAN_OR_EQUAL", "values": 10 }

Variations of the FdcPredicate object

The FdcPredicate object is the base for predicates of a failure detection rule's condition. The actual set of fields depends on the type of the condition.

STRING_EQUALS

FdcPredicateStringEquals

The FdcPredicateStringEquals object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
ignoreCaseboolean

The condition is case sensitive (false) or case insensitive (true).

If not set, then false is used, making the condition case sensitive.

valuesstring[]

A list of reference values. The condition is fulfilled when the attribute (which is a string) equals any of these.

json
{ "type": "STRING_EQUALS", "ignoreCase": true, "values": [ "value1", "value2" ] }

STRING_STARTS_WITH

FdcPredicateStringStartsWith

The FdcPredicateStringStartsWith object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
ignoreCaseboolean

The condition is case sensitive (false) or case insensitive (true).

If not set, then false is used, making the condition case sensitive.

valuesstring[]

A list of reference values. The condition is fulfilled when the attribute (which is a string) start with any of these.

json
{ "type": "STRING_STARTS_WITH", "ignoreCase": true, "values": [ "value1", "value2" ] }

STRING_ENDS_WITH

FdcPredicateStringEndsWith

The FdcPredicateStringEndsWith object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
ignoreCaseboolean

The condition is case sensitive (false) or case insensitive (true).

If not set, then false is used, making the condition case sensitive.

valuesstring[]

A list of reference values. The condition is fulfilled when the attribute (which is a string) ends with any of these.

json
{ "type": "STRING_ENDS_WITH", "ignoreCase": true, "values": [ "value1", "value2" ] }

STRING_CONTAINS_SUBSTRING

FdcPredicateStringContains

The FdcPredicateStringContains object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
ignoreCaseboolean

The condition is case sensitive (false) or case insensitive (true).

If not set, then false is used, making the condition case sensitive.

valuesstring[]

A list of reference values. The condition is fulfilled when the attribute (which is a string) contains any of these.

json
{ "type": "STRING_CONTAINS_SUBSTRING", "ignoreCase": true, "values": [ "value1", "value2" ] }

INTEGER_EQUALS

FdcPredicateIntegerEquals

The FdcPredicateIntegerEquals object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuesinteger[]

The reference value. The condition is fulfilled when the attribute (which is an integer) equals any of these.

json
{ "type": "INTEGER_EQUALS", "values": [ 10, 20 ] }

INTEGER_LESS_THAN

FdcPredicateIntegerLessThan

The FdcPredicateIntegerLessThan object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valueinteger

The reference value. The condition is fulfilled when the attribute (which is an integer) is less than this value.

json
{ "type": "INTEGER_LESS_THAN", "value": 10 }

INTEGER_LESS_THAN_OR_EQUAL

FdcPredicateIntegerLessThanOrEqual

The FdcPredicateIntegerLessThanOrEqual object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valueinteger

The reference value. The condition is fulfilled when the attribute (which is an integer) is less than or equals this value.

json
{ "type": "INTEGER_LESS_THAN_OR_EQUAL", "value": 10 }

INTEGER_GREATER_THAN

FdcPredicateIntegerGreaterThan

The FdcPredicateIntegerGreaterThan object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valueinteger

The reference value. The condition is fulfilled when the attribute (which is an integer) is greater than this value.

json
{ "type": "INTEGER_GREATER_THAN", "value": 10 }

INTEGER_GREATER_THAN_OR_EQUAL

FdcPredicateIntegerGreaterThanOrEqual

The FdcPredicateIntegerGreaterThanOrEqual object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valueinteger

The reference value. The condition is fulfilled when the attribute (which is an integer) is greater than or equals this value.

json
{ "type": "INTEGER_GREATER_THAN_OR_EQUAL", "value": 10 }

LONG_EQUALS

FdcPredicateLongEquals

The FdcPredicateLongEquals object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuesstring[]

A list of reference values. The condition is fulfilled when the attribute (which is a long) equals any of these.

json
{ "type": "LONG_EQUALS", "values": [ 10, 20 ] }

LONG_LESS_THAN

FdcPredicateLongLessThan

The FdcPredicateLongLessThan object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuestring

The reference value. The condition is fulfilled when the attribute (which is a long) is less than this value.

json
{ "type": "LONG_LESS_THAN", "value": 20 }

LONG_LESS_THAN_OR_EQUAL

FdcPredicateLongLessThanOrEqual

The FdcPredicateLongLessThanOrEqual object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuestring

The reference value. The condition is fulfilled when the attribute (which is a long) is less than or equals this value.

json
{ "type": "LONG_LESS_THAN_OR_EQUAL", "value": 20 }

LONG_GREATER_THAN

FdcPredicateLongGreaterThan

The FdcPredicateLongGreaterThan object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuestring

The reference value. The condition is fulfilled when the attribute (which is a long) is greater than this value.

json
{ "type": "LONG_GREATER_THAN", "value": 20 }

LONG_GREATER_THAN_OR_EQUAL

FdcPredicateLongGreaterThanOrEqual

The FdcPredicateLongGreaterThanOrEqual object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuestring

The reference value. The condition is fulfilled when the attribute (which is a long) is greater than or equals this value.

json
{ "type": "LONG_GREATER_THAN_OR_EQUAL", "value": 20 }

TAG_KEY_EQUALS

FdcPredicateTagKeyEquals

The FdcPredicateTagKeyEquals object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
keysstring[]

A list of reference values. The condition is fulfilled when the attribute (which is the key of a tag) equals any of these.

json
{ "type": "TAG_KEY_EQUALS", "keys": [ "key1", "key2" ] }

TAG_EQUALS

FdcPredicateTagEquals

The FdcPredicateTagEquals object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
keysstring[]

A list of reference tag keys.

The condition is fulfilled when the tag matches any key:value pair, consisting of a key and a value that are at the same position in the respective list.

valuesstring[]

A list of reference tag values.

The condition is fulfilled when the tag matches any key:value pair, consisting of a key and a value that are at the same position in the respective list.

json
{ "type": "TAG_EQUALS", "keys": [ "key1", "key2" ], "value": [ "value1", "value2" ] }

SERVICE_TYPE_EQUALS

FdcPredicateServiceTypeEquals

The FdcPredicateServiceTypeEquals object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuesstring[]

A list of reference values. The condition is fulfilled when the attribute (which is the type of the service) equals any of these.The possible values are: WebRequest, WebService, Database, Method, WebSite, Messaging, Mobile, Process, Rmi, External, QueueListener, QueueInteraction, RemoteCall, SaasVendor, AMP, CustomApplication, Cics, Ims, CicsInteraction, ImsInteraction, EnterpriseServiceBus, ZosConnect.

json
{ "type": "SERVICE_TYPE_EQUALS", "values": [ "value1", "value2" ] }

MANAGEMENT_ZONES_CONTAINS_ALL

FdcPredicateManagementZonesContainsAll

The FdcPredicateManagementZonesContainsAll object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuesstring[]

A list of reference values. The condition is fulfilled when the attribute (which is a set of management zones) contains all the reference values.

Specify the ID or the name of the management zone here.

json
{ "type": "MANAGEMENT_ZONES_CONTAINS_ALL", "values": [ "management zone 1", "management zone 2" ] }

SET_OF_INTEGERS_CONTAINS_ANY

FdcPredicateSetOfIntegersContainsAny

The FdcPredicateLongLessThan object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuestring

The reference value. The condition is fulfilled when the attribute (which is a long) is less than this value.

json
{ "type": "SET_OF_INTEGERS_CONTAINS_ANY", "values": [ 10, 20 ] }

SET_OF_INTEGERS_CONTAINS_ALL

FdcPredicateSetOfIntegersContainsAll

The FdcPredicateLongLessThan object

The predicate that tests the value of the attribute.

The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.

ElementTypeDescription
valuestring

The reference value. The condition is fulfilled when the attribute (which is a long) is less than this value.

json
{ "type": "SET_OF_INTEGERS_CONTAINS_ALL", "values": [ 10, 20 ] }