cribl-control-plane 0.2.1rc11__py3-none-any.whl → 0.4.0a12__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 (136) hide show
  1. cribl_control_plane/_version.py +4 -4
  2. cribl_control_plane/acl.py +6 -4
  3. cribl_control_plane/basesdk.py +6 -0
  4. cribl_control_plane/branches.py +8 -4
  5. cribl_control_plane/commits.py +42 -28
  6. cribl_control_plane/commits_files.py +12 -8
  7. cribl_control_plane/configs_versions.py +10 -4
  8. cribl_control_plane/destinations.py +30 -20
  9. cribl_control_plane/destinations_pq.py +12 -8
  10. cribl_control_plane/groups_sdk.py +60 -24
  11. cribl_control_plane/health.py +2 -0
  12. cribl_control_plane/hectokens.py +32 -8
  13. cribl_control_plane/lakedatasets.py +86 -20
  14. cribl_control_plane/models/__init__.py +568 -214
  15. cribl_control_plane/models/addhectokenrequest.py +7 -1
  16. cribl_control_plane/models/createconfiggroupbyproductop.py +20 -1
  17. cribl_control_plane/models/createcribllakedatasetbylakeidop.py +19 -1
  18. cribl_control_plane/models/createinputhectokenbyidop.py +20 -1
  19. cribl_control_plane/models/{countedlistgitdiffresult.py → createinputop.py} +9 -5
  20. cribl_control_plane/models/{countedlistgitshowresult.py → createoutputop.py} +9 -5
  21. cribl_control_plane/models/createoutputtestbyidop.py +20 -1
  22. cribl_control_plane/models/{countedlistpackinstallinfo.py → createpacksop.py} +6 -2
  23. cribl_control_plane/models/createpipelineop.py +24 -0
  24. cribl_control_plane/models/createroutesappendbyidop.py +20 -2
  25. cribl_control_plane/models/createversioncommitop.py +19 -1
  26. cribl_control_plane/models/{countedliststring.py → createversionpushop.py} +6 -2
  27. cribl_control_plane/models/createversionrevertop.py +19 -1
  28. cribl_control_plane/models/createversionundoop.py +18 -1
  29. cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +20 -1
  30. cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +20 -1
  31. cribl_control_plane/models/deleteinputbyidop.py +20 -1
  32. cribl_control_plane/models/deleteoutputbyidop.py +20 -1
  33. cribl_control_plane/models/deleteoutputpqbyidop.py +19 -1
  34. cribl_control_plane/models/deletepacksbyidop.py +20 -1
  35. cribl_control_plane/models/deletepipelinebyidop.py +20 -1
  36. cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +19 -1
  37. cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +19 -1
  38. cribl_control_plane/models/getconfiggroupbyproductandidop.py +19 -1
  39. cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +19 -1
  40. cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +20 -1
  41. cribl_control_plane/models/getcribllakedatasetbylakeidop.py +79 -2
  42. cribl_control_plane/models/getinputbyidop.py +20 -1
  43. cribl_control_plane/models/getmasterworkerentryop.py +18 -1
  44. cribl_control_plane/models/getoutputbyidop.py +20 -1
  45. cribl_control_plane/models/getoutputpqbyidop.py +20 -1
  46. cribl_control_plane/models/getoutputsamplesbyidop.py +20 -1
  47. cribl_control_plane/models/getpacksbyidop.py +20 -1
  48. cribl_control_plane/models/getpacksop.py +19 -1
  49. cribl_control_plane/models/getpipelinebyidop.py +20 -1
  50. cribl_control_plane/models/getroutesbyidop.py +20 -1
  51. cribl_control_plane/models/getsummaryop.py +19 -1
  52. cribl_control_plane/models/{countedlistbranchinfo.py → getversionbranchop.py} +6 -2
  53. cribl_control_plane/models/getversioncountop.py +19 -1
  54. cribl_control_plane/models/getversiondiffop.py +19 -1
  55. cribl_control_plane/models/getversionfilesop.py +19 -1
  56. cribl_control_plane/models/{countedlistgitinfo.py → getversioninfoop.py} +6 -2
  57. cribl_control_plane/models/getversionop.py +19 -1
  58. cribl_control_plane/models/getversionshowop.py +19 -1
  59. cribl_control_plane/models/getversionstatusop.py +19 -1
  60. cribl_control_plane/models/input.py +18 -15
  61. cribl_control_plane/models/inputcloudflarehec.py +513 -0
  62. cribl_control_plane/models/inputfile.py +7 -0
  63. cribl_control_plane/models/listconfiggroupbyproductop.py +19 -1
  64. cribl_control_plane/models/{countedlistinput.py → listinputop.py} +6 -2
  65. cribl_control_plane/models/listmasterworkerentryop.py +19 -1
  66. cribl_control_plane/models/{countedlistoutput.py → listoutputop.py} +6 -2
  67. cribl_control_plane/models/{countedlistpipeline.py → listpipelineop.py} +6 -2
  68. cribl_control_plane/models/{countedlistroutes.py → listroutesop.py} +6 -2
  69. cribl_control_plane/models/output.py +23 -17
  70. cribl_control_plane/models/outputazureblob.py +14 -0
  71. cribl_control_plane/models/outputazuredataexplorer.py +7 -0
  72. cribl_control_plane/models/outputchronicle.py +5 -0
  73. cribl_control_plane/models/outputcloudflarer2.py +632 -0
  74. cribl_control_plane/models/outputcribllake.py +14 -0
  75. cribl_control_plane/models/outputdatabricks.py +19 -0
  76. cribl_control_plane/models/outputdls3.py +14 -0
  77. cribl_control_plane/models/outputexabeam.py +7 -0
  78. cribl_control_plane/models/outputfilesystem.py +14 -0
  79. cribl_control_plane/models/outputgooglecloudstorage.py +14 -0
  80. cribl_control_plane/models/outputmicrosoftfabric.py +540 -0
  81. cribl_control_plane/models/outputminio.py +19 -4
  82. cribl_control_plane/models/outputnetflow.py +7 -0
  83. cribl_control_plane/models/outputs3.py +14 -0
  84. cribl_control_plane/models/outputsecuritylake.py +14 -0
  85. cribl_control_plane/models/outputsyslog.py +7 -0
  86. cribl_control_plane/models/runnablejobcollection.py +0 -8
  87. cribl_control_plane/models/runnablejobexecutor.py +0 -4
  88. cribl_control_plane/models/runnablejobscheduledsearch.py +0 -4
  89. cribl_control_plane/models/updateconfiggroupbyproductandidop.py +19 -1
  90. cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +20 -1
  91. cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +20 -1
  92. cribl_control_plane/models/updatehectokenrequest.py +7 -1
  93. cribl_control_plane/models/updateinputbyidop.py +19 -1
  94. cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +20 -1
  95. cribl_control_plane/models/updateoutputbyidop.py +19 -1
  96. cribl_control_plane/models/updatepacksbyidop.py +20 -1
  97. cribl_control_plane/models/updatepipelinebyidop.py +19 -1
  98. cribl_control_plane/models/updateroutesbyidop.py +19 -1
  99. cribl_control_plane/nodes.py +16 -8
  100. cribl_control_plane/packs.py +32 -20
  101. cribl_control_plane/pipelines.py +30 -20
  102. cribl_control_plane/routes_sdk.py +28 -16
  103. cribl_control_plane/samples.py +12 -8
  104. cribl_control_plane/sources.py +30 -20
  105. cribl_control_plane/statuses.py +6 -4
  106. cribl_control_plane/summaries.py +6 -8
  107. cribl_control_plane/teams.py +6 -4
  108. cribl_control_plane/tokens.py +2 -0
  109. cribl_control_plane/utils/forms.py +21 -10
  110. cribl_control_plane/utils/queryparams.py +14 -2
  111. cribl_control_plane/utils/retries.py +69 -5
  112. cribl_control_plane/utils/unmarshal_json_response.py +15 -1
  113. cribl_control_plane/versions_configs.py +6 -4
  114. {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a12.dist-info}/METADATA +28 -36
  115. {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a12.dist-info}/RECORD +117 -131
  116. cribl_control_plane-0.4.0a12.dist-info/licenses/LICENSE +201 -0
  117. cribl_control_plane/models/countedlistconfiggroup.py +0 -20
  118. cribl_control_plane/models/countedlistcribllakedataset.py +0 -20
  119. cribl_control_plane/models/countedlistdistributedsummary.py +0 -20
  120. cribl_control_plane/models/countedlistgitcommitsummary.py +0 -20
  121. cribl_control_plane/models/countedlistgitcountresult.py +0 -20
  122. cribl_control_plane/models/countedlistgitfilesresponse.py +0 -20
  123. cribl_control_plane/models/countedlistgitlogresult.py +0 -20
  124. cribl_control_plane/models/countedlistgitrevertresult.py +0 -20
  125. cribl_control_plane/models/countedlistgitstatusresult.py +0 -20
  126. cribl_control_plane/models/countedlistinputsplunkhec.py +0 -20
  127. cribl_control_plane/models/countedlistjobinfo.py +0 -20
  128. cribl_control_plane/models/countedlistmasterworkerentry.py +0 -20
  129. cribl_control_plane/models/countedlistnumber.py +0 -19
  130. cribl_control_plane/models/countedlistobject.py +0 -19
  131. cribl_control_plane/models/countedlistoutputsamplesresponse.py +0 -20
  132. cribl_control_plane/models/countedlistoutputtestresponse.py +0 -20
  133. cribl_control_plane/models/countedlistpackinfo.py +0 -20
  134. cribl_control_plane/models/countedlistteamaccesscontrollist.py +0 -20
  135. cribl_control_plane/models/countedlistuseraccesscontrollist.py +0 -20
  136. {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a12.dist-info}/WHEEL +0 -0
