manual:api:reference:configuration:import

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:configuration:import [2020/11/03 12:45]
Andrejs.Griscenko [ZBXNEXT-6148] added a note about who can call this method
manual:api:reference:configuration:import [2020/11/20 16:21] (current)
martins-v template screens -> template dashboards
Line 36: Line 36:
 | templateLinkage | object | Rules on how to import template links. \\ \\ Supported parameters: \\ ''​createMissing''​ - ''​(boolean)''​ if set to ''​true'',​ new links between templates and host will be created; default: ''​false'';​ \\ ''​deleteMissing''​ - ''​(boolean)''​ if set to ''​true'',​ template links not present in the imported data will be deleted from the database; default: ''​false''​. | | templateLinkage | object | Rules on how to import template links. \\ \\ Supported parameters: \\ ''​createMissing''​ - ''​(boolean)''​ if set to ''​true'',​ new links between templates and host will be created; default: ''​false'';​ \\ ''​deleteMissing''​ - ''​(boolean)''​ if set to ''​true'',​ template links not present in the imported data will be deleted from the database; default: ''​false''​. |
 | templates | object | Rules on how to import templates. \\ \\ Supported parameters: \\ ''​createMissing''​ - ''​(boolean)''​ if set to ''​true'',​ new templates will be created; default: ''​false'';​ \\ ''​updateExisting''​ - ''​(boolean)''​ if set to ''​true'',​ existing templates will be updated; default: ''​false''​. | | templates | object | Rules on how to import templates. \\ \\ Supported parameters: \\ ''​createMissing''​ - ''​(boolean)''​ if set to ''​true'',​ new templates will be created; default: ''​false'';​ \\ ''​updateExisting''​ - ''​(boolean)''​ if set to ''​true'',​ existing templates will be updated; default: ''​false''​. |
-templateScreens ​| object | Rules on how to import template ​screens. \\ \\ Supported parameters: \\ ''​createMissing''​ - ''​(boolean)''​ if set to ''​true'',​ new template screens will be created; default: ''​false'';​ \\ ''​updateExisting''​ - ''​(boolean)''​ if set to ''​true'',​ existing template screens will be updated; default: ''​false'';​ \\ ''​deleteMissing''​ - ''​(boolean)''​ if set to ''​true'',​ template screens not present in the imported data will be deleted from the database; default: ''​false''​. |+templateDashboards ​| object | Rules on how to import template ​dashboards. \\ \\ Supported parameters: \\ ''​createMissing''​ - ''​(boolean)''​ if set to ''​true'',​ new template screens will be created; default: ''​false'';​ \\ ''​updateExisting''​ - ''​(boolean)''​ if set to ''​true'',​ existing template screens will be updated; default: ''​false'';​ \\ ''​deleteMissing''​ - ''​(boolean)''​ if set to ''​true'',​ template screens not present in the imported data will be deleted from the database; default: ''​false''​. |
 | triggers | object | Rules on how to import triggers. \\ \\ Supported parameters: \\ ''​createMissing''​ - ''​(boolean)''​ if set to ''​true'',​ new triggers will be created; default: ''​false'';​ \\ ''​updateExisting''​ - ''​(boolean)''​ if set to ''​true'',​ existing triggers will be updated; default: ''​false'';​ \\ ''​deleteMissing''​ - ''​(boolean)''​ if set to ''​true'',​ triggers not present in the imported data will be deleted from the database; default: ''​false''​. | | triggers | object | Rules on how to import triggers. \\ \\ Supported parameters: \\ ''​createMissing''​ - ''​(boolean)''​ if set to ''​true'',​ new triggers will be created; default: ''​false'';​ \\ ''​updateExisting''​ - ''​(boolean)''​ if set to ''​true'',​ existing triggers will be updated; default: ''​false'';​ \\ ''​deleteMissing''​ - ''​(boolean)''​ if set to ''​true'',​ triggers not present in the imported data will be deleted from the database; default: ''​false''​. |
 | valueMaps | object | Rules on how to import value maps. \\ \\ Supported parameters: \\ ''​createMissing''​ - ''​(boolean)''​ if set to ''​true'',​ new value maps will be created; default: ''​false'';​ \\ ''​updateExisting''​ - ''​(boolean)''​ if set to ''​true'',​ existing value maps will be updated; default: ''​false''​. | | valueMaps | object | Rules on how to import value maps. \\ \\ Supported parameters: \\ ''​createMissing''​ - ''​(boolean)''​ if set to ''​true'',​ new value maps will be created; default: ''​false'';​ \\ ''​updateExisting''​ - ''​(boolean)''​ if set to ''​true'',​ existing value maps will be updated; default: ''​false''​. |