manual:api:reference:triggerprototype:get

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
manual:api:reference:triggerprototype:get [2019/01/28 14:50]
sasha <code js> => <code java>
manual:api:reference:triggerprototype:get [2020/08/18 10:36] (current)
martins-v adding a missing 'dependencies' parameter (ZBX-18268)
Line 31: Line 31:
 ^ ||| ^ |||
 | expandExpression | flag | Expand functions and macros in the trigger expression. | | expandExpression | flag | Expand functions and macros in the trigger expression. |
 +| selectDependencies | query | Return trigger prototypes and triggers that the trigger prototype depends on in the ''​dependencies''​ property. |
 | selectDiscoveryRule | query | Return the LLD rule that the trigger prototype belongs to. | | selectDiscoveryRule | query | Return the LLD rule that the trigger prototype belongs to. |
 | selectFunctions | query | Return functions used in the trigger prototype in the ''​functions''​ property. \\ \\ The function objects represents the functions used in the trigger expression and has the following properties: \\ ''​functionid''​ - //​(string)//​ ID of the function; \\ ''​itemid''​ - //​(string)//​ ID of the item used in the function;\\ ''​function''​ - //​(string)//​ name of the function;\\ ''​parameter''​ - //​(string)//​ parameter passed to the function. | | selectFunctions | query | Return functions used in the trigger prototype in the ''​functions''​ property. \\ \\ The function objects represents the functions used in the trigger expression and has the following properties: \\ ''​functionid''​ - //​(string)//​ ID of the function; \\ ''​itemid''​ - //​(string)//​ ID of the item used in the function;\\ ''​function''​ - //​(string)//​ name of the function;\\ ''​parameter''​ - //​(string)//​ parameter passed to the function. |
Line 36: Line 37:
 | selectHosts | query | Return the hosts that the trigger prototype belongs to in the ''​hosts''​ property. | | selectHosts | query | Return the hosts that the trigger prototype belongs to in the ''​hosts''​ property. |
 | selectItems | query | Return items and item prototypes used the trigger prototype in the ''​items''​ property. | | selectItems | query | Return items and item prototypes used the trigger prototype in the ''​items''​ property. |
-| selectDependencies | query | Return trigger prototypes and triggers that the trigger prototype depends on in the ''​dependencies''​ property. | 
 | selectTags | query | Return the trigger prototype tags in ''​tags''​ property. | | selectTags | query | Return the trigger prototype tags in ''​tags''​ property. |
 ^ ||| ^ |||