@@ -23,7 +23,7 @@ class Packs(BaseSDK):
23
23
  server_url: Optional[str] = None,
24
24
  timeout_ms: Optional[int] = None,
25
25
  http_headers: Optional[Mapping[str, str]] = None,
26
- ) -> models.CountedListPackInstallInfo:
26
+ ) -> models.CreatePacksResponse:
27
27
  r"""Install a Pack
28
28
 
29
29
  Install a Pack.<br><br>To install an uploaded Pack, provide the <code>source</code> value from the <code>PUT /packs</code> response as the <code>source</code> parameter in the request body.<br><br>To install a Pack by importing from a URL, provide the direct URL location of the <code>.crbl</code> file for the Pack as the <code>source</code> parameter in the request body.<br><br>To install a Pack by importing from a Git repository, provide <code>git+<repo-url></code> as the <code>source</code> parameter in the request body.<br><br>If you do not include the <code>source</code> parameter in the request body, an empty Pack is created.
@@ -64,6 +64,7 @@ class Packs(BaseSDK):
64
64
  get_serialized_body=lambda: utils.serialize_request_body(
65
65
  request, False, False, "json", models.PackRequestBodyUnion
66
66
  ),
67
+ allow_empty_value=None,
67
68
  timeout_ms=timeout_ms,
68
69
  )
69
70
 
@@ -92,7 +93,7 @@ class Packs(BaseSDK):
92
93
 
93
94
  response_data: Any = None
94
95
  if utils.match_response(http_res, "200", "application/json"):
95
- return unmarshal_json_response(models.CountedListPackInstallInfo, http_res)
96
+ return unmarshal_json_response(models.CreatePacksResponse, http_res)
96
97
  if utils.match_response(http_res, "500", "application/json"):
97
98
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
98
99
  raise errors.Error(response_data, http_res)
@@ -115,7 +116,7 @@ class Packs(BaseSDK):
115
116
  server_url: Optional[str] = None,
116
117
  timeout_ms: Optional[int] = None,
117
118
  http_headers: Optional[Mapping[str, str]] = None,
118
- ) -> models.CountedListPackInstallInfo:
119
+ ) -> models.CreatePacksResponse:
119
120
  r"""Install a Pack
