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
The FdpTagStringStartsWith
object
The predicate of the STRING_STARTS_WITH
type. It checks whether the tag (which is a string) starts with the reference value.
The reference value. The condition is fulfilled when the tag (which is a string) starts with this value.
{"type": "STRING_STARTS_WITH","ignoreCase": true,"values": "reference value"}
STRING_STARTS_WITH
The FdpTagStringEquals
object
The predicate of the STRING_EQUALS
type. It checks whether the tag (which is a string) equals the reference value.
The reference value. The condition is fulfilled when the tag (which is a string) equals this value.
{"type": "STRING_EQUALS","ignoreCase": true,"values": "reference value"}
STRING_ENDS_WITH
The FdpTagStringEndsWith
object
The predicate of the STRING_ENDS_WITH
type. It checks whether the tag (which is a string) ends with the reference value.
The reference value. The condition is fulfilled when the tag (which is a string) ends with this value.
{"type": "STRING_ENDS_WITH","ignoreCase": true,"values": "reference value"}
STRING_CONTAINS_SUBSTRING
The FdpTagStringContainsSubstring
object
The predicate of the STRING_CONTAINS_SUBSTRING
type. It checks whether the tag (which is a string) contains the reference value.
The reference value. The condition is fulfilled when the tag (which is a string) contains this value.
{"type": "STRING_CONTAINS_SUBSTRING","ignoreCase": true,"values": "reference value"}
INTEGER_EQUALS
The FdpTagIntegerEquals
object
The predicate of the INTEGER_EQUALS
type. It checks whether the tag (which is an integer) equals the reference value.
The reference value.
{"type": "INTEGER_EQUALS","values": 10}
INTEGER_LESS_THAN
The FdpTagIntegerLessThan
object
The predicate of the INTEGER_LESS_THAN
type. It checks whether the tag (which is an integer) is less than the reference value.
The reference value.
{"type": "INTEGER_LESS_THAN","values": 10}
INTEGER_LESS_THAN_OR_EQUAL
The FdpTagIntegerLessThanOrEqual
object
The predicate of the INTEGER_LESS_THAN_OR_EQUAL
type. It checks whether the tag (which is an integer) is less than or equals the reference value.
The reference value.
{"type": "INTEGER_LESS_THAN_OR_EQUAL","values": 10}
INTEGER_GREATER_THAN
The FdpTagIntegerGreaterThan
object
The predicate of the INTEGER_GREATER_THAN
type. It checks whether the tag (which is an integer) is greater than the reference value.
The reference value.
{"type": "INTEGER_GREATER_THAN","values": 10}
INTEGER_GREATER_THAN_OR_EQUAL
The FdpTagIntegerGreaterThanOrEqual
object
The predicate of the INTEGER_GREATER_THAN_OR_EQUAL
type. It checks whether the tag (which is an integer) is greater than or equals the reference value.
The reference value.
{"type": "INTEGER_GREATER_THAN_OR_EQUAL","values": 10}
DOUBLE_EQUALS
The FdpTagDoubleEquals
object
The predicate of the DOUBLE_EQUALS
type. It checks whether the tag (which is a double) equals the reference value.
The reference value.
{"type": "DOUBLE_EQUALS","values": 10}
DOUBLE_LESS_THAN
The FdpTagDoubleLessThan
object
The predicate of the DOUBLE_LESS_THAN
type. It checks whether the tag (which is a double) is less than the reference value.
The reference value.
{"type": "DOUBLE_LESS_THAN","values": 10}
DOUBLE_LESS_THAN_OR_EQUAL
The FdpTagDoubleLessThanOrEqual
object
The predicate of the DOUBLE_LESS_THAN_OR_EQUAL
type. It checks whether the tag (which is a double) is less than or equals the reference value.
The reference value.
{"type": "DOUBLE_LESS_THAN_OR_EQUAL","values": 10}
DOUBLE_GREATER_THAN
The FdpTagDoubleGreaterThan
object
The predicate of the DOUBLE_GREATER_THAN
type. It checks whether the tag (which is a double) is greater than the reference value.
The reference value.
{"type": "DOUBLE_GREATER_THAN","values": 10}
DOUBLE_GREATER_THAN_OR_EQUAL
The FdpTagDoubleGreaterThanOrEqual
object
The predicate of the DOUBLE_GREATER_THAN_OR_EQUAL
type. It checks whether the tag (which is a double) is greater than or equals the reference value.
The reference value.
{"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
The FdcPredicateStringEquals
object
The predicate of the STRING_EQUALS
type. It checks whether the attribute (which is a string) equals one of the reference values.
The condition is case sensitive (false
) or case insensitive (true
).
If not set, then false
is used, making the condition case sensitive.
A list of reference values. The condition is fulfilled when the attribute (which is a string) equals any of these.
{"type": "STRING_EQUALS","ignoreCase": true,"values": ["value1","value2"]}
STRING_STARTS_WITH
The FdcPredicateStringStartsWith
object
The predicate of the STRING_STARTS_WITH
type. It checks whether the attribute (which is a string) starts with one of the reference values.
The condition is case sensitive (false
) or case insensitive (true
).
If not set, then false
is used, making the condition case sensitive.
A list of reference values. The condition is fulfilled when the attribute (which is a string) start with any of these.
{"type": "STRING_STARTS_WITH","ignoreCase": true,"values": ["value1","value2"]}
STRING_ENDS_WITH
The FdcPredicateStringEndsWith
object
The predicate of the STRING_ENDS_WITH
type. It checks whether the attribute (which is a string) ends with one of the reference values.
The condition is case sensitive (false
) or case insensitive (true
).
If not set, then false
is used, making the condition case sensitive.
A list of reference values. The condition is fulfilled when the attribute (which is a string) ends with any of these.
{"type": "STRING_ENDS_WITH","ignoreCase": true,"values": ["value1","value2"]}
STRING_CONTAINS_SUBSTRING
The FdcPredicateStringContains
object
The predicate of the STRING_CONTAINS_SUBSTRING
type. It checks whether the attribute (which is a string) contains one of the reference values.
The condition is case sensitive (false
) or case insensitive (true
).
If not set, then false
is used, making the condition case sensitive.
A list of reference values. The condition is fulfilled when the attribute (which is a string) contains any of these.
{"type": "STRING_CONTAINS_SUBSTRING","ignoreCase": true,"values": ["value1","value2"]}
INTEGER_EQUALS
The FdcPredicateIntegerEquals
object
The predicate of the INTEGER_EQUALS
type. It checks whether the attribute (which is an integer) equals one of the reference values.
The reference value. The condition is fulfilled when the attribute (which is an integer) equals any of these.
{"type": "INTEGER_EQUALS","values": [10,20]}
INTEGER_LESS_THAN
The FdcPredicateIntegerLessThan
object
The predicate of the INTEGER_LESS_THAN
type. It checks whether the attribute (which is an integer) is less than the reference value.
The reference value. The condition is fulfilled when the attribute (which is an integer) is less than this value.
{"type": "INTEGER_LESS_THAN","value": 10}
INTEGER_LESS_THAN_OR_EQUAL
The FdcPredicateIntegerLessThanOrEqual
object
The predicate of the INTEGER_LESS_THAN_OR_EQUAL
type. It checks whether the attribute (which is an integer) is less than or equals the reference value.
The reference value. The condition is fulfilled when the attribute (which is an integer) is less than or equals this value.
{"type": "INTEGER_LESS_THAN_OR_EQUAL","value": 10}
INTEGER_GREATER_THAN
The FdcPredicateIntegerGreaterThan
object
The predicate of the INTEGER_GREATER_THAN
type. It checks whether the attribute (which is an integer) is greater than the reference value.
The reference value. The condition is fulfilled when the attribute (which is an integer) is greater than this value.
{"type": "INTEGER_GREATER_THAN","value": 10}
INTEGER_GREATER_THAN_OR_EQUAL
The FdcPredicateIntegerGreaterThanOrEqual
object
The predicate of the INTEGER_GREATER_THAN_OR_EQUAL
type. It checks whether the attribute (which is an integer) is greater than or equals the reference value.
The reference value. The condition is fulfilled when the attribute (which is an integer) is greater than or equals this value.
{"type": "INTEGER_GREATER_THAN_OR_EQUAL","value": 10}
LONG_EQUALS
The FdcPredicateLongEquals
object
The predicate of the LONG_EQUALS
type. It checks whether the attribute (which is a long) equals one of the reference values.
A list of reference values. The condition is fulfilled when the attribute (which is a long) equals any of these.
{"type": "LONG_EQUALS","values": [10,20]}
LONG_LESS_THAN
The FdcPredicateLongLessThan
object
The predicate of the LONG_LESS_THAN
type. It checks whether the attribute (which is a long) is less than the reference value.
The reference value. The condition is fulfilled when the attribute (which is a long) is less than this value.
{"type": "LONG_LESS_THAN","value": 20}
LONG_LESS_THAN_OR_EQUAL
The FdcPredicateLongLessThanOrEqual
object
The predicate of the LONG_LESS_THAN_OR_EQUAL
type. It checks whether the attribute (which is a long) is less than or equals the reference value.
The reference value. The condition is fulfilled when the attribute (which is a long) is less than or equals this value.
{"type": "LONG_LESS_THAN_OR_EQUAL","value": 20}
LONG_GREATER_THAN
The FdcPredicateLongGreaterThan
object
The predicate of the LONG_GREATER_THAN
type. It checks whether the attribute (which is a long) is greater than the reference value.
The reference value. The condition is fulfilled when the attribute (which is a long) is greater than this value.
{"type": "LONG_GREATER_THAN","value": 20}
LONG_GREATER_THAN_OR_EQUAL
The FdcPredicateLongGreaterThanOrEqual
object
The predicate of the LONG_GREATER_THAN_OR_EQUAL
type. It checks whether the attribute (which is a long) is greater than or equals the reference value.
The reference value. The condition is fulfilled when the attribute (which is a long) is greater than or equals this value.
{"type": "LONG_GREATER_THAN_OR_EQUAL","value": 20}
TAG_KEY_EQUALS
The FdcPredicateTagKeyEquals
object
The predicate of the TAG_KEY_EQUALS
type. It checks whether the attribute (which is the key of a tag) equals one of the reference values.
A list of reference values. The condition is fulfilled when the attribute (which is the key of a tag) equals any of these.
{"type": "TAG_KEY_EQUALS","keys": ["key1","key2"]}
TAG_EQUALS
The FdcPredicateTagEquals
object
The predicate of the TAG_EQUALS
type. It checks whether the attribute (which is a key:value pair) equals one of the reference values.
The reference value is a key:value pair, consisting of a key and a value that are at the same position in the respective list.
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.
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.
{"type": "TAG_EQUALS","keys": ["key1","key2"],"value": ["value1","value2"]}
SERVICE_TYPE_EQUALS
The FdcPredicateServiceTypeEquals
object
The predicate of the SERVICE_TYPE_EQUALS
type. It checks whether the attribute (which is the type of the service) equals one of the reference values.
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.
{"type": "SERVICE_TYPE_EQUALS","values": ["value1","value2"]}
MANAGEMENT_ZONES_CONTAINS_ALL
The FdcPredicateManagementZonesContainsAll
object
The predicate of the MANAGEMENT_ZONES_CONTAINS_ALL
type. It checks whether the attribute (which is a set of management zones) contains all the reference values.
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.
{"type": "MANAGEMENT_ZONES_CONTAINS_ALL","values": ["management zone 1","management zone 2"]}
SET_OF_INTEGERS_CONTAINS_ANY
The FdcPredicateLongLessThan
object
The predicate of the LONG_LESS_THAN
type. It checks whether the attribute (which is a long) is less than the reference value.
The reference value. The condition is fulfilled when the attribute (which is a long) is less than this value.
{"type": "SET_OF_INTEGERS_CONTAINS_ANY","values": [10,20]}
SET_OF_INTEGERS_CONTAINS_ALL
The FdcPredicateLongLessThan
object
The predicate of the LONG_LESS_THAN
type. It checks whether the attribute (which is a long) is less than the reference value.
The reference value. The condition is fulfilled when the attribute (which is a long) is less than this value.
{"type": "SET_OF_INTEGERS_CONTAINS_ALL","values": [10,20]}