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.
FdpTagPredicate
objectThe 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.
FdpTagStringStartsWith
objectThe 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"}
FdpTagStringEquals
objectThe 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"}
FdpTagStringEndsWith
objectThe 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"}
FdpTagStringContainsSubstring
objectThe 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"}
FdpTagIntegerEquals
objectThe 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}
FdpTagIntegerLessThan
objectThe 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}
FdpTagIntegerLessThanOrEqual
objectThe 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}
FdpTagIntegerGreaterThan
objectThe 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}
FdpTagIntegerGreaterThanOrEqual
objectThe 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}
FdpTagDoubleEquals
objectThe 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}
FdpTagDoubleLessThan
objectThe 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}
FdpTagDoubleLessThanOrEqual
objectThe 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}
FdpTagDoubleGreaterThan
objectThe 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}
FdpTagDoubleGreaterThanOrEqual
objectThe 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}
FdcPredicate
objectThe 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.
FdcPredicateStringEquals
objectThe 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"]}
FdcPredicateStringStartsWith
objectThe 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"]}
FdcPredicateStringEndsWith
objectThe 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"]}
FdcPredicateStringContains
objectThe 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"]}
FdcPredicateIntegerEquals
objectThe 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]}
FdcPredicateIntegerLessThan
objectThe 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}
FdcPredicateIntegerLessThanOrEqual
objectThe 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}
FdcPredicateIntegerGreaterThan
objectThe 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}
FdcPredicateIntegerGreaterThanOrEqual
objectThe 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}
FdcPredicateLongEquals
objectThe 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]}
FdcPredicateLongLessThan
objectThe 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}
FdcPredicateLongLessThanOrEqual
objectThe 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}
FdcPredicateLongGreaterThan
objectThe 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}
FdcPredicateLongGreaterThanOrEqual
objectThe 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}
FdcPredicateTagKeyEquals
objectThe 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"]}
FdcPredicateTagEquals
objectThe 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"]}
FdcPredicateServiceTypeEquals
objectThe 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"]}
FdcPredicateManagementZonesContainsAll
objectThe 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"]}
FdcPredicateLongLessThan
objectThe 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]}
FdcPredicateLongLessThan
objectThe 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]}