120
121
 
121
122
  Install a Pack.<br><br>To install an uploaded Pack, provide the <code>source</code> value from the <code>PUT /packs</code> response as the <code>source</code> parameter in the request body.<br><br>To install a Pack by importing from a URL, provide the direct URL location of the <code>.crbl</code> file for the Pack as the <code>source</code> parameter in the request body.<br><br>To install a Pack by importing from a Git repository, provide <code>git+<repo-url></code> as the <code>source</code> parameter in the request body.<br><br>If you do not include the <code>source</code> parameter in the request body, an empty Pack is created.
@@ -156,6 +157,7 @@ class Packs(BaseSDK):
156
157
  get_serialized_body=lambda: utils.serialize_request_body(
157
158
  request, False, False, "json", models.PackRequestBodyUnion
158
159
  ),
160
+ allow_empty_value=None,
159
161
  timeout_ms=timeout_ms,
160
162
  )
161
163
 
@@ -184,7 +186,7 @@ class Packs(BaseSDK):
184
186
 
185
187
  response_data: Any = None
186
188
  if utils.match_response(http_res, "200", "application/json"):
187
- return unmarshal_json_response(models.CountedListPackInstallInfo, http_res)
189
+ return unmarshal_json_response(models.CreatePacksResponse, http_res)
188
190
  if utils.match_response(http_res, "500", "application/json"):
189
191
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
190
192
  raise errors.Error(response_data, http_res)
@@ -205,7 +207,7 @@ class Packs(BaseSDK):
205
207
  server_url: Optional[str] = None,
206
208
  timeout_ms: Optional[int] = None,
207
209
  http_headers: Optional[Mapping[str, str]] = None,
