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.
FdpTagIntegerEquals objectThe predicate of the INTEGER_EQUALS type. It checks whether the tag (which is an integer) equals the reference value.
| Element | Type | Description | 
|---|---|---|
| negated | boolean | - | 
| value | string | The reference value.  | 
FdpTagIntegerLessThan objectThe predicate of the INTEGER_LESS_THAN type. It checks whether the tag (which is an integer) is less than the reference value.
| Element | Type | Description | 
|---|---|---|
| value | string | The reference value.  | 
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.
| Element | Type | Description | 
|---|---|---|
| value | string | The reference value.  | 
FdpTagIntegerGreaterThan objectThe predicate of the INTEGER_GREATER_THAN type. It checks whether the tag (which is an integer) is greater than the reference value.
| Element | Type | Description | 
|---|---|---|
| value | string | The reference value.  | 
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.
| Element | Type | Description | 
|---|---|---|
| value | string | The reference value.  | 
FdpTagDoubleEquals objectThe predicate of the DOUBLE_EQUALS type. It checks whether the tag (which is a double) equals the reference value.
| Element | Type | Description | 
|---|---|---|
| negated | boolean | - | 
| value | number | The reference value.  | 
FdpTagDoubleLessThan objectThe predicate of the DOUBLE_LESS_THAN type. It checks whether the tag (which is a double) is less than the reference value.
| Element | Type | Description | 
|---|---|---|
| value | number | The reference value.  | 
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.
| Element | Type | Description | 
|---|---|---|
| value | number | The reference value.  | 
FdpTagDoubleGreaterThan objectThe predicate of the DOUBLE_GREATER_THAN type. It checks whether the tag (which is a double) is greater than the reference value.
| Element | Type | Description | 
|---|---|---|
| value | number | The reference value.  | 
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.
| Element | Type | Description | 
|---|---|---|
| value | number | The reference value.  | 
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.
| Element | Type | Description | 
|---|---|---|
| ignoreCase | boolean | The condition is case sensitive ( If not set, then   | 
| values | string[] | A list of reference values. The condition is fulfilled when the attribute (which is a string) equals any of these.  | 
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.
| Element | Type | Description | 
|---|---|---|
| ignoreCase | boolean | The condition is case sensitive ( If not set, then   | 
| values | string[] | A list of reference values. The condition is fulfilled when the attribute (which is a string) start with any of these.  | 
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.
| Element | Type | Description | 
|---|---|---|
| ignoreCase | boolean | The condition is case sensitive ( If not set, then   | 
| values | string[] | A list of reference values. The condition is fulfilled when the attribute (which is a string) ends with any of these.  | 
FdcPredicateStringContains objectThe predicate of the STRING_CONTAINS_SUBSTRING type. It checks whether the attribute (which is a string) contains one of the reference values.
| Element | Type | Description | 
|---|---|---|
| ignoreCase | boolean | The condition is case sensitive ( If not set, then   | 
| values | string[] | A list of reference values. The condition is fulfilled when the attribute (which is a string) contains any of these.  | 
FdcPredicateIntegerEquals objectThe predicate of the INTEGER_EQUALS type. It checks whether the attribute (which is an integer) equals one of the reference values.
| Element | Type | Description | 
|---|---|---|
| values | integer[] | The reference value. The condition is fulfilled when the attribute (which is an integer) equals any of these.  | 
FdcPredicateIntegerLessThan objectThe predicate of the INTEGER_LESS_THAN type. It checks whether the attribute (which is an integer) is less than the reference value.
| Element | Type | Description | 
|---|---|---|
| value | integer | The reference value. The condition is fulfilled when the attribute (which is an integer) is less than this value.  | 
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.
| Element | Type | Description | 
|---|---|---|
| value | integer | The reference value. The condition is fulfilled when the attribute (which is an integer) is less than or equals this value.  | 
FdcPredicateIntegerGreaterThan objectThe predicate of the INTEGER_GREATER_THAN type. It checks whether the attribute (which is an integer) is greater than the reference value.
| Element | Type | Description | 
|---|---|---|
| value | integer | The reference value. The condition is fulfilled when the attribute (which is an integer) is greater than this value.  | 
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.
| Element | Type | Description | 
|---|---|---|
| value | integer | The reference value. The condition is fulfilled when the attribute (which is an integer) is greater than or equals this value.  | 
FdcPredicateLongEquals objectThe predicate of the LONG_EQUALS type. It checks whether the attribute (which is a long) equals one of the reference values.
| Element | Type | Description | 
|---|---|---|
| values | string[] | A list of reference values. The condition is fulfilled when the attribute (which is a long) equals any of these.  | 
FdcPredicateLongLessThan objectThe predicate of the LONG_LESS_THAN type. It checks whether the attribute (which is a long) is less than the reference value.
| Element | Type | Description | 
|---|---|---|
| value | string | The reference value. The condition is fulfilled when the attribute (which is a long) is less than this value.  | 
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.
| Element | Type | Description | 
|---|---|---|
| value | string | The reference value. The condition is fulfilled when the attribute (which is a long) is less than or equals this value.  | 
FdcPredicateLongGreaterThan objectThe predicate of the LONG_GREATER_THAN type. It checks whether the attribute (which is a long) is greater than the reference value.
| Element | Type | Description | 
|---|---|---|
| value | string | The reference value. The condition is fulfilled when the attribute (which is a long) is greater than this value.  | 
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.
| Element | Type | Description | 
|---|---|---|
| value | string | The reference value. The condition is fulfilled when the attribute (which is a long) is greater than or equals this value.  | 
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.
| Element | Type | Description | 
|---|---|---|
| keys | string[] | A list of reference values. The condition is fulfilled when the attribute (which is the key of a tag) equals any of these.  | 
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.
| Element | Type | Description | 
|---|---|---|
| keys | string[] | 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.  | 
| values | string[] | 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.  | 
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.
| Element | Type | Description | 
|---|---|---|
| values | string[] | 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, CustomApplication, Cics, Ims, CicsInteraction, ImsInteraction, EnterpriseServiceBus, ZosConnect.  | 
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.
| Element | Type | Description | 
|---|---|---|
| values | string[] | 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.  | 
FdcPredicateLongLessThan objectThe predicate of the LONG_LESS_THAN type. It checks whether the attribute (which is a long) is less than the reference value.
| Element | Type | Description | 
|---|---|---|
| value | string | The reference value. The condition is fulfilled when the attribute (which is a long) is less than this value.  | 
FdcPredicateLongLessThan objectThe predicate of the LONG_LESS_THAN type. It checks whether the attribute (which is a long) is less than the reference value.
| Element | Type | Description | 
|---|---|---|
| value | string | The reference value. The condition is fulfilled when the attribute (which is a long) is less than this value.  |