cribl-control-plane 0.0.24__py3-none-any.whl → 0.0.26__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.

Potentially problematic release.


This version of cribl-control-plane might be problematic. Click here for more details.

Files changed (115) hide show
  1. cribl_control_plane/_version.py +3 -3
  2. cribl_control_plane/destinations.py +10 -8
  3. cribl_control_plane/errors/healthstatus_error.py +1 -1
  4. cribl_control_plane/groups_sdk.py +10 -10
  5. cribl_control_plane/{healthinfo.py → health.py} +3 -1
  6. cribl_control_plane/models/__init__.py +21 -27
  7. cribl_control_plane/models/healthstatus.py +3 -3
  8. cribl_control_plane/models/input.py +4 -4
  9. cribl_control_plane/models/inputappscope.py +5 -5
  10. cribl_control_plane/models/inputcollection.py +2 -2
  11. cribl_control_plane/models/inputconfluentcloud.py +17 -3
  12. cribl_control_plane/models/inputcribl.py +5 -5
  13. cribl_control_plane/models/inputcriblhttp.py +3 -3
  14. cribl_control_plane/models/inputcribllakehttp.py +3 -3
  15. cribl_control_plane/models/inputcriblmetrics.py +5 -5
  16. cribl_control_plane/models/inputcribltcp.py +3 -3
  17. cribl_control_plane/models/inputdatadogagent.py +3 -3
  18. cribl_control_plane/models/inputedgeprometheus.py +3 -3
  19. cribl_control_plane/models/inputelastic.py +3 -3
  20. cribl_control_plane/models/inputeventhub.py +3 -3
  21. cribl_control_plane/models/inputfile.py +5 -5
  22. cribl_control_plane/models/inputfirehose.py +3 -3
  23. cribl_control_plane/models/inputgooglepubsub.py +16 -9
  24. cribl_control_plane/models/inputgrafana.py +20 -6
  25. cribl_control_plane/models/inputhttp.py +3 -3
  26. cribl_control_plane/models/inputhttpraw.py +3 -3
  27. cribl_control_plane/models/inputjournalfiles.py +3 -3
  28. cribl_control_plane/models/inputkafka.py +17 -3
  29. cribl_control_plane/models/inputkinesis.py +3 -3
  30. cribl_control_plane/models/inputkubeevents.py +5 -5
  31. cribl_control_plane/models/inputkubelogs.py +5 -5
  32. cribl_control_plane/models/inputkubemetrics.py +5 -5
  33. cribl_control_plane/models/inputloki.py +10 -3
  34. cribl_control_plane/models/inputmodeldriventelemetry.py +3 -3
  35. cribl_control_plane/models/inputmsk.py +17 -3
  36. cribl_control_plane/models/inputnetflow.py +3 -3
  37. cribl_control_plane/models/inputoffice365mgmt.py +3 -3
  38. cribl_control_plane/models/inputoffice365msgtrace.py +3 -3
  39. cribl_control_plane/models/inputoffice365service.py +3 -3
  40. cribl_control_plane/models/inputopentelemetry.py +3 -3
  41. cribl_control_plane/models/inputprometheus.py +3 -3
  42. cribl_control_plane/models/inputprometheusrw.py +3 -3
  43. cribl_control_plane/models/inputrawudp.py +3 -3
  44. cribl_control_plane/models/inputsnmp.py +3 -3
  45. cribl_control_plane/models/inputsplunk.py +3 -3
  46. cribl_control_plane/models/inputsplunkhec.py +3 -3
  47. cribl_control_plane/models/inputsplunksearch.py +3 -3
  48. cribl_control_plane/models/inputsqs.py +3 -3
  49. cribl_control_plane/models/inputsystemmetrics.py +5 -5
  50. cribl_control_plane/models/inputsystemstate.py +5 -5
  51. cribl_control_plane/models/inputtcp.py +3 -3
  52. cribl_control_plane/models/inputtcpjson.py +3 -3
  53. cribl_control_plane/models/inputwef.py +3 -3
  54. cribl_control_plane/models/inputwindowsmetrics.py +5 -5
  55. cribl_control_plane/models/inputwiz.py +3 -3
  56. cribl_control_plane/models/inputzscalerhec.py +3 -3
  57. cribl_control_plane/models/output.py +14 -14
  58. cribl_control_plane/models/outputazureblob.py +3 -3
  59. cribl_control_plane/models/outputazuredataexplorer.py +3 -3
  60. cribl_control_plane/models/outputazureeventhub.py +3 -3
  61. cribl_control_plane/models/outputclickhouse.py +3 -3
  62. cribl_control_plane/models/outputcloudwatch.py +3 -3
  63. cribl_control_plane/models/outputconfluentcloud.py +17 -3
  64. cribl_control_plane/models/outputcriblhttp.py +5 -5
  65. cribl_control_plane/models/outputcribllake.py +5 -5
  66. cribl_control_plane/models/outputcribltcp.py +5 -5
  67. cribl_control_plane/models/outputcrowdstrikenextgensiem.py +3 -3
  68. cribl_control_plane/models/outputdatadog.py +5 -5
  69. cribl_control_plane/models/outputdataset.py +5 -5
  70. cribl_control_plane/models/outputdevnull.py +5 -5
  71. cribl_control_plane/models/outputdiskspool.py +5 -5
  72. cribl_control_plane/models/outputdls3.py +5 -5
  73. cribl_control_plane/models/outputdynatracehttp.py +3 -3
  74. cribl_control_plane/models/outputdynatraceotlp.py +3 -3
  75. cribl_control_plane/models/outputelasticcloud.py +3 -3
  76. cribl_control_plane/models/outputexabeam.py +3 -3
  77. cribl_control_plane/models/outputgooglecloudlogging.py +3 -3
  78. cribl_control_plane/models/outputgooglecloudstorage.py +5 -5
  79. cribl_control_plane/models/outputgrafanacloud.py +24 -10
  80. cribl_control_plane/models/outputgraphite.py +3 -3
  81. cribl_control_plane/models/outputhumiohec.py +3 -3
  82. cribl_control_plane/models/outputkafka.py +17 -3
  83. cribl_control_plane/models/outputkinesis.py +3 -3
  84. cribl_control_plane/models/outputloki.py +14 -0
  85. cribl_control_plane/models/outputminio.py +3 -3
  86. cribl_control_plane/models/outputmsk.py +17 -3
  87. cribl_control_plane/models/outputnewrelic.py +5 -5
  88. cribl_control_plane/models/outputnewrelicevents.py +3 -3
  89. cribl_control_plane/models/outputring.py +5 -5
  90. cribl_control_plane/models/outputs3.py +5 -5
  91. cribl_control_plane/models/outputsecuritylake.py +3 -3
  92. cribl_control_plane/models/outputsentinel.py +3 -3
  93. cribl_control_plane/models/outputsentineloneaisiem.py +3 -3
  94. cribl_control_plane/models/outputservicenow.py +3 -3
  95. cribl_control_plane/models/outputsns.py +3 -3
  96. cribl_control_plane/models/outputsplunk.py +3 -3
  97. cribl_control_plane/models/outputsplunkhec.py +5 -5
  98. cribl_control_plane/models/outputsqs.py +3 -3
  99. cribl_control_plane/models/outputstatsd.py +3 -3
  100. cribl_control_plane/models/outputstatsdext.py +3 -3
  101. cribl_control_plane/models/outputsyslog.py +5 -5
  102. cribl_control_plane/models/outputtcpjson.py +5 -5
  103. cribl_control_plane/models/outputwebhook.py +5 -5
  104. cribl_control_plane/models/outputxsiam.py +5 -5
  105. cribl_control_plane/nodes.py +100 -90
  106. cribl_control_plane/pipelines.py +20 -20
  107. cribl_control_plane/sdk.py +6 -6
  108. cribl_control_plane/sources.py +2 -0
  109. cribl_control_plane/versioning.py +14 -14
  110. {cribl_control_plane-0.0.24.dist-info → cribl_control_plane-0.0.26.dist-info}/METADATA +24 -28
  111. {cribl_control_plane-0.0.24.dist-info → cribl_control_plane-0.0.26.dist-info}/RECORD +112 -115
  112. cribl_control_plane/deployments.py +0 -185
  113. cribl_control_plane/models/restartresponse.py +0 -26
  114. cribl_control_plane/models/updateworkersrestartop.py +0 -24
  115. {cribl_control_plane-0.0.24.dist-info → cribl_control_plane-0.0.26.dist-info}/WHEEL +0 -0