208
- ) -> models.CountedListPackInfo:
210
+ ) -> models.GetPacksResponse:
209
211
  r"""List all Packs
210
212
 
211
213
  Get a list of all Packs.
@@ -243,6 +245,7 @@ class Packs(BaseSDK):
243
245
  accept_header_value="application/json",
244
246
  http_headers=http_headers,
245
247
  security=self.sdk_configuration.security,
248
+ allow_empty_value=None,
246
249
  timeout_ms=timeout_ms,
247
250
  )
248
251
 
@@ -271,7 +274,7 @@ class Packs(BaseSDK):
271
274
 
272
275
  response_data: Any = None
273
276
  if utils.match_response(http_res, "200", "application/json"):
274
- return unmarshal_json_response(models.CountedListPackInfo, http_res)
277
+ return unmarshal_json_response(models.GetPacksResponse, http_res)
275
278
  if utils.match_response(http_res, "500", "application/json"):
276
279
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
277
280
  raise errors.Error(response_data, http_res)
@@ -292,7 +295,7 @@ class Packs(BaseSDK):
292
295
  server_url: Optional[str] = None,
293
296
  timeout_ms: Optional[int] = None,
294
297
  http_headers: Optional[Mapping[str, str]] = None,
295
- ) -> models.CountedListPackInfo:
298
+ ) -> models.GetPacksResponse:
296
299
  r"""List all Packs
297
300
 
298
301
  Get a list of all Packs.
@@ -330,6 +333,7 @@ class Packs(BaseSDK):
330
333
  accept_header_value="application/json",
331
334
  http_headers=http_headers,
332
335
  security=self.sdk_configuration.security,
336
+ allow_empty_value=None,
333
337
  timeout_ms=timeout_ms,
334
338
  )
335
339
 
@@ -358,7 +362,7 @@ class Packs(BaseSDK):
358
362
 
359
363
  response_data: Any = None
360
364
  if utils.match_response(http_res, "200", "application/json"):
361
- return unmarshal_json_response(models.CountedListPackInfo, http_res)
365
+ return unmarshal_json_response(models.GetPacksResponse, http_res)
362
366
  if utils.match_response(http_res, "500", "application/json"):
363
367
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
364
368
  raise errors.Error(response_data, http_res)
@@ -427,6 +431,7 @@ class Packs(BaseSDK):
427
431
  "raw",
428
432
  Union[bytes, IO[bytes], io.BufferedReader],
429
433
  ),
434
+ allow_empty_value=None,
430
435
  timeout_ms=timeout_ms,
431
436
  )
432
437
 
@@ -524,6 +529,7 @@ class Packs(BaseSDK):
524
529
  "raw",
525
530
  Union[bytes, IO[bytes], io.BufferedReader],
526
531
  ),
532
+ allow_empty_value=None,
527
533
  timeout_ms=timeout_ms,
528
534
  )
529
535
 
@@ -573,7 +579,7 @@ class Packs(BaseSDK):
573
579
  server_url: Optional[str] = None,
574
580
  timeout_ms: Optional[int] = None,
575
581
  http_headers: Optional[Mapping[str, str]] = None,
576
- ) -> models.CountedListPackInstallInfo:
582
+ ) -> models.DeletePacksByIDResponse:
577
583
  r"""Uninstall a Pack
578
584
 
579
585
  Uninstall the specified Pack.
@@ -611,6 +617,7 @@ class Packs(BaseSDK):
611
617
  accept_header_value="application/json",
612
618
  http_headers=http_headers,
613
619
  security=self.sdk_configuration.security,
620
+ allow_empty_value=None,
614
621
  timeout_ms=timeout_ms,
615
622
  )
616
623
 
@@ -639,7 +646,7 @@ class Packs(BaseSDK):
639
646
 
640
647
  response_data: Any = None
641
648
  if utils.match_response(http_res, "200", "application/json"):
642
- return unmarshal_json_response(models.CountedListPackInstallInfo, http_res)
649
+ return unmarshal_json_response(models.DeletePacksByIDResponse, http_res)
643
650
  if utils.match_response(http_res, "500", "application/json"):
644
651
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
645
652
  raise errors.Error(response_data, http_res)
@@ -660,7 +667,7 @@ class Packs(BaseSDK):
660
667
  server_url: Optional[str] = None,
661
668
  timeout_ms: Optional[int] = None,
662
669
  http_headers: Optional[Mapping[str, str]] = None,
663
- ) -> models.CountedListPackInstallInfo:
670
+ ) -> models.DeletePacksByIDResponse:
664
671
  r"""Uninstall a Pack
665
672
 
666
673
  Uninstall the specified Pack.
@@ -698,6 +705,7 @@ class Packs(BaseSDK):
698
705
  accept_header_value="application/json",
699
706
  http_headers=http_headers,
700
707
  security=self.sdk_configuration.security,
708
+ allow_empty_value=None,
701
709
  timeout_ms=timeout_ms,
702
710
  )
703
711
 
@@ -726,7 +734,7 @@ class Packs(BaseSDK):
726
734
 
727
735
  response_data: Any = None
728
736
  if utils.match_response(http_res, "200", "application/json"):
729
- return unmarshal_json_response(models.CountedListPackInstallInfo, http_res)
737
+ return unmarshal_json_response(models.DeletePacksByIDResponse, http_res)
730
738
  if utils.match_response(http_res, "500", "application/json"):
