assisted-service-client 2.17.0.post42__py3-none-any.whl → 2.18.0.post2__py3-none-any.whl
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.
- assisted_service_client/api/events_api.py +5 -1
- {assisted_service_client-2.17.0.post42.dist-info → assisted_service_client-2.18.0.post2.dist-info}/METADATA +3 -2
- {assisted_service_client-2.17.0.post42.dist-info → assisted_service_client-2.18.0.post2.dist-info}/RECORD +5 -5
- {assisted_service_client-2.17.0.post42.dist-info → assisted_service_client-2.18.0.post2.dist-info}/WHEEL +0 -0
- {assisted_service_client-2.17.0.post42.dist-info → assisted_service_client-2.18.0.post2.dist-info}/top_level.txt +0 -0
@@ -49,6 +49,7 @@ class EventsApi(object):
|
|
49
49
|
:param str infra_env_id: The infra-env to return events for.
|
50
50
|
:param int limit: The maximum number of records to retrieve.
|
51
51
|
:param int offset: Number of records to skip before starting to return the records.
|
52
|
+
:param str order: Order by event_time of events retrieved.
|
52
53
|
:param list[str] severities: Retrieved events severities.
|
53
54
|
:param str message: Retrieved events message pattern.
|
54
55
|
:param bool deleted_hosts: Deleted hosts flag.
|
@@ -81,6 +82,7 @@ class EventsApi(object):
|
|
81
82
|
:param str infra_env_id: The infra-env to return events for.
|
82
83
|
:param int limit: The maximum number of records to retrieve.
|
83
84
|
:param int offset: Number of records to skip before starting to return the records.
|
85
|
+
:param str order: Order by event_time of events retrieved.
|
84
86
|
:param list[str] severities: Retrieved events severities.
|
85
87
|
:param str message: Retrieved events message pattern.
|
86
88
|
:param bool deleted_hosts: Deleted hosts flag.
|
@@ -91,7 +93,7 @@ class EventsApi(object):
|
|
91
93
|
returns the request thread.
|
92
94
|
"""
|
93
95
|
|
94
|
-
all_params = ['cluster_id', 'host_id', 'host_ids', 'infra_env_id', 'limit', 'offset', 'severities', 'message', 'deleted_hosts', 'cluster_level', 'categories'] # noqa: E501
|
96
|
+
all_params = ['cluster_id', 'host_id', 'host_ids', 'infra_env_id', 'limit', 'offset', 'order', 'severities', 'message', 'deleted_hosts', 'cluster_level', 'categories'] # noqa: E501
|
95
97
|
all_params.append('async_req')
|
96
98
|
all_params.append('_return_http_data_only')
|
97
99
|
all_params.append('_preload_content')
|
@@ -125,6 +127,8 @@ class EventsApi(object):
|
|
125
127
|
query_params.append(('limit', params['limit'])) # noqa: E501
|
126
128
|
if 'offset' in params:
|
127
129
|
query_params.append(('offset', params['offset'])) # noqa: E501
|
130
|
+
if 'order' in params:
|
131
|
+
query_params.append(('order', params['order'])) # noqa: E501
|
128
132
|
if 'severities' in params:
|
129
133
|
query_params.append(('severities', params['severities'])) # noqa: E501
|
130
134
|
collection_formats['severities'] = 'csv' # noqa: E501
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: assisted-service-client
|
3
|
-
Version: 2.
|
3
|
+
Version: 2.18.0.post2
|
4
4
|
Summary: AssistedInstall
|
5
5
|
Home-page: https://github.com/openshift/assisted-service
|
6
6
|
Author: RedHat
|
@@ -97,6 +97,7 @@ host_ids = ['host_ids_example'] # list[str] | Hosts in the specified cluster to
|
|
97
97
|
infra_env_id = 'infra_env_id_example' # str | The infra-env to return events for. (optional)
|
98
98
|
limit = 56 # int | The maximum number of records to retrieve. (optional)
|
99
99
|
offset = 56 # int | Number of records to skip before starting to return the records. (optional)
|
100
|
+
order = 'ascending' # str | Order by event_time of events retrieved. (optional) (default to ascending)
|
100
101
|
severities = ['severities_example'] # list[str] | Retrieved events severities. (optional)
|
101
102
|
message = 'message_example' # str | Retrieved events message pattern. (optional)
|
102
103
|
deleted_hosts = true # bool | Deleted hosts flag. (optional)
|
@@ -104,7 +105,7 @@ cluster_level = true # bool | Cluster level events flag. (optional)
|
|
104
105
|
categories = ['categories_example'] # list[str] | A comma-separated list of event categories. (optional)
|
105
106
|
|
106
107
|
try:
|
107
|
-
api_response = api_instance.v2_list_events(cluster_id=cluster_id, host_id=host_id, host_ids=host_ids, infra_env_id=infra_env_id, limit=limit, offset=offset, severities=severities, message=message, deleted_hosts=deleted_hosts, cluster_level=cluster_level, categories=categories)
|
108
|
+
api_response = api_instance.v2_list_events(cluster_id=cluster_id, host_id=host_id, host_ids=host_ids, infra_env_id=infra_env_id, limit=limit, offset=offset, order=order, severities=severities, message=message, deleted_hosts=deleted_hosts, cluster_level=cluster_level, categories=categories)
|
108
109
|
pprint(api_response)
|
109
110
|
except ApiException as e:
|
110
111
|
print("Exception when calling EventsApi->v2_list_events: %s
|
@@ -3,7 +3,7 @@ assisted_service_client/api_client.py,sha256=ypPMDOaIc8GI-xm-g5PrNLYlakkK5K3qcJB
|
|
3
3
|
assisted_service_client/configuration.py,sha256=cnW5aIc2HR6HqBv7LXhMfoJTdfPhBed_97UxKDzE8Ro,9078
|
4
4
|
assisted_service_client/rest.py,sha256=fLcY2m9yxpqJW4agxf3yCJyiz486qPLgqw8CbCuftZw,13123
|
5
5
|
assisted_service_client/api/__init__.py,sha256=PblMXYK6UKW4rSdDx3F7SA-M1xpjo4rzTBZOx0_cotA,492
|
6
|
-
assisted_service_client/api/events_api.py,sha256=
|
6
|
+
assisted_service_client/api/events_api.py,sha256=g4ZLrqrShqtco1y1rPKnbgeHELSylH4-Q_H4QxxnlEE,7506
|
7
7
|
assisted_service_client/api/installer_api.py,sha256=bJnmh8m_WMfu8D7gJc5mZk1ZpDtVeHWfTnV1F5VHpoo,289003
|
8
8
|
assisted_service_client/api/managed_domains_api.py,sha256=rTPj3IVxrECtMc_-acZ14u6WydVqHVw6VaM7I8Zvu3g,4087
|
9
9
|
assisted_service_client/api/manifests_api.py,sha256=9did1gt88HY879X7B2Wgh4Wmg6JDQERPnFQUsLvsNkA,24735
|
@@ -361,7 +361,7 @@ test/test_versions.py,sha256=n-4xIBBiEuExya4yfHjxHbsRinb_vccUxwIrMxyEvfk,843
|
|
361
361
|
test/test_versions_api.py,sha256=1I1X8zO7RRpqgvWhuV05bK2PnSQfYjN7_d4eBYkum1s,967
|
362
362
|
test/test_vip_type.py,sha256=MAse7Cn2PT8pBELxmmAa4X9K_fZ-jtvNTmrqQ0Hvc-o,837
|
363
363
|
test/test_vip_verification.py,sha256=DwaHdagiOxRAPQ8TN541xSPn--MJEbRATBm1h3OmmZ4,901
|
364
|
-
assisted_service_client-2.
|
365
|
-
assisted_service_client-2.
|
366
|
-
assisted_service_client-2.
|
367
|
-
assisted_service_client-2.
|
364
|
+
assisted_service_client-2.18.0.post2.dist-info/METADATA,sha256=zQwYJpaUvSrzxdQdbXHAJiMxSjqfl7LQFn-iDRYsQSo,24799
|
365
|
+
assisted_service_client-2.18.0.post2.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
366
|
+
assisted_service_client-2.18.0.post2.dist-info/top_level.txt,sha256=4hfKi9CMXGm1B8Tohp02sqpWY8GTFoD38UbGI8duAD4,29
|
367
|
+
assisted_service_client-2.18.0.post2.dist-info/RECORD,,
|
File without changes
|
File without changes
|