@@ -10,20 +10,20 @@ from typing import Any, Mapping, Optional
10
10
 
11
11
 
12
12
  class Nodes(BaseSDK):
13
- def get_count(
13
+ def get_summary(
14
14
  self,
15
15
  *,
16
- filter_exp: Optional[str] = None,
16
+ mode: Optional[models.GetSummaryMode] = None,
17
17
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
18
18
  server_url: Optional[str] = None,
19
19
  timeout_ms: Optional[int] = None,
20
20
  http_headers: Optional[Mapping[str, str]] = None,
21
- ) -> models.GetSummaryWorkersResponse:
22
- r"""Retrieve a count of Worker and Edge Nodes
21
+ ) -> models.GetSummaryResponse:
22
+ r"""Retrieve a summary of the Distributed deployment
23
23
 
24
- get worker and edge nodes count
24
+ Get summary of Distributed deployment
25
25
 
26
- :param filter_exp: Filter expression evaluated against nodes
26
+ :param mode: product filter
27
27
  :param retries: Override the default retry configuration for this method
28
28
  :param server_url: Override the default server URL for this method
29
29
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -39,13 +39,13 @@ class Nodes(BaseSDK):
39
39
  else:
40
40
  base_url = self._get_url(base_url, url_variables)
41
41
 
42
- request = models.GetSummaryWorkersRequest(
43
- filter_exp=filter_exp,
42
+ request = models.GetSummaryRequest(
43
+ mode=mode,
44
44
  )
45
45
 
46
46
  req = self._build_request(
47
47
  method="GET",
48
- path="/master/summary/workers",
48
+ path="/master/summary",
49
49
  base_url=base_url,
50
50
  url_variables=url_variables,
51
51
  request=request,
@@ -71,7 +71,7 @@ class Nodes(BaseSDK):
71
71
  hook_ctx=HookContext(
72
72
  config=self.sdk_configuration,
73
73
  base_url=base_url or "",
74
- operation_id="getSummaryWorkers",
74
+ operation_id="getSummary",
75
75
  oauth2_scopes=[],
76
76
  security_source=get_security_from_env(
77
77
  self.sdk_configuration.security, models.Security
@@ -84,7 +84,7 @@ class Nodes(BaseSDK):
84
84
 
85
85
  response_data: Any = None
86
86
  if utils.match_response(http_res, "200", "application/json"):
87
- return unmarshal_json_response(models.GetSummaryWorkersResponse, http_res)
87
+ return unmarshal_json_response(models.GetSummaryResponse, http_res)
88
88
  if utils.match_response(http_res, "500", "application/json"):
89
89
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
90
90
  raise errors.Error(response_data, http_res)
@@ -97,20 +97,20 @@ class Nodes(BaseSDK):
97
97
 
98
98
  raise errors.APIError("Unexpected response received", http_res)
99
99
 
100
- async def get_count_async(
100
+ async def get_summary_async(
101
101
  self,
102
102
  *,
103
- filter_exp: Optional[str] = None,
103
+ mode: Optional[models.GetSummaryMode] = None,
104
104
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
105
105
  server_url: Optional[str] = None,
106
106
  timeout_ms: Optional[int] = None,
107
107
  http_headers: Optional[Mapping[str, str]] = None,
108
- ) -> models.GetSummaryWorkersResponse:
109
- r"""Retrieve a count of Worker and Edge Nodes
108
+ ) -> models.GetSummaryResponse:
109
+ r"""Retrieve a summary of the Distributed deployment
110
110
 
111
- get worker and edge nodes count
111
+ Get summary of Distributed deployment
112
112
 
113
- :param filter_exp: Filter expression evaluated against nodes
113
+ :param mode: product filter
114
114
  :param retries: Override the default retry configuration for this method
115
115
  :param server_url: Override the default server URL for this method
116
116
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -126,13 +126,13 @@ class Nodes(BaseSDK):
126
126
  else:
127
127
  base_url = self._get_url(base_url, url_variables)
128
128
 
129
- request = models.GetSummaryWorkersRequest(
130
- filter_exp=filter_exp,
129
+ request = models.GetSummaryRequest(
130
+ mode=mode,
131
131
  )
132
132
 
133
133
  req = self._build_request_async(
134
134
  method="GET",
135
- path="/master/summary/workers",
135
+ path="/master/summary",
136
136
  base_url=base_url,
137
137
  url_variables=url_variables,
138
138
  request=request,
@@ -158,7 +158,7 @@ class Nodes(BaseSDK):
158
158
  hook_ctx=HookContext(
159
159
  config=self.sdk_configuration,
160
160
  base_url=base_url or "",
161
- operation_id="getSummaryWorkers",
161
+ operation_id="getSummary",
162
162
  oauth2_scopes=[],
163
163
  security_source=get_security_from_env(
164
164
  self.sdk_configuration.security, models.Security
@@ -171,7 +171,7 @@ class Nodes(BaseSDK):
171
171
 
172
172
  response_data: Any = None
173
173
  if utils.match_response(http_res, "200", "application/json"):
174
- return unmarshal_json_response(models.GetSummaryWorkersResponse, http_res)
174
+ return unmarshal_json_response(models.GetSummaryResponse, http_res)
175
175
  if utils.match_response(http_res, "500", "application/json"):
176
176
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
177
177
  raise errors.Error(response_data, http_res)
@@ -184,30 +184,20 @@ class Nodes(BaseSDK):
184
184
 
185
185
  raise errors.APIError("Unexpected response received", http_res)
186
186
 
187
- def list(
187
+ def count(
188
188
  self,
189
189
  *,
190
190
  filter_exp: Optional[str] = None,
191
- sort: Optional[str] = None,
192
- sort_exp: Optional[str] = None,
193
- limit: Optional[int] = None,
194
- offset: Optional[int] = None,
195
- filter_: Optional[str] = None,
196
191
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
197
192
  server_url: Optional[str] = None,
198
193
  timeout_ms: Optional[int] = None,
199
194
  http_headers: Optional[Mapping[str, str]] = None,
200
- ) -> models.GetWorkersResponse:
201
- r"""Retrieve detailed metadata for Worker and Edge Nodes
195
+ ) -> models.GetSummaryWorkersResponse:
196
+ r"""Retrieve a count of Worker and Edge Nodes
202
197
 
203
- get worker and edge nodes
198
+ get worker and edge nodes count
204
199
 
205
200
  :param filter_exp: Filter expression evaluated against nodes
206
- :param sort: Sorting object (JSON stringified) expression evaluated against nodes
207
- :param sort_exp: Sorting expression evaluated against nodes
208
- :param limit: Maximum number of nodes to return
209
- :param offset: Pagination offset
210
- :param filter_: Filter object (JSON stringified) to select nodes
211
201
  :param retries: Override the default retry configuration for this method
212
202
  :param server_url: Override the default server URL for this method
213
203
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -223,18 +213,13 @@ class Nodes(BaseSDK):
223
213
  else:
224
214
  base_url = self._get_url(base_url, url_variables)
225
215
 
226
- request = models.GetWorkersRequest(
216
+ request = models.GetSummaryWorkersRequest(
227
217
  filter_exp=filter_exp,
228
- sort=sort,
229
- sort_exp=sort_exp,
230
- limit=limit,
231
- offset=offset,
232
- filter_=filter_,
233
218
  )
234
219
 
235
220
  req = self._build_request(
236
221
  method="GET",
237
- path="/master/workers",
222
+ path="/master/summary/workers",
238
223
  base_url=base_url,
239
224
  url_variables=url_variables,
240
225
  request=request,
@@ -260,7 +245,7 @@ class Nodes(BaseSDK):
260
245
  hook_ctx=HookContext(
261
246
  config=self.sdk_configuration,
262
247
  base_url=base_url or "",
263
- operation_id="getWorkers",
248
+ operation_id="getSummaryWorkers",
264
249
  oauth2_scopes=[],
265
250
  security_source=get_security_from_env(
266
251
  self.sdk_configuration.security, models.Security
@@ -273,7 +258,7 @@ class Nodes(BaseSDK):
273
258
 
274
259
  response_data: Any = None
275
260
  if utils.match_response(http_res, "200", "application/json"):
276
- return unmarshal_json_response(models.GetWorkersResponse, http_res)
261
+ return unmarshal_json_response(models.GetSummaryWorkersResponse, http_res)
277
262
  if utils.match_response(http_res, "500", "application/json"):
278
263
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
279
264
  raise errors.Error(response_data, http_res)
@@ -286,30 +271,20 @@ class Nodes(BaseSDK):
286
271
 
287
272
  raise errors.APIError("Unexpected response received", http_res)
288
273
 
289
- async def list_async(
274
+ async def count_async(
290
275
  self,
291
276
  *,
292
277
  filter_exp: Optional[str] = None,
293
- sort: Optional[str] = None,
294
- sort_exp: Optional[str] = None,
295
- limit: Optional[int] = None,
296
- offset: Optional[int] = None,
297
- filter_: Optional[str] = None,
298
278
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
299
279
  server_url: Optional[str] = None,
300
280
  timeout_ms: Optional[int] = None,
301
281
  http_headers: Optional[Mapping[str, str]] = None,
302
- ) -> models.GetWorkersResponse:
303
- r"""Retrieve detailed metadata for Worker and Edge Nodes
282
+ ) -> models.GetSummaryWorkersResponse:
283
+ r"""Retrieve a count of Worker and Edge Nodes
304
284
 
305
- get worker and edge nodes
285
+ get worker and edge nodes count
306
286
 
307
287
  :param filter_exp: Filter expression evaluated against nodes
308
- :param sort: Sorting object (JSON stringified) expression evaluated against nodes
309
- :param sort_exp: Sorting expression evaluated against nodes
310
- :param limit: Maximum number of nodes to return
311
- :param offset: Pagination offset
312
- :param filter_: Filter object (JSON stringified) to select nodes
313
288
  :param retries: Override the default retry configuration for this method
314
289
  :param server_url: Override the default server URL for this method
315
290
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -325,18 +300,13 @@ class Nodes(BaseSDK):
325
300
  else:
326
301
  base_url = self._get_url(base_url, url_variables)
327
302
 
328
- request = models.GetWorkersRequest(
303
+ request = models.GetSummaryWorkersRequest(
329
304
  filter_exp=filter_exp,
330
- sort=sort,
331
- sort_exp=sort_exp,
332
- limit=limit,
333
- offset=offset,
334
- filter_=filter_,
335
305
  )
336
306
 
337
307
  req = self._build_request_async(
338
308
  method="GET",
339
- path="/master/workers",
309
+ path="/master/summary/workers",
340
310
  base_url=base_url,
341
311
  url_variables=url_variables,
342
312
  request=request,
@@ -362,7 +332,7 @@ class Nodes(BaseSDK):
362
332
  hook_ctx=HookContext(
363
333
  config=self.sdk_configuration,
364
334
  base_url=base_url or "",
365
- operation_id="getWorkers",
335
+ operation_id="getSummaryWorkers",
366
336
  oauth2_scopes=[],
367
337
  security_source=get_security_from_env(
368
338
  self.sdk_configuration.security, models.Security
@@ -375,7 +345,7 @@ class Nodes(BaseSDK):
375
345
 
376
346
  response_data: Any = None
377
347
  if utils.match_response(http_res, "200", "application/json"):
378
- return unmarshal_json_response(models.GetWorkersResponse, http_res)
348
+ return unmarshal_json_response(models.GetSummaryWorkersResponse, http_res)
379
349
  if utils.match_response(http_res, "500", "application/json"):
380
350
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
381
351
  raise errors.Error(response_data, http_res)
@@ -388,18 +358,30 @@ class Nodes(BaseSDK):
388
358
 
389
359
  raise errors.APIError("Unexpected response received", http_res)
390
360
 
391
- def restart(
361
+ def list(
392
362
  self,
393
363
  *,
364
+ filter_exp: Optional[str] = None,
365
+ sort: Optional[str] = None,
366
+ sort_exp: Optional[str] = None,
367
+ limit: Optional[int] = None,
368
+ offset: Optional[int] = None,
369
+ filter_: Optional[str] = None,
394
370
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
395
371
  server_url: Optional[str] = None,
396
372
  timeout_ms: Optional[int] = None,
397
373
  http_headers: Optional[Mapping[str, str]] = None,
398
- ) -> models.UpdateWorkersRestartResponse:
399
- r"""Restart Worker and Edge Nodes
374
+ ) -> models.GetWorkersResponse:
375
+ r"""Retrieve detailed metadata for Worker and Edge Nodes
400
376
 
401
- restarts worker nodes
377
+ get worker and edge nodes
402
378
 
379
+ :param filter_exp: Filter expression evaluated against nodes
380
+ :param sort: Sorting object (JSON stringified) expression evaluated against nodes
381
+ :param sort_exp: Sorting expression evaluated against nodes
382
+ :param limit: Maximum number of nodes to return
383
+ :param offset: Pagination offset
384
+ :param filter_: Filter object (JSON stringified) to select nodes
403
385
  :param retries: Override the default retry configuration for this method
404
386
  :param server_url: Override the default server URL for this method
405
387
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -414,12 +396,22 @@ class Nodes(BaseSDK):
414
396
  base_url = server_url
415
397
  else:
416
398
  base_url = self._get_url(base_url, url_variables)
399
+
400
+ request = models.GetWorkersRequest(
401
+ filter_exp=filter_exp,
402
+ sort=sort,
403
+ sort_exp=sort_exp,
404
+ limit=limit,
405
+ offset=offset,
406
+ filter_=filter_,
407
+ )
408
+
417
409
  req = self._build_request(
418
- method="PATCH",
419
- path="/master/workers/restart",
410
+ method="GET",
411
+ path="/master/workers",
420
412
  base_url=base_url,
421
413
  url_variables=url_variables,
422
- request=None,
414
+ request=request,
423
415
  request_body_required=False,
424
416
  request_has_path_params=False,
425
417
  request_has_query_params=True,
@@ -442,7 +434,7 @@ class Nodes(BaseSDK):
442
434
  hook_ctx=HookContext(
443
435
  config=self.sdk_configuration,
444
436
  base_url=base_url or "",
445
- operation_id="updateWorkersRestart",
437
+ operation_id="getWorkers",
446
438
  oauth2_scopes=[],
447
439
  security_source=get_security_from_env(
448
440
  self.sdk_configuration.security, models.Security
@@ -455,9 +447,7 @@ class Nodes(BaseSDK):
455
447
 
456
448
  response_data: Any = None
457
449
  if utils.match_response(http_res, "200", "application/json"):
458
- return unmarshal_json_response(
459
- models.UpdateWorkersRestartResponse, http_res
460
- )
450
+ return unmarshal_json_response(models.GetWorkersResponse, http_res)
461
451
  if utils.match_response(http_res, "500", "application/json"):
462
452
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
463
453
  raise errors.Error(response_data, http_res)
@@ -470,18 +460,30 @@ class Nodes(BaseSDK):
470
460
 
471
461
  raise errors.APIError("Unexpected response received", http_res)
472
462
 
473
- async def restart_async(
463
+ async def list_async(
474
464
  self,
475
465
  *,
466
+ filter_exp: Optional[str] = None,
467
+ sort: Optional[str] = None,
468
+ sort_exp: Optional[str] = None,
469
+ limit: Optional[int] = None,
470
+ offset: Optional[int] = None,
471
+ filter_: Optional[str] = None,
476
472
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
477
473
  server_url: Optional[str] = None,
478
474
  timeout_ms: Optional[int] = None,
479
475
  http_headers: Optional[Mapping[str, str]] = None,
480
- ) -> models.UpdateWorkersRestartResponse:
481
- r"""Restart Worker and Edge Nodes
476
+ ) -> models.GetWorkersResponse:
477
+ r"""Retrieve detailed metadata for Worker and Edge Nodes
482
478
 
483
- restarts worker nodes
479
+ get worker and edge nodes
484
480
 
481
+ :param filter_exp: Filter expression evaluated against nodes
482
+ :param sort: Sorting object (JSON stringified) expression evaluated against nodes
483
+ :param sort_exp: Sorting expression evaluated against nodes
484
+ :param limit: Maximum number of nodes to return
485
+ :param offset: Pagination offset
486
+ :param filter_: Filter object (JSON stringified) to select nodes
485
487
  :param retries: Override the default retry configuration for this method
486
488
  :param server_url: Override the default server URL for this method
487
489
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -496,12 +498,22 @@ class Nodes(BaseSDK):
496
498
  base_url = server_url
497
499
  else:
498
500
  base_url = self._get_url(base_url, url_variables)
501
+
502
+ request = models.GetWorkersRequest(
503
+ filter_exp=filter_exp,
504
+ sort=sort,
505
+ sort_exp=sort_exp,
506
+ limit=limit,
507
+ offset=offset,
508
+ filter_=filter_,
509
+ )
510
+
499
511
  req = self._build_request_async(
500
- method="PATCH",
501
- path="/master/workers/restart",
512
+ method="GET",
513
+ path="/master/workers",
502
514
  base_url=base_url,
503
515
  url_variables=url_variables,
504
- request=None,
516
+ request=request,
505
517
  request_body_required=False,
506
518
  request_has_path_params=False,
507
519
  request_has_query_params=True,
@@ -524,7 +536,7 @@ class Nodes(BaseSDK):
524
536
  hook_ctx=HookContext(
525
537
  config=self.sdk_configuration,
526
538
  base_url=base_url or "",
527
- operation_id="updateWorkersRestart",
539
+ operation_id="getWorkers",
528
540
  oauth2_scopes=[],
529
541
  security_source=get_security_from_env(
530
542
  self.sdk_configuration.security, models.Security
@@ -537,9 +549,7 @@ class Nodes(BaseSDK):
537
549
 
538
550
  response_data: Any = None
539
551
  if utils.match_response(http_res, "200", "application/json"):
540
- return unmarshal_json_response(
541
- models.UpdateWorkersRestartResponse, http_res
542
- )
552
+ return unmarshal_json_response(models.GetWorkersResponse, http_res)
543
553
  if utils.match_response(http_res, "500", "application/json"):
544
554
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
545
555
  raise errors.Error(response_data, http_res)
@@ -12,7 +12,7 @@ from typing import Any, Mapping, Optional, Union
12
12
  class Pipelines(BaseSDK):
13
13
  r"""Actions related to Pipelines"""
14
14
 
15
- def list_pipeline(
15
+ def list(
16
16
  self,
17
17
  *,
18
18
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
@@ -20,9 +20,9 @@ class Pipelines(BaseSDK):
20
20
  timeout_ms: Optional[int] = None,
21
21
  http_headers: Optional[Mapping[str, str]] = None,
22
22
  ) -> models.ListPipelineResponse:
23
- r"""Get a list of Pipeline objects
23
+ r"""List all Pipelines
24
24
 
25
- Get a list of Pipeline objects
25
+ List all Pipelines
26
26
 
27
27
  :param retries: Override the default retry configuration for this method
28
28
  :param server_url: Override the default server URL for this method
@@ -92,7 +92,7 @@ class Pipelines(BaseSDK):
92
92
 
93
93
  raise errors.APIError("Unexpected response received", http_res)
94
94
 
95
- async def list_pipeline_async(
95
+ async def list_async(
96
96
  self,
97
97
  *,
98
98
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
@@ -100,9 +100,9 @@ class Pipelines(BaseSDK):
100
100
  timeout_ms: Optional[int] = None,
101
101
  http_headers: Optional[Mapping[str, str]] = None,
102
102
  ) -> models.ListPipelineResponse:
103
- r"""Get a list of Pipeline objects
103
+ r"""List all Pipelines
104
104
 
105
- Get a list of Pipeline objects
105
+ List all Pipelines
106
106
 
107
107
  :param retries: Override the default retry configuration for this method
108
108
  :param server_url: Override the default server URL for this method
@@ -358,7 +358,7 @@ class Pipelines(BaseSDK):
358
358
 
359
359
  raise errors.APIError("Unexpected response received", http_res)
360
360
 
361
- def get_pipeline_by_id(
361
+ def get(
362
362
  self,
363
363
  *,
364
364
  id: str,
@@ -367,9 +367,9 @@ class Pipelines(BaseSDK):
367
367
  timeout_ms: Optional[int] = None,
368
368
  http_headers: Optional[Mapping[str, str]] = None,
369
369
  ) -> models.GetPipelineByIDResponse:
370
- r"""Get Pipeline by ID
370
+ r"""Retrieve a Pipeline
371
371
 
372
- Get Pipeline by ID
372
+ Retrieve a Pipeline
373
373
 
374
374
  :param id: Unique ID to GET
375
375
  :param retries: Override the default retry configuration for this method
@@ -445,7 +445,7 @@ class Pipelines(BaseSDK):
445
445
 
446
446
  raise errors.APIError("Unexpected response received", http_res)
447
447
 
448
- async def get_pipeline_by_id_async(
448
+ async def get_async(
449
449
  self,
450
450
  *,
451
451
  id: str,
@@ -454,9 +454,9 @@ class Pipelines(BaseSDK):
454
454
  timeout_ms: Optional[int] = None,
455
455
  http_headers: Optional[Mapping[str, str]] = None,
456
456
  ) -> models.GetPipelineByIDResponse:
457
- r"""Get Pipeline by ID
457
+ r"""Retrieve a Pipeline
458
458
 
459
- Get Pipeline by ID
459
+ Retrieve a Pipeline
460
460
 
461
461
  :param id: Unique ID to GET
462
462
  :param retries: Override the default retry configuration for this method
@@ -532,7 +532,7 @@ class Pipelines(BaseSDK):
532
532
 
533
533
  raise errors.APIError("Unexpected response received", http_res)
534
534
 
535
- def update_pipeline_by_id(
535
+ def update(
536
536
  self,
537
537
  *,
538
538
  id_param: str,
@@ -630,7 +630,7 @@ class Pipelines(BaseSDK):
630
630
 
631
631
  raise errors.APIError("Unexpected response received", http_res)
632
632
 
633
- async def update_pipeline_by_id_async(
633
+ async def update_async(
634
634
  self,
635
635
  *,
636
636
  id_param: str,
@@ -728,7 +728,7 @@ class Pipelines(BaseSDK):
728
728
 
729
729
  raise errors.APIError("Unexpected response received", http_res)
730
730
 
731
- def delete_pipeline_by_id(
731
+ def delete(
732
732
  self,
733
733
  *,
734
734
  id: str,
@@ -737,9 +737,9 @@ class Pipelines(BaseSDK):
737
737
  timeout_ms: Optional[int] = None,
738
738
  http_headers: Optional[Mapping[str, str]] = None,
739
739
  ) -> models.DeletePipelineByIDResponse:
740
- r"""Delete Pipeline
740
+ r"""Delete a Pipeline
741
741
 
742
- Delete Pipeline
742
+ Delete a Pipeline
743
743
 
744
744
  :param id: Unique ID to DELETE
745
745
  :param retries: Override the default retry configuration for this method
@@ -815,7 +815,7 @@ class Pipelines(BaseSDK):
815
815
 
816
816
  raise errors.APIError("Unexpected response received", http_res)
817
817
 
818
- async def delete_pipeline_by_id_async(
818
+ async def delete_async(
819
819
  self,
820
820
  *,
821
821
  id: str,
@@ -824,9 +824,9 @@ class Pipelines(BaseSDK):
824
824
  timeout_ms: Optional[int] = None,
825
825
  http_headers: Optional[Mapping[str, str]] = None,
826
826
  ) -> models.DeletePipelineByIDResponse:
827
- r"""Delete Pipeline
827
+ r"""Delete a Pipeline
828
828
 
829
- Delete Pipeline
829
+ Delete a Pipeline
830
830
 
831
831
  :param id: Unique ID to DELETE
832
832
  :param retries: Override the default retry configuration for this method
@@ -15,10 +15,9 @@ import weakref
15
15
 
16
16
  if TYPE_CHECKING:
17
17
  from cribl_control_plane.auth_sdk import AuthSDK
18
- from cribl_control_plane.deployments import Deployments
19
18
  from cribl_control_plane.destinations import Destinations
20
19
  from cribl_control_plane.groups_sdk import GroupsSDK
21
- from cribl_control_plane.healthinfo import HealthInfo
20
+ from cribl_control_plane.health import Health
22
21
  from cribl_control_plane.lakedatasets import LakeDatasets
23
22
  from cribl_control_plane.nodes import Nodes
24
23
  from cribl_control_plane.packs import Packs
@@ -33,7 +32,9 @@ class CriblControlPlane(BaseSDK):
33
32
 
34
33
  lake_datasets: "LakeDatasets"
35
34
  sources: "Sources"
35
+ r"""Actions related to Sources"""
36
36
  destinations: "Destinations"
37
+ r"""Actions related to Destinations"""
37
38
  pipelines: "Pipelines"
38
39
  r"""Actions related to Pipelines"""
39
40
  routes: "RoutesSDK"
@@ -41,8 +42,8 @@ class CriblControlPlane(BaseSDK):
41
42
  auth: "AuthSDK"
42
43
  r"""Actions related to authentication. Do not use the /auth endpoints in Cribl.Cloud deployments. Instead, follow the instructions at https://docs.cribl.io/stream/api-tutorials/#criblcloud to authenticate for Cribl.Cloud."""
43
44
  nodes: "Nodes"
44
- deployments: "Deployments"
45
- health_info: "HealthInfo"
45
+ health: "Health"
46
+ r"""Actions related to REST server health"""
46
47
  packs: "Packs"
47
48
  r"""Actions related to Packs"""
48
49
  versioning: "Versioning"
@@ -57,8 +58,7 @@ class CriblControlPlane(BaseSDK):
57
58
  "routes": ("cribl_control_plane.routes_sdk", "RoutesSDK"),
58
59
  "auth": ("cribl_control_plane.auth_sdk", "AuthSDK"),
59
60
  "nodes": ("cribl_control_plane.nodes", "Nodes"),
60
- "deployments": ("cribl_control_plane.deployments", "Deployments"),
61
- "health_info": ("cribl_control_plane.healthinfo", "HealthInfo"),
61
+ "health": ("cribl_control_plane.health", "Health"),
62
62
  "packs": ("cribl_control_plane.packs", "Packs"),
63
63
  "versioning": ("cribl_control_plane.versioning", "Versioning"),
64
64
  "groups": ("cribl_control_plane.groups_sdk", "GroupsSDK"),
@@ -10,6 +10,8 @@ from typing import Any, List, Mapping, Optional, Union, cast
10
10
 
11
11
 
12
12
  class Sources(BaseSDK):
13
+ r"""Actions related to Sources"""
14
+
13
15
  def list(
14
16
  self,
15
17
  *,