731
739
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
732
740
  raise errors.Error(response_data, http_res)
@@ -747,7 +755,7 @@ class Packs(BaseSDK):
747
755
  server_url: Optional[str] = None,
748
756
  timeout_ms: Optional[int] = None,
749
757
  http_headers: Optional[Mapping[str, str]] = None,
750
- ) -> models.CountedListPackInfo:
758
+ ) -> models.GetPacksByIDResponse:
751
759
  r"""Get a Pack
752
760
 
753
761
  Get the specified Pack.
@@ -785,6 +793,7 @@ class Packs(BaseSDK):
785
793
  accept_header_value="application/json",
786
794
  http_headers=http_headers,
787
795
  security=self.sdk_configuration.security,
796
+ allow_empty_value=None,
788
797
  timeout_ms=timeout_ms,
789
798
  )
790
799
 
@@ -813,7 +822,7 @@ class Packs(BaseSDK):
813
822
 
814
823
  response_data: Any = None
815
824
  if utils.match_response(http_res, "200", "application/json"):
816
- return unmarshal_json_response(models.CountedListPackInfo, http_res)
825
+ return unmarshal_json_response(models.GetPacksByIDResponse, http_res)
817
826
  if utils.match_response(http_res, "500", "application/json"):
818
827
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
819
828
  raise errors.Error(response_data, http_res)
@@ -834,7 +843,7 @@ class Packs(BaseSDK):
834
843
  server_url: Optional[str] = None,
835
844
  timeout_ms: Optional[int] = None,
836
845
  http_headers: Optional[Mapping[str, str]] = None,
837
- ) -> models.CountedListPackInfo:
846
+ ) -> models.GetPacksByIDResponse:
838
847
  r"""Get a Pack
839
848
 
840
849
  Get the specified Pack.
@@ -872,6 +881,7 @@ class Packs(BaseSDK):
872
881
  accept_header_value="application/json",
873
882
  http_headers=http_headers,
874
883
  security=self.sdk_configuration.security,
884
+ allow_empty_value=None,
875
885
  timeout_ms=timeout_ms,
876
886
  )
877
887
 
@@ -900,7 +910,7 @@ class Packs(BaseSDK):
900
910
 
901
911
  response_data: Any = None
902
912
  if utils.match_response(http_res, "200", "application/json"):
903
- return unmarshal_json_response(models.CountedListPackInfo, http_res)
913
+ return unmarshal_json_response(models.GetPacksByIDResponse, http_res)
904
914
  if utils.match_response(http_res, "500", "application/json"):
905
915
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
906
916
  raise errors.Error(response_data, http_res)
@@ -925,7 +935,7 @@ class Packs(BaseSDK):
925
935
  server_url: Optional[str] = None,
926
936
  timeout_ms: Optional[int] = None,
927
937
  http_headers: Optional[Mapping[str, str]] = None,
928
- ) -> models.CountedListPackInfo:
938
+ ) -> models.UpdatePacksByIDResponse:
929
939
  r"""Upgrade a Pack
930
940
 
931
941
  Upgrade the specified Pack.</br></br>If the Pack includes any user–modified versions of default Cribl Knowledge resources such as lookups, copy the modified files locally for safekeeping before upgrading the Pack.Copy the modified files back to the upgraded Pack after you install it with <code>POST /packs</code> to overwrite the default versions in the Pack.</br></br>After you upgrade the Pack, update any Routes, Pipelines, Sources, and Destinations that use the previous Pack version so that they reference the upgraded Pack.
@@ -980,6 +990,7 @@ class Packs(BaseSDK):
980
990
  "json",
981
991
  models.PackUpgradeRequest,
982
992
  ),
993
+ allow_empty_value=None,
983
994
  timeout_ms=timeout_ms,
984
995
  )
985
996
 
@@ -1008,7 +1019,7 @@ class Packs(BaseSDK):
1008
1019
 
1009
1020
  response_data: Any = None
1010
1021
  if utils.match_response(http_res, "200", "application/json"):
1011
- return unmarshal_json_response(models.CountedListPackInfo, http_res)
1022
+ return unmarshal_json_response(models.UpdatePacksByIDResponse, http_res)
1012
1023
  if utils.match_response(http_res, "500", "application/json"):
1013
1024
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
1014
1025
  raise errors.Error(response_data, http_res)
@@ -1033,7 +1044,7 @@ class Packs(BaseSDK):
1033
1044
  server_url: Optional[str] = None,
1034
1045
  timeout_ms: Optional[int] = None,
1035
1046
  http_headers: Optional[Mapping[str, str]] = None,
1036
- ) -> models.CountedListPackInfo:
1047
+ ) -> models.UpdatePacksByIDResponse:
1037
1048
  r"""Upgrade a Pack
1038
1049
 
