|
17 | 17 | * [TeamObject](#grafana_api.model.TeamObject)
|
18 | 18 | * [QueryDatasourceObject](#grafana_api.model.QueryDatasourceObject)
|
19 | 19 | * [QueryObject](#grafana_api.model.QueryObject)
|
| 20 | + * [FindAnnotationObject](#grafana_api.model.FindAnnotationObject) |
| 21 | + * [AnnotationObject](#grafana_api.model.AnnotationObject) |
| 22 | + * [AnnotationGraphiteObject](#grafana_api.model.AnnotationGraphiteObject) |
20 | 23 |
|
21 | 24 | <a id="grafana_api.model"></a>
|
22 | 25 |
|
@@ -293,3 +296,61 @@ The class includes all necessary variables to generate a query object that is ne
|
293 | 296 | - `scenario_id` _str_ - Specify the scenario_id of the query history
|
294 | 297 | - `datasource` _QueryDatasourceObject_ - Specify the datasource of the type QueryDatasourceObject
|
295 | 298 |
|
| 299 | +<a id="grafana_api.model.FindAnnotationObject"></a> |
| 300 | + |
| 301 | +## FindAnnotationObject Objects |
| 302 | + |
| 303 | +```python |
| 304 | +class FindAnnotationObject(NamedTuple) |
| 305 | +``` |
| 306 | + |
| 307 | +The class includes all necessary variables to generate a find annotation object |
| 308 | + |
| 309 | +**Arguments**: |
| 310 | + |
| 311 | +- `from_value` _int_ - Specify the optional from value (default None) |
| 312 | +- `to_value` _int_ - Specify the optional to value (default None) |
| 313 | +- `limit` _int_ - Specify the optional limit (default 100) |
| 314 | +- `alert_id` _int_ - Specify the optional alert id (default None) |
| 315 | +- `dashboard_id` _int_ - Specify the optional dashboard id (default None) |
| 316 | +- `panel_id` _int_ - Specify the optional panel_id (default None) |
| 317 | +- `user_id` _int_ - Specify the optional user id (default None) |
| 318 | +- `type` _str_ - Specify the optional type e.g. alert or annotation (default None) |
| 319 | +- `tags` _list_ - Specify the optional tags (default None) |
| 320 | + |
| 321 | +<a id="grafana_api.model.AnnotationObject"></a> |
| 322 | + |
| 323 | +## AnnotationObject Objects |
| 324 | + |
| 325 | +```python |
| 326 | +class AnnotationObject(NamedTuple) |
| 327 | +``` |
| 328 | + |
| 329 | +The class includes all necessary variables to generate an annotation object |
| 330 | + |
| 331 | +**Arguments**: |
| 332 | + |
| 333 | +- `time` _int_ - Specify the time as number in milliseconds |
| 334 | +- `time_end` _int_ - Specify the end time as number in milliseconds |
| 335 | +- `tags` _list_ - Specify the organization annotation tags from a data source that are not connected specifically to a dashboard or panel |
| 336 | +- `text` _str_ - Specify the annotation description message |
| 337 | +- `dashboard_uid` _str_ - Specify the optional dashboard_uid (default None) |
| 338 | +- `panel_id` _int_ - Specify the optional panel_id (default None) |
| 339 | + |
| 340 | +<a id="grafana_api.model.AnnotationGraphiteObject"></a> |
| 341 | + |
| 342 | +## AnnotationGraphiteObject Objects |
| 343 | + |
| 344 | +```python |
| 345 | +class AnnotationGraphiteObject(NamedTuple) |
| 346 | +``` |
| 347 | + |
| 348 | +The class includes all necessary variables to generate a Graphite annotation object |
| 349 | + |
| 350 | +**Arguments**: |
| 351 | + |
| 352 | +- `what` _str_ - Specify the event of the annotation |
| 353 | +- `tags` _list_ - Specify the organization annotation tags from a data source that are not connected specifically to a dashboard or panel |
| 354 | +- `when` _int_ - Specify the optional time as number in milliseconds |
| 355 | +- `data` _str_ - Specify the optional annotation description message |
| 356 | + |
0 commit comments