xautomata-hive 3.16.4__tar.gz → 3.16.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {xautomata-hive-3.16.4/xautomata_hive.egg-info → xautomata_hive-3.16.6}/PKG-INFO +1 -1
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/cost_tree_nodes.py +4 -4
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/customers.py +69 -2
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/dashboards.py +141 -17
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/login.py +3 -2
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/objects.py +48 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/probes.py +3 -2
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/services.py +7 -5
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/users.py +69 -2
- xautomata_hive-3.16.6/hive/version.py +1 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6/xautomata_hive.egg-info}/PKG-INFO +1 -1
- xautomata-hive-3.16.4/hive/version.py +0 -1
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/LICENSE +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/README.md +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/__init__.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/api.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/__init__.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/acl_docs.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/acl_overrides.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/analytics.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/anomalies.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/calendars.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/contacts.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/cost_tagging.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/cost_tags.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/cost_tree_resources.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/cost_views.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/dispatchers.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/downtimes.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/external_tickets.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/features.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/firmware_updates.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/google.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/groups.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/jobs.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/last_status.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/messages.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/metric_ingest.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/metric_types.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/metrics.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/microsoft.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/notification_provider_types.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/notification_providers.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/opening_reasons.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/probe_types.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/probes_log_ingest.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/profile_topics.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/reason_for_closure.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/retention_rules.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/schedules.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/sites.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/terms_and_conditions.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/tree_hierarchy.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/ts_cost_azure_raw.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/ts_cost_management.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/ts_metric_status.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/ts_metric_value.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/ts_ntop_flows.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/ts_service_status.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/ts_service_value.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/users_notifications.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/virtual_domains.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/webhooks.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/widget_groups.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/widgets.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/decorators.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/exceptions.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/infrastrucure_keys.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/tools.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/setup.cfg +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/setup.py +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/xautomata_hive.egg-info/SOURCES.txt +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/xautomata_hive.egg-info/dependency_links.txt +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/xautomata_hive.egg-info/requires.txt +0 -0
- {xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/xautomata_hive.egg-info/top_level.txt +0 -0
@@ -191,16 +191,16 @@ class CostTreeNodes(ApiManager):
|
|
191
191
|
**params: additional parameters for the API.
|
192
192
|
|
193
193
|
Keyword Args:
|
194
|
-
|
195
|
-
|
194
|
+
date_start (string required): additional filter - parameter
|
195
|
+
date_end (string required): additional filter - parameter
|
196
196
|
skip (integer optional): numero di oggetti che si vogliono saltare nella risposta. Default to 0. - parameter
|
197
197
|
limit (integer optional): numero di oggetti massimi che si vogliono ottenere. Default to 1_000_000. - parameter
|
198
198
|
|
199
199
|
Returns: list"""
|
200
200
|
if kwargs is None:
|
201
201
|
kwargs = dict()
|
202
|
-
official_params_list = ['
|
203
|
-
params.get('
|
202
|
+
official_params_list = ['date_start', 'date_end', 'skip', 'limit']
|
203
|
+
params.get('date_start'), params.get('date_end'), params.get('skip'
|
204
204
|
), params.get('limit')
|
205
205
|
if not self._silence_warning:
|
206
206
|
warning_wrong_parameters(self.
|
@@ -227,12 +227,13 @@ class Customers(ApiManager):
|
|
227
227
|
|
228
228
|
Keyword Args:
|
229
229
|
app_id (string optional): additional filter - parameter
|
230
|
+
refresh (string optional): additional filter - parameter
|
230
231
|
|
231
232
|
Returns: list"""
|
232
233
|
if kwargs is None:
|
233
234
|
kwargs = dict()
|
234
|
-
official_params_list = ['app_id']
|
235
|
-
params.get('app_id')
|
235
|
+
official_params_list = ['app_id', 'refresh']
|
236
|
+
params.get('app_id'), params.get('refresh')
|
236
237
|
if not self._silence_warning:
|
237
238
|
warning_wrong_parameters(self.customers_relation_request_create
|
238
239
|
.__name__, params, official_params_list)
|
@@ -733,6 +734,72 @@ class Customers(ApiManager):
|
|
733
734
|
warm_start=warm_start, **kwargs)
|
734
735
|
return response
|
735
736
|
|
737
|
+
def customers_dashboards(self, uuid: str, warm_start: bool = False,
|
738
|
+
single_page: bool = False, page_size: int = 5000,
|
739
|
+
kwargs: dict = None, **params) -> list:
|
740
|
+
"""List Dashboard
|
741
|
+
|
742
|
+
Args:
|
743
|
+
uuid (str, required): uuid
|
744
|
+
warm_start (bool, optional): salva la risposta in un file e se viene richiamata la stessa funzione con gli stessi argomenti restituisce il contenuto del file. Default to False.
|
745
|
+
single_page (bool, optional): se False la risposta viene ottenuta a step per non appesantire le API. Default to False.
|
746
|
+
page_size (int, optional): Numero di oggetti per pagina se single_page == False. Default to 5000.
|
747
|
+
kwargs (dict, optional): additional parameters for execute. Default to None.
|
748
|
+
**params: additional parameters for the API.
|
749
|
+
|
750
|
+
Keyword Args:
|
751
|
+
skip (integer optional): numero di oggetti che si vogliono saltare nella risposta. Default to 0. - parameter
|
752
|
+
limit (integer optional): numero di oggetti massimi che si vogliono ottenere. Default to 1_000_000. - parameter
|
753
|
+
like (boolean optional): Se True, eventuali filtri richiesti dalla API vengono presi come porzioni di testo, se False il matching sul campo dei filtri deve essere esatto. Default to True. - parameter
|
754
|
+
join (boolean optional): Se join = true, ogni riga restituita conterra' chiavi aggiuntive che fanno riferimento ad altre entita', con cui la riga ha relazioni 1:1. Default to False - parameter
|
755
|
+
count (boolean optional): Se True nel header della risposta e' presente la dimensione massima a db della chiamata fatta, sconsigliabile perche raddoppia il tempo per chiamata. Default to False. - parameter
|
756
|
+
|
757
|
+
Returns: list"""
|
758
|
+
if kwargs is None:
|
759
|
+
kwargs = dict()
|
760
|
+
official_params_list = ['skip', 'limit', 'like', 'join', 'count']
|
761
|
+
params.get('skip'), params.get('limit'), params.get('like'
|
762
|
+
), params.get('join'), params.get('count')
|
763
|
+
if not self._silence_warning:
|
764
|
+
warning_wrong_parameters(self.customers_dashboards.__name__,
|
765
|
+
params, official_params_list)
|
766
|
+
response = self.execute('GET', path=f'/customers/{uuid}/dashboards',
|
767
|
+
single_page=single_page, page_size=page_size, warm_start=
|
768
|
+
warm_start, params=params, **kwargs)
|
769
|
+
return response
|
770
|
+
|
771
|
+
def customers_dashboards_create(self, uuid: str, uuid_dashboard: str,
|
772
|
+
kwargs: dict = None) -> list:
|
773
|
+
"""Create Customer Dashboard Association
|
774
|
+
|
775
|
+
Args:
|
776
|
+
uuid (str, required): uuid
|
777
|
+
uuid_dashboard (str, required): uuid_dashboard
|
778
|
+
kwargs (dict, optional): additional parameters for execute. Default to None.
|
779
|
+
|
780
|
+
Returns: list"""
|
781
|
+
if kwargs is None:
|
782
|
+
kwargs = dict()
|
783
|
+
response = self.execute('POST', path=
|
784
|
+
f'/customers/{uuid}/dashboards/{uuid_dashboard}', **kwargs)
|
785
|
+
return response
|
786
|
+
|
787
|
+
def customers_dashboards_delete(self, uuid: str, uuid_dashboard: str,
|
788
|
+
kwargs: dict = None) -> list:
|
789
|
+
"""Remove Customer Dashboard Association
|
790
|
+
|
791
|
+
Args:
|
792
|
+
uuid (str, required): uuid
|
793
|
+
uuid_dashboard (str, required): uuid_dashboard
|
794
|
+
kwargs (dict, optional): additional parameters for execute. Default to None.
|
795
|
+
|
796
|
+
Returns: list"""
|
797
|
+
if kwargs is None:
|
798
|
+
kwargs = dict()
|
799
|
+
response = self.execute('DELETE', path=
|
800
|
+
f'/customers/{uuid}/dashboards/{uuid_dashboard}', **kwargs)
|
801
|
+
return response
|
802
|
+
|
736
803
|
def customers_bulk(self, payload: list, warm_start: bool = False,
|
737
804
|
single_page: bool = False, page_size: int = 50, kwargs: dict = None,
|
738
805
|
**params) -> list:
|
@@ -23,7 +23,6 @@ class Dashboards(ApiManager):
|
|
23
23
|
description (string optional): additional filter - parameter
|
24
24
|
type (string optional): additional filter - parameter
|
25
25
|
username (string optional): additional filter - parameter
|
26
|
-
profile (string optional): additional filter - parameter
|
27
26
|
priority (integer optional): additional filter - parameter
|
28
27
|
refresh_interval (integer optional): additional filter - parameter
|
29
28
|
skip (integer optional): numero di oggetti che si vogliono saltare nella risposta. Default to 0. - parameter
|
@@ -36,14 +35,13 @@ class Dashboards(ApiManager):
|
|
36
35
|
if kwargs is None:
|
37
36
|
kwargs = dict()
|
38
37
|
official_params_list = ['sort_by', 'null_fields', 'name',
|
39
|
-
'description', 'type', 'username', '
|
38
|
+
'description', 'type', 'username', 'priority',
|
40
39
|
'refresh_interval', 'skip', 'limit', 'like', 'join', 'count']
|
41
40
|
params.get('sort_by'), params.get('null_fields'), params.get('name'
|
42
41
|
), params.get('description'), params.get('type'), params.get(
|
43
|
-
'username'), params.get('
|
44
|
-
), params.get('
|
45
|
-
|
46
|
-
'count')
|
42
|
+
'username'), params.get('priority'), params.get('refresh_interval'
|
43
|
+
), params.get('skip'), params.get('limit'), params.get('like'
|
44
|
+
), params.get('join'), params.get('count')
|
47
45
|
if not self._silence_warning:
|
48
46
|
warning_wrong_parameters(self.dashboards.__name__, params,
|
49
47
|
official_params_list)
|
@@ -64,7 +62,6 @@ class Dashboards(ApiManager):
|
|
64
62
|
type (string optional): additional filter - payload
|
65
63
|
username (string optional): additional filter - payload
|
66
64
|
description (string optional): additional filter - payload
|
67
|
-
profile (string required): additional filter - payload
|
68
65
|
priority (integer optional): additional filter - payload
|
69
66
|
refresh_interval (integer optional): additional filter - payload
|
70
67
|
image_name (string optional): additional filter - payload
|
@@ -73,11 +70,10 @@ class Dashboards(ApiManager):
|
|
73
70
|
if kwargs is None:
|
74
71
|
kwargs = dict()
|
75
72
|
official_payload_list = ['name', 'type', 'username', 'description',
|
76
|
-
'
|
73
|
+
'priority', 'refresh_interval', 'image_name']
|
77
74
|
payload.get('name'), payload.get('type'), payload.get('username'
|
78
|
-
), payload.get('description'), payload.get('
|
79
|
-
|
80
|
-
'image_name')
|
75
|
+
), payload.get('description'), payload.get('priority'
|
76
|
+
), payload.get('refresh_interval'), payload.get('image_name')
|
81
77
|
if not self._silence_warning:
|
82
78
|
warning_wrong_parameters(self.dashboards_create.__name__,
|
83
79
|
payload, official_payload_list)
|
@@ -126,7 +122,6 @@ class Dashboards(ApiManager):
|
|
126
122
|
type (string optional): additional filter - payload
|
127
123
|
username (string optional): additional filter - payload
|
128
124
|
description (string optional): additional filter - payload
|
129
|
-
profile (string optional): additional filter - payload
|
130
125
|
priority (integer optional): additional filter - payload
|
131
126
|
refresh_interval (integer optional): additional filter - payload
|
132
127
|
image_name (string optional): additional filter - payload
|
@@ -135,11 +130,10 @@ class Dashboards(ApiManager):
|
|
135
130
|
if kwargs is None:
|
136
131
|
kwargs = dict()
|
137
132
|
official_payload_list = ['name', 'type', 'username', 'description',
|
138
|
-
'
|
133
|
+
'priority', 'refresh_interval', 'image_name']
|
139
134
|
payload.get('name'), payload.get('type'), payload.get('username'
|
140
|
-
), payload.get('description'), payload.get('
|
141
|
-
|
142
|
-
'image_name')
|
135
|
+
), payload.get('description'), payload.get('priority'
|
136
|
+
), payload.get('refresh_interval'), payload.get('image_name')
|
143
137
|
if not self._silence_warning:
|
144
138
|
warning_wrong_parameters(self.dashboards_put.__name__, payload,
|
145
139
|
official_payload_list)
|
@@ -396,6 +390,72 @@ class Dashboards(ApiManager):
|
|
396
390
|
f'/dashboards/dashboard_widget/{uuid}', **kwargs)
|
397
391
|
return response
|
398
392
|
|
393
|
+
def dashboards_customers(self, uuid: str, warm_start: bool = False,
|
394
|
+
single_page: bool = False, page_size: int = 5000,
|
395
|
+
kwargs: dict = None, **params) -> list:
|
396
|
+
"""List Dashboard
|
397
|
+
|
398
|
+
Args:
|
399
|
+
uuid (str, required): uuid
|
400
|
+
warm_start (bool, optional): salva la risposta in un file e se viene richiamata la stessa funzione con gli stessi argomenti restituisce il contenuto del file. Default to False.
|
401
|
+
single_page (bool, optional): se False la risposta viene ottenuta a step per non appesantire le API. Default to False.
|
402
|
+
page_size (int, optional): Numero di oggetti per pagina se single_page == False. Default to 5000.
|
403
|
+
kwargs (dict, optional): additional parameters for execute. Default to None.
|
404
|
+
**params: additional parameters for the API.
|
405
|
+
|
406
|
+
Keyword Args:
|
407
|
+
skip (integer optional): numero di oggetti che si vogliono saltare nella risposta. Default to 0. - parameter
|
408
|
+
limit (integer optional): numero di oggetti massimi che si vogliono ottenere. Default to 1_000_000. - parameter
|
409
|
+
like (boolean optional): Se True, eventuali filtri richiesti dalla API vengono presi come porzioni di testo, se False il matching sul campo dei filtri deve essere esatto. Default to True. - parameter
|
410
|
+
join (boolean optional): Se join = true, ogni riga restituita conterra' chiavi aggiuntive che fanno riferimento ad altre entita', con cui la riga ha relazioni 1:1. Default to False - parameter
|
411
|
+
count (boolean optional): Se True nel header della risposta e' presente la dimensione massima a db della chiamata fatta, sconsigliabile perche raddoppia il tempo per chiamata. Default to False. - parameter
|
412
|
+
|
413
|
+
Returns: list"""
|
414
|
+
if kwargs is None:
|
415
|
+
kwargs = dict()
|
416
|
+
official_params_list = ['skip', 'limit', 'like', 'join', 'count']
|
417
|
+
params.get('skip'), params.get('limit'), params.get('like'
|
418
|
+
), params.get('join'), params.get('count')
|
419
|
+
if not self._silence_warning:
|
420
|
+
warning_wrong_parameters(self.dashboards_customers.__name__,
|
421
|
+
params, official_params_list)
|
422
|
+
response = self.execute('GET', path=f'/dashboards/{uuid}/customers',
|
423
|
+
single_page=single_page, page_size=page_size, warm_start=
|
424
|
+
warm_start, params=params, **kwargs)
|
425
|
+
return response
|
426
|
+
|
427
|
+
def dashboards_customers_create(self, uuid: str, uuid_customer: str,
|
428
|
+
kwargs: dict = None) -> list:
|
429
|
+
"""Create Customer Dashboard Association
|
430
|
+
|
431
|
+
Args:
|
432
|
+
uuid (str, required): uuid
|
433
|
+
uuid_customer (str, required): uuid_customer
|
434
|
+
kwargs (dict, optional): additional parameters for execute. Default to None.
|
435
|
+
|
436
|
+
Returns: list"""
|
437
|
+
if kwargs is None:
|
438
|
+
kwargs = dict()
|
439
|
+
response = self.execute('POST', path=
|
440
|
+
f'/dashboards/{uuid}/customers/{uuid_customer}', **kwargs)
|
441
|
+
return response
|
442
|
+
|
443
|
+
def dashboards_dashboards_delete(self, uuid: str, uuid_customer: str,
|
444
|
+
kwargs: dict = None) -> list:
|
445
|
+
"""Remove Customer Dashboard Association
|
446
|
+
|
447
|
+
Args:
|
448
|
+
uuid (str, required): uuid
|
449
|
+
uuid_customer (str, required): uuid_customer
|
450
|
+
kwargs (dict, optional): additional parameters for execute. Default to None.
|
451
|
+
|
452
|
+
Returns: list"""
|
453
|
+
if kwargs is None:
|
454
|
+
kwargs = dict()
|
455
|
+
response = self.execute('DELETE', path=
|
456
|
+
f'/dashboards/{uuid}/dashboards/{uuid_customer}', **kwargs)
|
457
|
+
return response
|
458
|
+
|
399
459
|
def dashboards_bulk(self, payload: list, warm_start: bool = False,
|
400
460
|
single_page: bool = False, page_size: int = 50, kwargs: dict = None,
|
401
461
|
**params) -> list:
|
@@ -454,7 +514,6 @@ class Dashboards(ApiManager):
|
|
454
514
|
"type": "string", optional
|
455
515
|
"username": "string", optional
|
456
516
|
"description": "string", optional
|
457
|
-
"profile": "string", required
|
458
517
|
"priority": "integer", optional
|
459
518
|
"refresh_interval": "integer", optional
|
460
519
|
"image_name": "string", optional
|
@@ -499,6 +558,71 @@ class Dashboards(ApiManager):
|
|
499
558
|
**kwargs)
|
500
559
|
return response
|
501
560
|
|
561
|
+
def dashboards_users_create_bulk(self, payload: list,
|
562
|
+
single_page: bool = False, page_size: int = 50, kwargs: dict = None,
|
563
|
+
**params) -> list:
|
564
|
+
"""Bulk Link Users
|
565
|
+
|
566
|
+
Args:
|
567
|
+
payload (list[dict], optional): List dict to create.
|
568
|
+
single_page (bool, optional): se False la risposta viene ottenuta a step per non appesantire le API. Default to False.
|
569
|
+
page_size (int, optional): Numero di oggetti per pagina se single_page == False. Default to 50.
|
570
|
+
kwargs (dict, optional): additional parameters for execute. Default to None.
|
571
|
+
**params: additional parameters for the API.
|
572
|
+
|
573
|
+
Keyword Args:
|
574
|
+
best_effort (boolean optional): additional filter - parameter
|
575
|
+
|
576
|
+
Examples:
|
577
|
+
payload =
|
578
|
+
[
|
579
|
+
{
|
580
|
+
"username": "string", required
|
581
|
+
"uuid_dashboard": "string", required
|
582
|
+
}
|
583
|
+
]
|
584
|
+
|
585
|
+
Returns: list"""
|
586
|
+
if kwargs is None:
|
587
|
+
kwargs = dict()
|
588
|
+
official_params_list = ['best_effort']
|
589
|
+
params.get('best_effort')
|
590
|
+
if not self._silence_warning:
|
591
|
+
warning_wrong_parameters(self.dashboards_users_create_bulk.
|
592
|
+
__name__, params, official_params_list)
|
593
|
+
response = self.execute('POST', path=
|
594
|
+
f'/dashboards/bulk/create/users', single_page=single_page,
|
595
|
+
page_size=page_size, params=params, payload=payload, **kwargs)
|
596
|
+
return response
|
597
|
+
|
598
|
+
def dashboards_users_delete_bulk(self, payload: list,
|
599
|
+
single_page: bool = False, page_size: int = 50, kwargs: dict = None
|
600
|
+
) -> list:
|
601
|
+
"""Bulk Unlink Users
|
602
|
+
|
603
|
+
Args:
|
604
|
+
payload (list[dict], optional): List dict to create.
|
605
|
+
single_page (bool, optional): se False la risposta viene ottenuta a step per non appesantire le API. Default to False.
|
606
|
+
page_size (int, optional): Numero di oggetti per pagina se single_page == False. Default to 50.
|
607
|
+
kwargs (dict, optional): additional parameters for execute. Default to None.
|
608
|
+
|
609
|
+
Examples:
|
610
|
+
payload =
|
611
|
+
[
|
612
|
+
{
|
613
|
+
"username": "string", required
|
614
|
+
"uuid_dashboard": "string", required
|
615
|
+
}
|
616
|
+
]
|
617
|
+
|
618
|
+
Returns: list"""
|
619
|
+
if kwargs is None:
|
620
|
+
kwargs = dict()
|
621
|
+
response = self.execute('POST', path=
|
622
|
+
f'/dashboards/bulk/delete/users', single_page=single_page,
|
623
|
+
page_size=page_size, payload=payload, **kwargs)
|
624
|
+
return response
|
625
|
+
|
502
626
|
def dashboards_widgets_create_bulk(self, payload: list,
|
503
627
|
single_page: bool = False, page_size: int = 50, kwargs: dict = None,
|
504
628
|
**params) -> list:
|
@@ -150,15 +150,16 @@ class Login(ApiManager):
|
|
150
150
|
password (string optional): additional filter - payload
|
151
151
|
email (string optional): additional filter - payload
|
152
152
|
stage (string optional): additional filter - payload
|
153
|
+
active (boolean optional): additional filter - payload
|
153
154
|
|
154
155
|
Returns: list"""
|
155
156
|
if kwargs is None:
|
156
157
|
kwargs = dict()
|
157
158
|
official_payload_list = ['phone', 'verified_email', 'profile',
|
158
|
-
'password', 'email', 'stage']
|
159
|
+
'password', 'email', 'stage', 'active']
|
159
160
|
payload.get('phone'), payload.get('verified_email'), payload.get(
|
160
161
|
'profile'), payload.get('password'), payload.get('email'
|
161
|
-
), payload.get('stage')
|
162
|
+
), payload.get('stage'), payload.get('active')
|
162
163
|
if not self._silence_warning:
|
163
164
|
warning_wrong_parameters(self.login_current_user_put.__name__,
|
164
165
|
payload, official_payload_list)
|
@@ -769,6 +769,54 @@ class Objects(ApiManager):
|
|
769
769
|
page_size=page_size, payload=payload, **kwargs)
|
770
770
|
return response
|
771
771
|
|
772
|
+
def objects_downtimes_bulk(self, payload: list,
|
773
|
+
warm_start: bool = False, single_page: bool = False,
|
774
|
+
page_size: int = 50, kwargs: dict = None, **params) -> list:
|
775
|
+
"""Bulk Read Downtimes
|
776
|
+
|
777
|
+
Args:
|
778
|
+
payload (list[dict], optional): List dict to create.
|
779
|
+
warm_start (bool, optional): salva la risposta in un file e se viene richiamata la stessa funzione con gli stessi argomenti restituisce il contenuto del file. Default to False.
|
780
|
+
single_page (bool, optional): se False la risposta viene ottenuta a step per non appesantire le API. Default to False.
|
781
|
+
page_size (int, optional): Numero di oggetti per pagina se single_page == False. Default to 50.
|
782
|
+
kwargs (dict, optional): additional parameters for execute. Default to None.
|
783
|
+
**params: additional parameters for the API.
|
784
|
+
|
785
|
+
Keyword Args:
|
786
|
+
code (string optional): additional filter - parameter
|
787
|
+
status (string optional): additional filter - parameter
|
788
|
+
active_at_timestamp (string optional): additional filter - parameter
|
789
|
+
active_after_timestamp (string optional): additional filter - parameter
|
790
|
+
skip (integer optional): numero di oggetti che si vogliono saltare nella risposta. Default to 0. - parameter
|
791
|
+
limit (integer optional): numero di oggetti massimi che si vogliono ottenere. Default to 1_000_000. - parameter
|
792
|
+
like (boolean optional): Se True, eventuali filtri richiesti dalla API vengono presi come porzioni di testo, se False il matching sul campo dei filtri deve essere esatto. Default to True. - parameter
|
793
|
+
join (boolean optional): Se join = true, ogni riga restituita conterra' chiavi aggiuntive che fanno riferimento ad altre entita', con cui la riga ha relazioni 1:1. Default to False - parameter
|
794
|
+
count (boolean optional): Se True nel header della risposta e' presente la dimensione massima a db della chiamata fatta, sconsigliabile perche raddoppia il tempo per chiamata. Default to False. - parameter
|
795
|
+
|
796
|
+
Examples:
|
797
|
+
payload =
|
798
|
+
[
|
799
|
+
"uuid": "str", required
|
800
|
+
]
|
801
|
+
|
802
|
+
Returns: list"""
|
803
|
+
if kwargs is None:
|
804
|
+
kwargs = dict()
|
805
|
+
official_params_list = ['code', 'status', 'active_at_timestamp',
|
806
|
+
'active_after_timestamp', 'skip', 'limit', 'like', 'join', 'count']
|
807
|
+
params.get('code'), params.get('status'), params.get(
|
808
|
+
'active_at_timestamp'), params.get('active_after_timestamp'
|
809
|
+
), params.get('skip'), params.get('limit'), params.get('like'
|
810
|
+
), params.get('join'), params.get('count')
|
811
|
+
if not self._silence_warning:
|
812
|
+
warning_wrong_parameters(self.objects_downtimes_bulk.__name__,
|
813
|
+
params, official_params_list)
|
814
|
+
response = self.execute('POST', path=
|
815
|
+
f'/objects/bulk/read/downtimes/', single_page=single_page,
|
816
|
+
page_size=page_size, warm_start=warm_start, params=params,
|
817
|
+
payload=payload, **kwargs)
|
818
|
+
return response
|
819
|
+
|
772
820
|
def objects_probes_create_bulk(self, payload: list,
|
773
821
|
single_page: bool = False, page_size: int = 50, kwargs: dict = None,
|
774
822
|
**params) -> list:
|
@@ -99,14 +99,15 @@ class Probes(ApiManager):
|
|
99
99
|
|
100
100
|
Keyword Args:
|
101
101
|
join (boolean optional): Se join = true, ogni riga restituita conterra' chiavi aggiuntive che fanno riferimento ad altre entita', con cui la riga ha relazioni 1:1. Default to False - parameter
|
102
|
+
extract_severity (boolean optional): Se True nella risposta e' anche presente la severita, Default to False. - parameter
|
102
103
|
|
103
104
|
Returns: list"""
|
104
105
|
if kwargs is None:
|
105
106
|
kwargs = dict()
|
106
107
|
kwargs, params = handling_single_page_methods(kwargs=kwargs, params
|
107
108
|
=params)
|
108
|
-
official_params_list = ['join']
|
109
|
-
params.get('join')
|
109
|
+
official_params_list = ['join', 'extract_severity']
|
110
|
+
params.get('join'), params.get('extract_severity')
|
110
111
|
if not self._silence_warning:
|
111
112
|
warning_wrong_parameters(self.probe.__name__, params,
|
112
113
|
official_params_list)
|
@@ -425,6 +425,7 @@ class Services(ApiManager):
|
|
425
425
|
service_name (string optional): additional filter - parameter
|
426
426
|
service_description (string optional): additional filter - parameter
|
427
427
|
service_status (string optional): additional filter - parameter
|
428
|
+
service_automata_domain (string optional): additional filter - parameter
|
428
429
|
skip (integer optional): numero di oggetti che si vogliono saltare nella risposta. Default to 0. - parameter
|
429
430
|
limit (integer optional): numero di oggetti massimi che si vogliono ottenere. Default to 1_000_000. - parameter
|
430
431
|
like (boolean optional): Se True, eventuali filtri richiesti dalla API vengono presi come porzioni di testo, se False il matching sul campo dei filtri deve essere esatto. Default to True. - parameter
|
@@ -444,8 +445,9 @@ class Services(ApiManager):
|
|
444
445
|
'metric_type_status', 'uuid_metric', 'metric_name',
|
445
446
|
'metric_status', 'metric_profile', 'service_uuid_parent',
|
446
447
|
'uuid_service', 'service_profile', 'service_name',
|
447
|
-
'service_description', 'service_status',
|
448
|
-
'like', 'join', 'count'
|
448
|
+
'service_description', 'service_status',
|
449
|
+
'service_automata_domain', 'skip', 'limit', 'like', 'join', 'count'
|
450
|
+
]
|
449
451
|
params.get('sort_by'), params.get('null_fields'), params.get(
|
450
452
|
'uuid_customer'), params.get('customer_code'), params.get(
|
451
453
|
'customer_status'), params.get('uuid_site'), params.get('site_code'
|
@@ -462,9 +464,9 @@ class Services(ApiManager):
|
|
462
464
|
), params.get('metric_profile'), params.get('service_uuid_parent'
|
463
465
|
), params.get('uuid_service'), params.get('service_profile'
|
464
466
|
), params.get('service_name'), params.get('service_description'
|
465
|
-
), params.get('service_status'), params.get(
|
466
|
-
'
|
467
|
-
'count')
|
467
|
+
), params.get('service_status'), params.get(
|
468
|
+
'service_automata_domain'), params.get('skip'), params.get('limit'
|
469
|
+
), params.get('like'), params.get('join'), params.get('count')
|
468
470
|
if not self._silence_warning:
|
469
471
|
warning_wrong_parameters(self.services_query.__name__, params,
|
470
472
|
official_params_list)
|
@@ -905,6 +905,71 @@ class Users(ApiManager):
|
|
905
905
|
**kwargs)
|
906
906
|
return response
|
907
907
|
|
908
|
+
def users_dashboards_create_bulk(self, payload: list,
|
909
|
+
single_page: bool = False, page_size: int = 50, kwargs: dict = None,
|
910
|
+
**params) -> list:
|
911
|
+
"""Bulk Link Dashboards
|
912
|
+
|
913
|
+
Args:
|
914
|
+
payload (list[dict], optional): List dict to create.
|
915
|
+
single_page (bool, optional): se False la risposta viene ottenuta a step per non appesantire le API. Default to False.
|
916
|
+
page_size (int, optional): Numero di oggetti per pagina se single_page == False. Default to 50.
|
917
|
+
kwargs (dict, optional): additional parameters for execute. Default to None.
|
918
|
+
**params: additional parameters for the API.
|
919
|
+
|
920
|
+
Keyword Args:
|
921
|
+
best_effort (boolean optional): additional filter - parameter
|
922
|
+
|
923
|
+
Examples:
|
924
|
+
payload =
|
925
|
+
[
|
926
|
+
{
|
927
|
+
"username": "string", required
|
928
|
+
"uuid_dashboard": "string", required
|
929
|
+
}
|
930
|
+
]
|
931
|
+
|
932
|
+
Returns: list"""
|
933
|
+
if kwargs is None:
|
934
|
+
kwargs = dict()
|
935
|
+
official_params_list = ['best_effort']
|
936
|
+
params.get('best_effort')
|
937
|
+
if not self._silence_warning:
|
938
|
+
warning_wrong_parameters(self.users_dashboards_create_bulk.
|
939
|
+
__name__, params, official_params_list)
|
940
|
+
response = self.execute('POST', path=
|
941
|
+
f'/users/bulk/create/dashboards', single_page=single_page,
|
942
|
+
page_size=page_size, params=params, payload=payload, **kwargs)
|
943
|
+
return response
|
944
|
+
|
945
|
+
def users_dashboards_delete_bulk(self, payload: list,
|
946
|
+
single_page: bool = False, page_size: int = 50, kwargs: dict = None
|
947
|
+
) -> list:
|
948
|
+
"""Bulk Unlink Dashboards
|
949
|
+
|
950
|
+
Args:
|
951
|
+
payload (list[dict], optional): List dict to create.
|
952
|
+
single_page (bool, optional): se False la risposta viene ottenuta a step per non appesantire le API. Default to False.
|
953
|
+
page_size (int, optional): Numero di oggetti per pagina se single_page == False. Default to 50.
|
954
|
+
kwargs (dict, optional): additional parameters for execute. Default to None.
|
955
|
+
|
956
|
+
Examples:
|
957
|
+
payload =
|
958
|
+
[
|
959
|
+
{
|
960
|
+
"username": "string", required
|
961
|
+
"uuid_dashboard": "string", required
|
962
|
+
}
|
963
|
+
]
|
964
|
+
|
965
|
+
Returns: list"""
|
966
|
+
if kwargs is None:
|
967
|
+
kwargs = dict()
|
968
|
+
response = self.execute('POST', path=
|
969
|
+
f'/users/bulk/delete/dashboards', single_page=single_page,
|
970
|
+
page_size=page_size, payload=payload, **kwargs)
|
971
|
+
return response
|
972
|
+
|
908
973
|
def users_virtual_domains_create_bulk(self, payload: list,
|
909
974
|
single_page: bool = False, page_size: int = 50, kwargs: dict = None,
|
910
975
|
**params) -> list:
|
@@ -984,14 +1049,16 @@ class Users(ApiManager):
|
|
984
1049
|
recipients (array required): additional filter - payload
|
985
1050
|
attachments (array optional): additional filter - payload
|
986
1051
|
template_parameters (object optional): additional filter - payload
|
1052
|
+
domain (string required): additional filter - payload
|
987
1053
|
|
988
1054
|
Returns: list"""
|
989
1055
|
if kwargs is None:
|
990
1056
|
kwargs = dict()
|
991
1057
|
official_payload_list = ['subject', 'recipients', 'attachments',
|
992
|
-
'template_parameters']
|
1058
|
+
'template_parameters', 'domain']
|
993
1059
|
payload.get('subject'), payload.get('recipients'), payload.get(
|
994
|
-
'attachments'), payload.get('template_parameters')
|
1060
|
+
'attachments'), payload.get('template_parameters'), payload.get(
|
1061
|
+
'domain')
|
995
1062
|
if not self._silence_warning:
|
996
1063
|
warning_wrong_parameters(self.users_send_email_template_create.
|
997
1064
|
__name__, payload, official_payload_list)
|
@@ -0,0 +1 @@
|
|
1
|
+
version = '3.16.6'
|
@@ -1 +0,0 @@
|
|
1
|
-
version = '3.16.4'
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/hive/cookbook/notification_provider_types.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{xautomata-hive-3.16.4 → xautomata_hive-3.16.6}/xautomata_hive.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|