1039
1050
  Upgrade the specified Pack.</br></br>If the Pack includes any user–modified versions of default Cribl Knowledge resources such as lookups, copy the modified files locally for safekeeping before upgrading the Pack.Copy the modified files back to the upgraded Pack after you install it with <code>POST /packs</code> to overwrite the default versions in the Pack.</br></br>After you upgrade the Pack, update any Routes, Pipelines, Sources, and Destinations that use the previous Pack version so that they reference the upgraded Pack.
@@ -1088,6 +1099,7 @@ class Packs(BaseSDK):
1088
1099
  "json",
1089
1100
  models.PackUpgradeRequest,
1090
1101
  ),
1102
+ allow_empty_value=None,
1091
1103
  timeout_ms=timeout_ms,
1092
1104
  )
1093
1105
 
@@ -1116,7 +1128,7 @@ class Packs(BaseSDK):
1116
1128
 
1117
1129
  response_data: Any = None
1118
1130
  if utils.match_response(http_res, "200", "application/json"):
1119
- return unmarshal_json_response(models.CountedListPackInfo, http_res)
1131
+ return unmarshal_json_response(models.UpdatePacksByIDResponse, http_res)
1120
1132
  if utils.match_response(http_res, "500", "application/json"):
1121
1133
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
1122
1134
  raise errors.Error(response_data, http_res)
@@ -19,7 +19,7 @@ class Pipelines(BaseSDK):
19
19
  server_url: Optional[str] = None,
20
20
  timeout_ms: Optional[int] = None,
21
21
  http_headers: Optional[Mapping[str, str]] = None,
22
- ) -> models.CountedListPipeline:
22
+ ) -> models.ListPipelineResponse:
23
23
  r"""List all Pipelines
24
24
 
25
25
  Get a list of all Pipelines.
@@ -51,6 +51,7 @@ class Pipelines(BaseSDK):
51
51
  accept_header_value="application/json",
52
52
  http_headers=http_headers,
53
53
  security=self.sdk_configuration.security,
54
+ allow_empty_value=None,
54
55
  timeout_ms=timeout_ms,
55
56
  )
56
57
 
@@ -79,7 +80,7 @@ class Pipelines(BaseSDK):
79
80
 
80
81
  response_data: Any = None
81
82
  if utils.match_response(http_res, "200", "application/json"):
82
- return unmarshal_json_response(models.CountedListPipeline, http_res)
83
+ return unmarshal_json_response(models.ListPipelineResponse, http_res)
83
84
  if utils.match_response(http_res, "500", "application/json"):
84
85
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
85
86
  raise errors.Error(response_data, http_res)
@@ -99,7 +100,7 @@ class Pipelines(BaseSDK):
99
100
  server_url: Optional[str] = None,
100
101
  timeout_ms: Optional[int] = None,
101
102
  http_headers: Optional[Mapping[str, str]] = None,
102
- ) -> models.CountedListPipeline:
103
+ ) -> models.ListPipelineResponse:
103
104
  r"""List all Pipelines
104
105
 
105
106
  Get a list of all Pipelines.
@@ -131,6 +132,7 @@ class Pipelines(BaseSDK):
131
132
  accept_header_value="application/json",
132
133
  http_headers=http_headers,
133
134
  security=self.sdk_configuration.security,
135
+ allow_empty_value=None,
134
136
  timeout_ms=timeout_ms,
135
137
  )
136
138
 
@@ -159,7 +161,7 @@ class Pipelines(BaseSDK):
159
161
 
160
162
  response_data: Any = None
161
163
  if utils.match_response(http_res, "200", "application/json"):
162
- return unmarshal_json_response(models.CountedListPipeline, http_res)
164
+ return unmarshal_json_response(models.ListPipelineResponse, http_res)
163
165
  if utils.match_response(http_res, "500", "application/json"):
164
166
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
165
167
  raise errors.Error(response_data, http_res)
@@ -181,7 +183,7 @@ class Pipelines(BaseSDK):
181
183
  server_url: Optional[str] = None,
182
184
  timeout_ms: Optional[int] = None,
183
185
  http_headers: Optional[Mapping[str, str]] = None,
184
- ) -> models.CountedListPipeline:
186
+ ) -> models.CreatePipelineResponse:
185
187
  r"""Create a Pipeline
186
188
 
187
189
  Create a new Pipeline.
@@ -224,6 +226,7 @@ class Pipelines(BaseSDK):
224
226
  get_serialized_body=lambda: utils.serialize_request_body(
225
227
  request, False, False, "json", models.Pipeline
226
228
  ),
229
+ allow_empty_value=None,
227
230
  timeout_ms=timeout_ms,
228
231
  )
229
232
 
@@ -252,7 +255,7 @@ class Pipelines(BaseSDK):
252
255
 
253
256
  response_data: Any = None
254
257
  if utils.match_response(http_res, "200", "application/json"):
255
- return unmarshal_json_response(models.CountedListPipeline, http_res)
258
+ return unmarshal_json_response(models.CreatePipelineResponse, http_res)
256
259
  if utils.match_response(http_res, "500", "application/json"):
257
260
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
258
261
  raise errors.Error(response_data, http_res)
@@ -274,7 +277,7 @@ class Pipelines(BaseSDK):
274
277
  server_url: Optional[str] = None,
275
278
  timeout_ms: Optional[int] = None,
276
279
  http_headers: Optional[Mapping[str, str]] = None,
277
- ) -> models.CountedListPipeline:
280
+ ) -> models.CreatePipelineResponse:
278
281
  r"""Create a Pipeline
