Class containing methods for operations with Images.
| Methods | Description |
|---|---|
| get() | Get image details |
| exists() | Check if image exists |
| create() | Create images |
| update() | Update image details |
| delete() | Delete images |
The table contains complete list of Image attributes.
| Parameter | Type | Description | Details |
|---|---|---|---|
| imageid | int | Image ID | |
| imagetype | int | Type | |
| name | string | Image description | |
| image | string | Image binary data | Sent as base64 encoded string |
The table contains list of common image-related tasks and possible implementation using Zabbix API
| Task | HOWTO |
|---|---|
| Add an image | Use method image.create |
| Add a bunch of new images | Use method image.create with array of Image objects |
| Retrieve image details by Image IDs | Use method image.get with parameter imageids |
| Retrieve images details by Image name | Use method image.get with parameter filter, specify "name": ["<your image>"] |