279
282
 
280
283
  Create a new Pipeline.
@@ -317,6 +320,7 @@ class Pipelines(BaseSDK):
317
320
  get_serialized_body=lambda: utils.serialize_request_body(
318
321
  request, False, False, "json", models.Pipeline
319
322
  ),
323
+ allow_empty_value=None,
320
324
  timeout_ms=timeout_ms,
321
325
  )
322
326
 
@@ -345,7 +349,7 @@ class Pipelines(BaseSDK):
345
349
 
346
350
  response_data: Any = None
347
351
  if utils.match_response(http_res, "200", "application/json"):
348
- return unmarshal_json_response(models.CountedListPipeline, http_res)
352
+ return unmarshal_json_response(models.CreatePipelineResponse, http_res)
349
353
  if utils.match_response(http_res, "500", "application/json"):
350
354
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
351
355
  raise errors.Error(response_data, http_res)
@@ -366,7 +370,7 @@ class Pipelines(BaseSDK):
366
370
  server_url: Optional[str] = None,
367
371
  timeout_ms: Optional[int] = None,
368
372
  http_headers: Optional[Mapping[str, str]] = None,
369
- ) -> models.CountedListPipeline:
373
+ ) -> models.GetPipelineByIDResponse:
370
374
  r"""Get a Pipeline
371
375
 
372
376
  Get the specified Pipeline.
@@ -404,6 +408,7 @@ class Pipelines(BaseSDK):
404
408
  accept_header_value="application/json",
405
409
  http_headers=http_headers,
406
410
  security=self.sdk_configuration.security,
411
+ allow_empty_value=None,
407
412
  timeout_ms=timeout_ms,
408
413
  )
409
414
 
@@ -432,7 +437,7 @@ class Pipelines(BaseSDK):
432
437
 
433
438
  response_data: Any = None
434
439
  if utils.match_response(http_res, "200", "application/json"):
435
- return unmarshal_json_response(models.CountedListPipeline, http_res)
440
+ return unmarshal_json_response(models.GetPipelineByIDResponse, http_res)
436
441
  if utils.match_response(http_res, "500", "application/json"):
437
442
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
438
443
  raise errors.Error(response_data, http_res)
@@ -453,7 +458,7 @@ class Pipelines(BaseSDK):
453
458
  server_url: Optional[str] = None,
454
459
  timeout_ms: Optional[int] = None,
455
460
  http_headers: Optional[Mapping[str, str]] = None,
456
- ) -> models.CountedListPipeline:
461
+ ) -> models.GetPipelineByIDResponse:
457
462
  r"""Get a Pipeline
458
463
 
459
464
  Get the specified Pipeline.
@@ -491,6 +496,7 @@ class Pipelines(BaseSDK):
491
496
  accept_header_value="application/json",
492
497
  http_headers=http_headers,
493
498
  security=self.sdk_configuration.security,
499
+ allow_empty_value=None,
494
500
  timeout_ms=timeout_ms,
495
501
  )
496
502
 
@@ -519,7 +525,7 @@ class Pipelines(BaseSDK):
519
525
 
520
526
  response_data: Any = None
521
527
  if utils.match_response(http_res, "200", "application/json"):
522
- return unmarshal_json_response(models.CountedListPipeline, http_res)
528
+ return unmarshal_json_response(models.GetPipelineByIDResponse, http_res)
523
529
  if utils.match_response(http_res, "500", "application/json"):
524
530
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
525
531
  raise errors.Error(response_data, http_res)
@@ -542,7 +548,7 @@ class Pipelines(BaseSDK):
542
548
  server_url: Optional[str] = None,
543
549
  timeout_ms: Optional[int] = None,
544
550
  http_headers: Optional[Mapping[str, str]] = None,
545
- ) -> models.CountedListPipeline:
551
+ ) -> models.UpdatePipelineByIDResponse:
546
552
  r"""Update a Pipeline
547
553
 
548
554
  Update the specified Pipeline.</br></br>Provide a complete representation of the Pipeline that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Pipeline.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Pipeline might not function as expected.
@@ -589,6 +595,7 @@ class Pipelines(BaseSDK):
589
595
  get_serialized_body=lambda: utils.serialize_request_body(
590
596
  request.pipeline, False, False, "json", models.Pipeline
591
597
  ),
598
+ allow_empty_value=None,
592
599
  timeout_ms=timeout_ms,
593
600
  )
594
601
 
@@ -617,7 +624,7 @@ class Pipelines(BaseSDK):
617
624
 
618
625
  response_data: Any = None
619
626
  if utils.match_response(http_res, "200", "application/json"):
620
- return unmarshal_json_response(models.CountedListPipeline, http_res)
627
+ return unmarshal_json_response(models.UpdatePipelineByIDResponse, http_res)
621
628
  if utils.match_response(http_res, "500", "application/json"):
622
629
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
623
630
  raise errors.Error(response_data, http_res)
@@ -640,7 +647,7 @@ class Pipelines(BaseSDK):
640
647
  server_url: Optional[str] = None,
641
648
  timeout_ms: Optional[int] = None,
642
649
  http_headers: Optional[Mapping[str, str]] = None,
643
- ) -> models.CountedListPipeline:
650
+ ) -> models.UpdatePipelineByIDResponse:
644
651
  r"""Update a Pipeline
645
652
 
646
653
  Update the specified Pipeline.</br></br>Provide a complete representation of the Pipeline that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Pipeline.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Pipeline might not function as expected.
@@ -687,6 +694,7 @@ class Pipelines(BaseSDK):
687
694
  get_serialized_body=lambda: utils.serialize_request_body(
688
695
  request.pipeline, False, False, "json", models.Pipeline
689
696
  ),
697
+ allow_empty_value=None,
690
698
  timeout_ms=timeout_ms,
691
699
  )
692
700
 
@@ -715,7 +723,7 @@ class Pipelines(BaseSDK):
715
723
 
716
724
  response_data: Any = None
717
725
  if utils.match_response(http_res, "200", "application/json"):
718
- return unmarshal_json_response(models.CountedListPipeline, http_res)
726
+ return unmarshal_json_response(models.UpdatePipelineByIDResponse, http_res)
719
727
  if utils.match_response(http_res, "500", "application/json"):
720
728
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
721
729
  raise errors.Error(response_data, http_res)
@@ -736,7 +744,7 @@ class Pipelines(BaseSDK):
736
744
  server_url: Optional[str] = None,
737
745
  timeout_ms: Optional[int] = None,
738
746
  http_headers: Optional[Mapping[str, str]] = None,
739
- ) -> models.CountedListPipeline:
747
+ ) -> models.DeletePipelineByIDResponse:
740
748
  r"""Delete a Pipeline
741
749
 
742
750
  Delete the specified Pipeline.
@@ -774,6 +782,7 @@ class Pipelines(BaseSDK):
774
782
  accept_header_value="application/json",
775
783
  http_headers=http_headers,
776
784
  security=self.sdk_configuration.security,
785
+ allow_empty_value=None,
777
786
  timeout_ms=timeout_ms,
778
787
  )
779
788
 
@@ -802,7 +811,7 @@ class Pipelines(BaseSDK):
802
811
 
803
812
  response_data: Any = None
804
813
  if utils.match_response(http_res, "200", "application/json"):
805
- return unmarshal_json_response(models.CountedListPipeline, http_res)
814
+ return unmarshal_json_response(models.DeletePipelineByIDResponse, http_res)
806
815
  if utils.match_response(http_res, "500", "application/json"):
807
816
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
808
817
  raise errors.Error(response_data, http_res)
@@ -823,7 +832,7 @@ class Pipelines(BaseSDK):
823
832
  server_url: Optional[str] = None,
824
833
  timeout_ms: Optional[int] = None,
825
834
  http_headers: Optional[Mapping[str, str]] = None,
826
- ) -> models.CountedListPipeline:
835
+ ) -> models.DeletePipelineByIDResponse:
827
836
  r"""Delete a Pipeline
828
837
 
829
838
  Delete the specified Pipeline.
@@ -861,6 +870,7 @@ class Pipelines(BaseSDK):
861
870
  accept_header_value="application/json",
862
871
  http_headers=http_headers,
863
872
  security=self.sdk_configuration.security,
873
+ allow_empty_value=None,
864
874
  timeout_ms=timeout_ms,
865
875
  )
866
876
 
@@ -889,7 +899,7 @@ class Pipelines(BaseSDK):
889
899
 
890
900
  response_data: Any = None
891
901
  if utils.match_response(http_res, "200", "application/json"):
892
- return unmarshal_json_response(models.CountedListPipeline, http_res)
902
+ return unmarshal_json_response(models.DeletePipelineByIDResponse, http_res)
893
903
  if utils.match_response(http_res, "500", "application/json"):
894
904
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
895
905
  raise errors.Error(response_data, http_res)