cribl-control-plane 0.2.1rc7__py3-none-any.whl → 0.2.1rc11__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 (122) hide show
  1. cribl_control_plane/_version.py +4 -4
  2. cribl_control_plane/acl.py +4 -4
  3. cribl_control_plane/branches.py +4 -4
  4. cribl_control_plane/commits.py +28 -28
  5. cribl_control_plane/commits_files.py +8 -8
  6. cribl_control_plane/configs_versions.py +4 -8
  7. cribl_control_plane/destinations.py +20 -20
  8. cribl_control_plane/destinations_pq.py +8 -8
  9. cribl_control_plane/groups_sdk.py +26 -50
  10. cribl_control_plane/hectokens.py +8 -16
  11. cribl_control_plane/lakedatasets.py +48 -40
  12. cribl_control_plane/models/__init__.py +245 -392
  13. cribl_control_plane/models/configgroupcloud.py +1 -1
  14. cribl_control_plane/models/{getversionbranchop.py → countedlistbranchinfo.py} +2 -6
  15. cribl_control_plane/models/countedlistconfiggroup.py +20 -0
  16. cribl_control_plane/models/countedlistcribllakedataset.py +20 -0
  17. cribl_control_plane/models/countedlistdistributedsummary.py +20 -0
  18. cribl_control_plane/models/countedlistgitcommitsummary.py +20 -0
  19. cribl_control_plane/models/countedlistgitcountresult.py +20 -0
  20. cribl_control_plane/models/{createinputop.py → countedlistgitdiffresult.py} +5 -9
  21. cribl_control_plane/models/countedlistgitfilesresponse.py +20 -0
  22. cribl_control_plane/models/{getversioninfoop.py → countedlistgitinfo.py} +2 -6
  23. cribl_control_plane/models/countedlistgitlogresult.py +20 -0
  24. cribl_control_plane/models/countedlistgitrevertresult.py +20 -0
  25. cribl_control_plane/models/countedlistgitshowresult.py +20 -0
  26. cribl_control_plane/models/countedlistgitstatusresult.py +20 -0
  27. cribl_control_plane/models/{listinputop.py → countedlistinput.py} +2 -6
  28. cribl_control_plane/models/countedlistinputsplunkhec.py +20 -0
  29. cribl_control_plane/models/countedlistjobinfo.py +20 -0
  30. cribl_control_plane/models/countedlistmasterworkerentry.py +20 -0
  31. cribl_control_plane/models/countedlistnumber.py +19 -0
  32. cribl_control_plane/models/countedlistobject.py +19 -0
  33. cribl_control_plane/models/{listoutputop.py → countedlistoutput.py} +2 -6
  34. cribl_control_plane/models/{createoutputop.py → countedlistoutputsamplesresponse.py} +5 -9
  35. cribl_control_plane/models/countedlistoutputtestresponse.py +20 -0
  36. cribl_control_plane/models/countedlistpackinfo.py +20 -0
  37. cribl_control_plane/models/{createpacksop.py → countedlistpackinstallinfo.py} +2 -6
  38. cribl_control_plane/models/{listpipelineop.py → countedlistpipeline.py} +2 -6
  39. cribl_control_plane/models/{listroutesop.py → countedlistroutes.py} +2 -6
  40. cribl_control_plane/models/{createversionpushop.py → countedliststring.py} +2 -6
  41. cribl_control_plane/models/{createpipelineop.py → countedlistteamaccesscontrollist.py} +5 -9
  42. cribl_control_plane/models/countedlistuseraccesscontrollist.py +20 -0
  43. cribl_control_plane/models/createconfiggroupbyproductop.py +3 -22
  44. cribl_control_plane/models/createcribllakedatasetbylakeidop.py +1 -19
  45. cribl_control_plane/models/createinputhectokenbyidop.py +1 -20
  46. cribl_control_plane/models/createoutputtestbyidop.py +1 -20
  47. cribl_control_plane/models/createroutesappendbyidop.py +2 -20
  48. cribl_control_plane/models/createversioncommitop.py +1 -19
  49. cribl_control_plane/models/createversionrevertop.py +1 -19
  50. cribl_control_plane/models/createversionundoop.py +1 -18
  51. cribl_control_plane/models/cribllakedataset.py +4 -0
  52. cribl_control_plane/models/cribllakedatasetupdate.py +4 -0
  53. cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +1 -20
  54. cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +1 -20
  55. cribl_control_plane/models/deleteinputbyidop.py +1 -20
  56. cribl_control_plane/models/deleteoutputbyidop.py +1 -20
  57. cribl_control_plane/models/deleteoutputpqbyidop.py +1 -19
  58. cribl_control_plane/models/deletepacksbyidop.py +1 -20
  59. cribl_control_plane/models/deletepipelinebyidop.py +1 -20
  60. cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +1 -19
  61. cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +1 -19
  62. cribl_control_plane/models/getconfiggroupbyproductandidop.py +1 -19
  63. cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +1 -19
  64. cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +1 -20
  65. cribl_control_plane/models/getcribllakedatasetbylakeidop.py +1 -20
  66. cribl_control_plane/models/getinputbyidop.py +1 -20
  67. cribl_control_plane/models/getmasterworkerentryop.py +1 -18
  68. cribl_control_plane/models/getoutputbyidop.py +1 -20
  69. cribl_control_plane/models/getoutputpqbyidop.py +1 -20
  70. cribl_control_plane/models/getoutputsamplesbyidop.py +1 -20
  71. cribl_control_plane/models/getpacksbyidop.py +1 -20
  72. cribl_control_plane/models/getpacksop.py +1 -19
  73. cribl_control_plane/models/getpipelinebyidop.py +1 -20
  74. cribl_control_plane/models/getroutesbyidop.py +1 -20
  75. cribl_control_plane/models/getsummaryop.py +1 -19
  76. cribl_control_plane/models/getversioncountop.py +1 -19
  77. cribl_control_plane/models/getversiondiffop.py +1 -19
  78. cribl_control_plane/models/getversionfilesop.py +1 -19
  79. cribl_control_plane/models/getversionop.py +1 -19
  80. cribl_control_plane/models/getversionshowop.py +1 -19
  81. cribl_control_plane/models/getversionstatusop.py +1 -19
  82. cribl_control_plane/models/input.py +1 -1
  83. cribl_control_plane/models/inputcriblhttp.py +24 -6
  84. cribl_control_plane/models/inputcribltcp.py +25 -0
  85. cribl_control_plane/models/inputfile.py +4 -4
  86. cribl_control_plane/models/jobinfo.py +10 -4
  87. cribl_control_plane/models/lakedatasetmetrics.py +17 -0
  88. cribl_control_plane/models/listconfiggroupbyproductop.py +1 -19
  89. cribl_control_plane/models/listmasterworkerentryop.py +1 -19
  90. cribl_control_plane/models/output.py +2 -2
  91. cribl_control_plane/models/outputconfluentcloud.py +2 -0
  92. cribl_control_plane/models/outputcriblhttp.py +23 -0
  93. cribl_control_plane/models/outputcribltcp.py +25 -0
  94. cribl_control_plane/models/outputdatabricks.py +4 -4
  95. cribl_control_plane/models/outputkafka.py +2 -0
  96. cribl_control_plane/models/outputmsk.py +2 -0
  97. cribl_control_plane/models/runnablejobcollection.py +8 -0
  98. cribl_control_plane/models/runnablejobexecutor.py +4 -0
  99. cribl_control_plane/models/runnablejobscheduledsearch.py +4 -0
  100. cribl_control_plane/models/updateconfiggroupbyproductandidop.py +1 -19
  101. cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +1 -20
  102. cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +1 -20
  103. cribl_control_plane/models/updateinputbyidop.py +1 -19
  104. cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +1 -20
  105. cribl_control_plane/models/updateoutputbyidop.py +1 -19
  106. cribl_control_plane/models/updatepacksbyidop.py +1 -20
  107. cribl_control_plane/models/updatepipelinebyidop.py +1 -19
  108. cribl_control_plane/models/updateroutesbyidop.py +1 -19
  109. cribl_control_plane/nodes.py +8 -12
  110. cribl_control_plane/packs.py +20 -20
  111. cribl_control_plane/pipelines.py +20 -20
  112. cribl_control_plane/routes_sdk.py +16 -20
  113. cribl_control_plane/samples.py +8 -8
  114. cribl_control_plane/sdk.py +2 -2
  115. cribl_control_plane/sources.py +20 -20
  116. cribl_control_plane/statuses.py +4 -4
  117. cribl_control_plane/summaries.py +8 -4
  118. cribl_control_plane/teams.py +4 -4
  119. cribl_control_plane/versions_configs.py +4 -4
  120. {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/METADATA +25 -7
  121. {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/RECORD +122 -103
  122. {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/WHEEL +0 -0
@@ -19,7 +19,7 @@ class RoutesSDK(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.ListRoutesResponse:
22
+ ) -> models.CountedListRoutes:
23
23
  r"""List all Routes
24
24
 
25
25
  Get a list of all Routes.
@@ -79,7 +79,7 @@ class RoutesSDK(BaseSDK):
79
79
 
80
80
  response_data: Any = None
81
81
  if utils.match_response(http_res, "200", "application/json"):
82
- return unmarshal_json_response(models.ListRoutesResponse, http_res)
82
+ return unmarshal_json_response(models.CountedListRoutes, http_res)
83
83
  if utils.match_response(http_res, "500", "application/json"):
84
84
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
85
85
  raise errors.Error(response_data, http_res)
@@ -99,7 +99,7 @@ class RoutesSDK(BaseSDK):
99
99
  server_url: Optional[str] = None,
100
100
  timeout_ms: Optional[int] = None,
101
101
  http_headers: Optional[Mapping[str, str]] = None,
102
- ) -> models.ListRoutesResponse:
102
+ ) -> models.CountedListRoutes:
103
103
  r"""List all Routes
104
104
 
105
105
  Get a list of all Routes.
@@ -159,7 +159,7 @@ class RoutesSDK(BaseSDK):
159
159
 
160
160
  response_data: Any = None
161
161
  if utils.match_response(http_res, "200", "application/json"):
162
- return unmarshal_json_response(models.ListRoutesResponse, http_res)
162
+ return unmarshal_json_response(models.CountedListRoutes, http_res)
163
163
  if utils.match_response(http_res, "500", "application/json"):
164
164
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
165
165
  raise errors.Error(response_data, http_res)
@@ -180,7 +180,7 @@ class RoutesSDK(BaseSDK):
180
180
  server_url: Optional[str] = None,
181
181
  timeout_ms: Optional[int] = None,
182
182
  http_headers: Optional[Mapping[str, str]] = None,
183
- ) -> models.GetRoutesByIDResponse:
183
+ ) -> models.CountedListRoutes:
184
184
  r"""Get a Routing table
185
185
 
186
186
  Get the specified Routing table.
@@ -246,7 +246,7 @@ class RoutesSDK(BaseSDK):
246
246
 
247
247
  response_data: Any = None
248
248
  if utils.match_response(http_res, "200", "application/json"):
249
- return unmarshal_json_response(models.GetRoutesByIDResponse, http_res)
249
+ return unmarshal_json_response(models.CountedListRoutes, http_res)
250
250
  if utils.match_response(http_res, "500", "application/json"):
251
251
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
252
252
  raise errors.Error(response_data, http_res)
@@ -267,7 +267,7 @@ class RoutesSDK(BaseSDK):
267
267
  server_url: Optional[str] = None,
268
268
  timeout_ms: Optional[int] = None,
269
269
  http_headers: Optional[Mapping[str, str]] = None,
270
- ) -> models.GetRoutesByIDResponse:
270
+ ) -> models.CountedListRoutes:
271
271
  r"""Get a Routing table
272
272
 
273
273
  Get the specified Routing table.
@@ -333,7 +333,7 @@ class RoutesSDK(BaseSDK):
333
333
 
334
334
  response_data: Any = None
335
335
  if utils.match_response(http_res, "200", "application/json"):
336
- return unmarshal_json_response(models.GetRoutesByIDResponse, http_res)
336
+ return unmarshal_json_response(models.CountedListRoutes, http_res)
337
337
  if utils.match_response(http_res, "500", "application/json"):
338
338
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
339
339
  raise errors.Error(response_data, http_res)
@@ -364,7 +364,7 @@ class RoutesSDK(BaseSDK):
364
364
  server_url: Optional[str] = None,
365
365
  timeout_ms: Optional[int] = None,
366
366
  http_headers: Optional[Mapping[str, str]] = None,
367
- ) -> models.UpdateRoutesByIDResponse:
367
+ ) -> models.CountedListRoutes:
368
368
  r"""Update a Route
369
369
 
370
370
  Update a Route in the specified Routing table.</br></br>Provide a complete representation of the Routing table, including the Route that you want to update, in the request body. This endpoint does not support partial updates. Cribl removes any omitted Routes and fields when updating.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the Routing table might not function as expected.
@@ -447,7 +447,7 @@ class RoutesSDK(BaseSDK):
447
447
 
448
448
  response_data: Any = None
449
449
  if utils.match_response(http_res, "200", "application/json"):
450
- return unmarshal_json_response(models.UpdateRoutesByIDResponse, http_res)
450
+ return unmarshal_json_response(models.CountedListRoutes, http_res)
451
451
  if utils.match_response(http_res, "500", "application/json"):
452
452
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
453
453
  raise errors.Error(response_data, http_res)
@@ -478,7 +478,7 @@ class RoutesSDK(BaseSDK):
478
478
  server_url: Optional[str] = None,
479
479
  timeout_ms: Optional[int] = None,
480
480
  http_headers: Optional[Mapping[str, str]] = None,
481
- ) -> models.UpdateRoutesByIDResponse:
481
+ ) -> models.CountedListRoutes:
482
482
  r"""Update a Route
483
483
 
484
484
  Update a Route in the specified Routing table.</br></br>Provide a complete representation of the Routing table, including the Route that you want to update, in the request body. This endpoint does not support partial updates. Cribl removes any omitted Routes and fields when updating.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the Routing table might not function as expected.
@@ -561,7 +561,7 @@ class RoutesSDK(BaseSDK):
561
561
 
562
562
  response_data: Any = None
563
563
  if utils.match_response(http_res, "200", "application/json"):
564
- return unmarshal_json_response(models.UpdateRoutesByIDResponse, http_res)
564
+ return unmarshal_json_response(models.CountedListRoutes, http_res)
565
565
  if utils.match_response(http_res, "500", "application/json"):
566
566
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
567
567
  raise errors.Error(response_data, http_res)
@@ -583,7 +583,7 @@ class RoutesSDK(BaseSDK):
583
583
  server_url: Optional[str] = None,
584
584
  timeout_ms: Optional[int] = None,
585
585
  http_headers: Optional[Mapping[str, str]] = None,
586
- ) -> models.CreateRoutesAppendByIDResponse:
586
+ ) -> models.CountedListRoutes:
587
587
  r"""Add a Route to the end of the Routing table
588
588
 
589
589
  Add a Route to the end of the specified Routing table.
@@ -654,9 +654,7 @@ class RoutesSDK(BaseSDK):
654
654
 
655
655
  response_data: Any = None
656
656
  if utils.match_response(http_res, "200", "application/json"):
657
- return unmarshal_json_response(
658
- models.CreateRoutesAppendByIDResponse, http_res
659
- )
657
+ return unmarshal_json_response(models.CountedListRoutes, http_res)
660
658
  if utils.match_response(http_res, "500", "application/json"):
661
659
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
662
660
  raise errors.Error(response_data, http_res)
@@ -678,7 +676,7 @@ class RoutesSDK(BaseSDK):
678
676
  server_url: Optional[str] = None,
679
677
  timeout_ms: Optional[int] = None,
680
678
  http_headers: Optional[Mapping[str, str]] = None,
681
- ) -> models.CreateRoutesAppendByIDResponse:
679
+ ) -> models.CountedListRoutes:
682
680
  r"""Add a Route to the end of the Routing table
683
681
 
684
682
  Add a Route to the end of the specified Routing table.
@@ -749,9 +747,7 @@ class RoutesSDK(BaseSDK):
749
747
 
750
748
  response_data: Any = None
751
749
  if utils.match_response(http_res, "200", "application/json"):
752
- return unmarshal_json_response(
753
- models.CreateRoutesAppendByIDResponse, http_res
754
- )
750
+ return unmarshal_json_response(models.CountedListRoutes, http_res)
755
751
  if utils.match_response(http_res, "500", "application/json"):
756
752
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
757
753
  raise errors.Error(response_data, http_res)
@@ -18,7 +18,7 @@ class Samples(BaseSDK):
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.GetOutputSamplesByIDResponse:
21
+ ) -> models.CountedListOutputSamplesResponse:
22
22
  r"""Get sample event data for a Destination
23
23
 
24
24
  Get sample event data for the specified Destination to validate the configuration or test connectivity.
@@ -85,7 +85,7 @@ class Samples(BaseSDK):
85
85
  response_data: Any = None
86
86
  if utils.match_response(http_res, "200", "application/json"):
87
87
  return unmarshal_json_response(
88
- models.GetOutputSamplesByIDResponse, http_res
88
+ models.CountedListOutputSamplesResponse, http_res
89
89
  )
90
90
  if utils.match_response(http_res, "500", "application/json"):
91
91
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
@@ -107,7 +107,7 @@ class Samples(BaseSDK):
107
107
  server_url: Optional[str] = None,
108
108
  timeout_ms: Optional[int] = None,
109
109
  http_headers: Optional[Mapping[str, str]] = None,
110
- ) -> models.GetOutputSamplesByIDResponse:
110
+ ) -> models.CountedListOutputSamplesResponse:
111
111
  r"""Get sample event data for a Destination
112
112
 
113
113
  Get sample event data for the specified Destination to validate the configuration or test connectivity.
@@ -174,7 +174,7 @@ class Samples(BaseSDK):
174
174
  response_data: Any = None
175
175
  if utils.match_response(http_res, "200", "application/json"):
176
176
  return unmarshal_json_response(
177
- models.GetOutputSamplesByIDResponse, http_res
177
+ models.CountedListOutputSamplesResponse, http_res
178
178
  )
179
179
  if utils.match_response(http_res, "500", "application/json"):
180
180
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
@@ -197,7 +197,7 @@ class Samples(BaseSDK):
197
197
  server_url: Optional[str] = None,
198
198
  timeout_ms: Optional[int] = None,
199
199
  http_headers: Optional[Mapping[str, str]] = None,
200
- ) -> models.CreateOutputTestByIDResponse:
200
+ ) -> models.CountedListOutputTestResponse:
201
201
  r"""Send sample event data to a Destination
202
202
 
203
203
  Send sample event data to the specified Destination to validate the configuration or test connectivity.
@@ -275,7 +275,7 @@ class Samples(BaseSDK):
275
275
  response_data: Any = None
276
276
  if utils.match_response(http_res, "200", "application/json"):
277
277
  return unmarshal_json_response(
278
- models.CreateOutputTestByIDResponse, http_res
278
+ models.CountedListOutputTestResponse, http_res
279
279
  )
280
280
  if utils.match_response(http_res, "500", "application/json"):
281
281
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
@@ -298,7 +298,7 @@ class Samples(BaseSDK):
298
298
  server_url: Optional[str] = None,
299
299
  timeout_ms: Optional[int] = None,
300
300
  http_headers: Optional[Mapping[str, str]] = None,
301
- ) -> models.CreateOutputTestByIDResponse:
301
+ ) -> models.CountedListOutputTestResponse:
302
302
  r"""Send sample event data to a Destination
303
303
 
304
304
  Send sample event data to the specified Destination to validate the configuration or test connectivity.
@@ -376,7 +376,7 @@ class Samples(BaseSDK):
376
376
  response_data: Any = None
377
377
  if utils.match_response(http_res, "200", "application/json"):
378
378
  return unmarshal_json_response(
379
- models.CreateOutputTestByIDResponse, http_res
379
+ models.CountedListOutputTestResponse, http_res
380
380
  )
381
381
  if utils.match_response(http_res, "500", "application/json"):
382
382
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
@@ -41,12 +41,12 @@ class CriblControlPlane(BaseSDK):
41
41
  routes: "RoutesSDK"
42
42
  r"""Actions related to Routes"""
43
43
  auth: "AuthSDK"
44
- nodes: "Nodes"
45
44
  health: "Health"
46
45
  r"""Actions related to REST server health"""
47
46
  packs: "Packs"
48
47
  r"""Actions related to Packs"""
49
48
  versions: "Versions"
49
+ nodes: "Nodes"
50
50
  groups: "GroupsSDK"
51
51
  r"""Actions related to Groups"""
52
52
  _sub_sdk_map = {
@@ -56,10 +56,10 @@ class CriblControlPlane(BaseSDK):
56
56
  "pipelines": ("cribl_control_plane.pipelines", "Pipelines"),
57
57
  "routes": ("cribl_control_plane.routes_sdk", "RoutesSDK"),
58
58
  "auth": ("cribl_control_plane.auth_sdk", "AuthSDK"),
59
- "nodes": ("cribl_control_plane.nodes", "Nodes"),
60
59
  "health": ("cribl_control_plane.health", "Health"),
61
60
  "packs": ("cribl_control_plane.packs", "Packs"),
62
61
  "versions": ("cribl_control_plane.versions", "Versions"),
62
+ "nodes": ("cribl_control_plane.nodes", "Nodes"),
63
63
  "groups": ("cribl_control_plane.groups_sdk", "GroupsSDK"),
64
64
  }
65
65
 
@@ -33,7 +33,7 @@ class Sources(BaseSDK):
33
33
  server_url: Optional[str] = None,
34
34
  timeout_ms: Optional[int] = None,
35
35
  http_headers: Optional[Mapping[str, str]] = None,
36
- ) -> models.ListInputResponse:
36
+ ) -> models.CountedListInput:
37
37
  r"""List all Sources
38
38
 
39
39
  Get a list of all Sources.
@@ -93,7 +93,7 @@ class Sources(BaseSDK):
93
93
 
94
94
  response_data: Any = None
95
95
  if utils.match_response(http_res, "200", "application/json"):
96
- return unmarshal_json_response(models.ListInputResponse, http_res)
96
+ return unmarshal_json_response(models.CountedListInput, http_res)
97
97
  if utils.match_response(http_res, "500", "application/json"):
98
98
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
99
99
  raise errors.Error(response_data, http_res)
@@ -113,7 +113,7 @@ class Sources(BaseSDK):
113
113
  server_url: Optional[str] = None,
114
114
  timeout_ms: Optional[int] = None,
115
115
  http_headers: Optional[Mapping[str, str]] = None,
116
- ) -> models.ListInputResponse:
116
+ ) -> models.CountedListInput:
117
117
  r"""List all Sources
118
118
 
119
119
  Get a list of all Sources.
@@ -173,7 +173,7 @@ class Sources(BaseSDK):
173
173
 
174
174
  response_data: Any = None
175
175
  if utils.match_response(http_res, "200", "application/json"):
176
- return unmarshal_json_response(models.ListInputResponse, http_res)
176
+ return unmarshal_json_response(models.CountedListInput, http_res)
177
177
  if utils.match_response(http_res, "500", "application/json"):
178
178
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
179
179
  raise errors.Error(response_data, http_res)
@@ -194,7 +194,7 @@ class Sources(BaseSDK):
194
194
  server_url: Optional[str] = None,
195
195
  timeout_ms: Optional[int] = None,
196
196
  http_headers: Optional[Mapping[str, str]] = None,
197
- ) -> models.CreateInputResponse:
197
+ ) -> models.CountedListInput:
198
198
  r"""Create a Source
199
199
 
200
200
  Create a new Source.
@@ -263,7 +263,7 @@ class Sources(BaseSDK):
263
263
 
264
264
  response_data: Any = None
265
265
  if utils.match_response(http_res, "200", "application/json"):
266
- return unmarshal_json_response(models.CreateInputResponse, http_res)
266
+ return unmarshal_json_response(models.CountedListInput, http_res)
267
267
  if utils.match_response(http_res, "500", "application/json"):
268
268
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
269
269
  raise errors.Error(response_data, http_res)
@@ -284,7 +284,7 @@ class Sources(BaseSDK):
284
284
  server_url: Optional[str] = None,
285
285
  timeout_ms: Optional[int] = None,
286
286
  http_headers: Optional[Mapping[str, str]] = None,
287
- ) -> models.CreateInputResponse:
287
+ ) -> models.CountedListInput:
288
288
  r"""Create a Source
289
289
 
290
290
  Create a new Source.
@@ -353,7 +353,7 @@ class Sources(BaseSDK):
353
353
 
354
354
  response_data: Any = None
355
355
  if utils.match_response(http_res, "200", "application/json"):
356
- return unmarshal_json_response(models.CreateInputResponse, http_res)
356
+ return unmarshal_json_response(models.CountedListInput, http_res)
357
357
  if utils.match_response(http_res, "500", "application/json"):
358
358
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
359
359
  raise errors.Error(response_data, http_res)
@@ -374,7 +374,7 @@ class Sources(BaseSDK):
374
374
  server_url: Optional[str] = None,
375
375
  timeout_ms: Optional[int] = None,
376
376
  http_headers: Optional[Mapping[str, str]] = None,
377
- ) -> models.GetInputByIDResponse:
377
+ ) -> models.CountedListInput:
378
378
  r"""Get a Source
379
379
 
380
380
  Get the specified Source.
@@ -440,7 +440,7 @@ class Sources(BaseSDK):
440
440
 
441
441
  response_data: Any = None
442
442
  if utils.match_response(http_res, "200", "application/json"):
443
- return unmarshal_json_response(models.GetInputByIDResponse, http_res)
443
+ return unmarshal_json_response(models.CountedListInput, http_res)
444
444
  if utils.match_response(http_res, "500", "application/json"):
445
445
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
446
446
  raise errors.Error(response_data, http_res)
@@ -461,7 +461,7 @@ class Sources(BaseSDK):
461
461
  server_url: Optional[str] = None,
462
462
  timeout_ms: Optional[int] = None,
463
463
  http_headers: Optional[Mapping[str, str]] = None,
464
- ) -> models.GetInputByIDResponse:
464
+ ) -> models.CountedListInput:
465
465
  r"""Get a Source
466
466
 
467
467
  Get the specified Source.
@@ -527,7 +527,7 @@ class Sources(BaseSDK):
527
527
 
528
528
  response_data: Any = None
529
529
  if utils.match_response(http_res, "200", "application/json"):
530
- return unmarshal_json_response(models.GetInputByIDResponse, http_res)
530
+ return unmarshal_json_response(models.CountedListInput, http_res)
531
531
  if utils.match_response(http_res, "500", "application/json"):
532
532
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
533
533
  raise errors.Error(response_data, http_res)
@@ -549,7 +549,7 @@ class Sources(BaseSDK):
549
549
  server_url: Optional[str] = None,
550
550
  timeout_ms: Optional[int] = None,
551
551
  http_headers: Optional[Mapping[str, str]] = None,
552
- ) -> models.UpdateInputByIDResponse:
552
+ ) -> models.CountedListInput:
553
553
  r"""Update a Source
554
554
 
555
555
  Update the specified Source.</br></br>Provide a complete representation of the Source that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Source.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Source might not function as expected.
@@ -620,7 +620,7 @@ class Sources(BaseSDK):
620
620
 
621
621
  response_data: Any = None
622
622
  if utils.match_response(http_res, "200", "application/json"):
623
- return unmarshal_json_response(models.UpdateInputByIDResponse, http_res)
623
+ return unmarshal_json_response(models.CountedListInput, http_res)
624
624
  if utils.match_response(http_res, "500", "application/json"):
625
625
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
626
626
  raise errors.Error(response_data, http_res)
@@ -642,7 +642,7 @@ class Sources(BaseSDK):
642
642
  server_url: Optional[str] = None,
643
643
  timeout_ms: Optional[int] = None,
644
644
  http_headers: Optional[Mapping[str, str]] = None,
645
- ) -> models.UpdateInputByIDResponse:
645
+ ) -> models.CountedListInput:
646
646
  r"""Update a Source
647
647
 
648
648
  Update the specified Source.</br></br>Provide a complete representation of the Source that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Source.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Source might not function as expected.
@@ -713,7 +713,7 @@ class Sources(BaseSDK):
713
713
 
714
714
  response_data: Any = None
715
715
  if utils.match_response(http_res, "200", "application/json"):
716
- return unmarshal_json_response(models.UpdateInputByIDResponse, http_res)
716
+ return unmarshal_json_response(models.CountedListInput, http_res)
717
717
  if utils.match_response(http_res, "500", "application/json"):
718
718
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
719
719
  raise errors.Error(response_data, http_res)
@@ -734,7 +734,7 @@ class Sources(BaseSDK):
734
734
  server_url: Optional[str] = None,
735
735
  timeout_ms: Optional[int] = None,
736
736
  http_headers: Optional[Mapping[str, str]] = None,
737
- ) -> models.DeleteInputByIDResponse:
737
+ ) -> models.CountedListInput:
738
738
  r"""Delete a Source
739
739
 
740
740
  Delete the specified Source.
@@ -800,7 +800,7 @@ class Sources(BaseSDK):
800
800
 
801
801
  response_data: Any = None
802
802
  if utils.match_response(http_res, "200", "application/json"):
803
- return unmarshal_json_response(models.DeleteInputByIDResponse, http_res)
803
+ return unmarshal_json_response(models.CountedListInput, http_res)
804
804
  if utils.match_response(http_res, "500", "application/json"):
805
805
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
806
806
  raise errors.Error(response_data, http_res)
@@ -821,7 +821,7 @@ class Sources(BaseSDK):
821
821
  server_url: Optional[str] = None,
822
822
  timeout_ms: Optional[int] = None,
823
823
  http_headers: Optional[Mapping[str, str]] = None,
824
- ) -> models.DeleteInputByIDResponse:
824
+ ) -> models.CountedListInput:
825
825
  r"""Delete a Source
826
826
 
827
827
  Delete the specified Source.
@@ -887,7 +887,7 @@ class Sources(BaseSDK):
887
887
 
888
888
  response_data: Any = None
889
889
  if utils.match_response(http_res, "200", "application/json"):
890
- return unmarshal_json_response(models.DeleteInputByIDResponse, http_res)
890
+ return unmarshal_json_response(models.CountedListInput, http_res)
891
891
  if utils.match_response(http_res, "500", "application/json"):
892
892
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
893
893
  raise errors.Error(response_data, http_res)
@@ -18,7 +18,7 @@ class Statuses(BaseSDK):
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.GetVersionStatusResponse:
21
+ ) -> models.CountedListGitStatusResult:
22
22
  r"""Get the status of the current working tree
23
23
 
24
24
  Get the status of the current working tree of the Git repository used for Cribl configuration. The response includes details about modified, staged, untracked, and conflicted files, as well as branch and remote tracking information.
@@ -84,7 +84,7 @@ class Statuses(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.GetVersionStatusResponse, http_res)
87
+ return unmarshal_json_response(models.CountedListGitStatusResult, 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)
@@ -105,7 +105,7 @@ class Statuses(BaseSDK):
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.GetVersionStatusResponse:
108
+ ) -> models.CountedListGitStatusResult:
109
109
  r"""Get the status of the current working tree
110
110
 
111
111
  Get the status of the current working tree of the Git repository used for Cribl configuration. The response includes details about modified, staged, untracked, and conflicted files, as well as branch and remote tracking information.
@@ -171,7 +171,7 @@ class Statuses(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.GetVersionStatusResponse, http_res)
174
+ return unmarshal_json_response(models.CountedListGitStatusResult, 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)
@@ -18,7 +18,7 @@ class Summaries(BaseSDK):
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.GetSummaryResponse:
21
+ ) -> models.CountedListDistributedSummary:
22
22
  r"""Get a summary of the Distributed deployment
23
23
 
24
24
  Get a summary of the Distributed deployment. The response includes counts of Worker Groups, Edge Fleets, Pipelines, Routes, Sources, Destinations, and Worker and Edge Nodes, as well as statistics for the Worker and Edge Nodes.
@@ -84,7 +84,9 @@ class Summaries(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.GetSummaryResponse, http_res)
87
+ return unmarshal_json_response(
88
+ models.CountedListDistributedSummary, http_res
89
+ )
88
90
  if utils.match_response(http_res, "500", "application/json"):
89
91
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
90
92
  raise errors.Error(response_data, http_res)
@@ -105,7 +107,7 @@ class Summaries(BaseSDK):
105
107
  server_url: Optional[str] = None,
106
108
  timeout_ms: Optional[int] = None,
107
109
  http_headers: Optional[Mapping[str, str]] = None,
108
- ) -> models.GetSummaryResponse:
110
+ ) -> models.CountedListDistributedSummary:
109
111
  r"""Get a summary of the Distributed deployment
110
112
 
111
113
  Get a summary of the Distributed deployment. The response includes counts of Worker Groups, Edge Fleets, Pipelines, Routes, Sources, Destinations, and Worker and Edge Nodes, as well as statistics for the Worker and Edge Nodes.
@@ -171,7 +173,9 @@ class Summaries(BaseSDK):
171
173
 
172
174
  response_data: Any = None
173
175
  if utils.match_response(http_res, "200", "application/json"):
174
- return unmarshal_json_response(models.GetSummaryResponse, http_res)
176
+ return unmarshal_json_response(
177
+ models.CountedListDistributedSummary, http_res
178
+ )
175
179
  if utils.match_response(http_res, "500", "application/json"):
176
180
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
177
181
  raise errors.Error(response_data, http_res)
@@ -20,7 +20,7 @@ class Teams(BaseSDK):
20
20
  server_url: Optional[str] = None,
21
21
  timeout_ms: Optional[int] = None,
22
22
  http_headers: Optional[Mapping[str, str]] = None,
23
- ) -> models.GetConfigGroupACLTeamsByProductAndIDResponse:
23
+ ) -> models.CountedListTeamAccessControlList:
24
24
  r"""Get the Access Control List for teams with permissions on a Worker Group or Edge Fleet for the specified Cribl product
25
25
 
26
26
  Get the Access Control List (ACL) for teams that have permissions on a Worker Group or Edge Fleet for the specified Cribl product.
@@ -91,7 +91,7 @@ class Teams(BaseSDK):
91
91
  response_data: Any = None
92
92
  if utils.match_response(http_res, "200", "application/json"):
93
93
  return unmarshal_json_response(
94
- models.GetConfigGroupACLTeamsByProductAndIDResponse, http_res
94
+ models.CountedListTeamAccessControlList, http_res
95
95
  )
96
96
  if utils.match_response(http_res, "500", "application/json"):
97
97
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
@@ -115,7 +115,7 @@ class Teams(BaseSDK):
115
115
  server_url: Optional[str] = None,
116
116
  timeout_ms: Optional[int] = None,
117
117
  http_headers: Optional[Mapping[str, str]] = None,
118
- ) -> models.GetConfigGroupACLTeamsByProductAndIDResponse:
118
+ ) -> models.CountedListTeamAccessControlList:
119
119
  r"""Get the Access Control List for teams with permissions on a Worker Group or Edge Fleet for the specified Cribl product
120
120
 
121
121
  Get the Access Control List (ACL) for teams that have permissions on a Worker Group or Edge Fleet for the specified Cribl product.
@@ -186,7 +186,7 @@ class Teams(BaseSDK):
186
186
  response_data: Any = None
187
187
  if utils.match_response(http_res, "200", "application/json"):
188
188
  return unmarshal_json_response(
189
- models.GetConfigGroupACLTeamsByProductAndIDResponse, http_res
189
+ models.CountedListTeamAccessControlList, http_res
190
190
  )
191
191
  if utils.match_response(http_res, "500", "application/json"):
192
192
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
@@ -17,7 +17,7 @@ class VersionsConfigs(BaseSDK):
17
17
  server_url: Optional[str] = None,
18
18
  timeout_ms: Optional[int] = None,
19
19
  http_headers: Optional[Mapping[str, str]] = None,
20
- ) -> models.GetVersionInfoResponse:
20
+ ) -> models.CountedListGitInfo:
21
21
  r"""Get the configuration and status for the Git integration
22
22
 
23
23
  Get the configuration and versioning status for the Git integration for the Cribl configuration.
@@ -77,7 +77,7 @@ class VersionsConfigs(BaseSDK):
77
77
 
78
78
  response_data: Any = None
79
79
  if utils.match_response(http_res, "200", "application/json"):
80
- return unmarshal_json_response(models.GetVersionInfoResponse, http_res)
80
+ return unmarshal_json_response(models.CountedListGitInfo, http_res)
81
81
  if utils.match_response(http_res, "500", "application/json"):
82
82
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
83
83
  raise errors.Error(response_data, http_res)
@@ -97,7 +97,7 @@ class VersionsConfigs(BaseSDK):
97
97
  server_url: Optional[str] = None,
98
98
  timeout_ms: Optional[int] = None,
99
99
  http_headers: Optional[Mapping[str, str]] = None,
100
- ) -> models.GetVersionInfoResponse:
100
+ ) -> models.CountedListGitInfo:
101
101
  r"""Get the configuration and status for the Git integration
102
102
 
103
103
  Get the configuration and versioning status for the Git integration for the Cribl configuration.
@@ -157,7 +157,7 @@ class VersionsConfigs(BaseSDK):
157
157
 
158
158
  response_data: Any = None
159
159
  if utils.match_response(http_res, "200", "application/json"):
160
- return unmarshal_json_response(models.GetVersionInfoResponse, http_res)
160
+ return unmarshal_json_response(models.CountedListGitInfo, http_res)
161
161
  if utils.match_response(http_res, "500", "application/json"):
162
162
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
163
163
  raise errors.Error(response_data, http_res)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cribl-control-plane
3
- Version: 0.2.1rc7
3
+ Version: 0.2.1rc11
4
4
  Summary: Python Client SDK Generated by Speakeasy.
5
5
  Author: Speakeasy
6
6
  Requires-Python: >=3.9.2
@@ -158,7 +158,10 @@ with CriblControlPlane(
158
158
  "lakehouse_connection_type": models.LakehouseConnectionType.CACHE,
159
159
  "migration_query_id": "<id>",
160
160
  "retention_in_days": 1466.58,
161
- }, deletion_started_at=8310.58, description="pleased toothbrush long brush smooth swiftly rightfully phooey chapel", format_=models.CriblLakeDatasetFormat.DDSS, http_da_used=True, retention_period_in_days=456.37, search_config={
161
+ }, deletion_started_at=8310.58, description="pleased toothbrush long brush smooth swiftly rightfully phooey chapel", format_=models.CriblLakeDatasetFormat.DDSS, http_da_used=True, metrics={
162
+ "current_size_bytes": 6170.04,
163
+ "metrics_date": "<value>",
164
+ }, retention_period_in_days=456.37, search_config={
162
165
  "datatypes": [
163
166
  "<value 1>",
164
167
  ],
@@ -216,7 +219,10 @@ async def main():
216
219
  "lakehouse_connection_type": models.LakehouseConnectionType.CACHE,
217
220
  "migration_query_id": "<id>",
218
221
  "retention_in_days": 1466.58,
219
- }, deletion_started_at=8310.58, description="pleased toothbrush long brush smooth swiftly rightfully phooey chapel", format_=models.CriblLakeDatasetFormat.DDSS, http_da_used=True, retention_period_in_days=456.37, search_config={
222
+ }, deletion_started_at=8310.58, description="pleased toothbrush long brush smooth swiftly rightfully phooey chapel", format_=models.CriblLakeDatasetFormat.DDSS, http_da_used=True, metrics={
223
+ "current_size_bytes": 6170.04,
224
+ "metrics_date": "<value>",
225
+ }, retention_period_in_days=456.37, search_config={
220
226
  "datatypes": [
221
227
  "<value 1>",
222
228
  ],
@@ -283,7 +289,10 @@ with CriblControlPlane(
283
289
  "lakehouse_connection_type": models.LakehouseConnectionType.CACHE,
284
290
  "migration_query_id": "<id>",
285
291
  "retention_in_days": 1466.58,
286
- }, deletion_started_at=8310.58, description="pleased toothbrush long brush smooth swiftly rightfully phooey chapel", format_=models.CriblLakeDatasetFormat.DDSS, http_da_used=True, retention_period_in_days=456.37, search_config={
292
+ }, deletion_started_at=8310.58, description="pleased toothbrush long brush smooth swiftly rightfully phooey chapel", format_=models.CriblLakeDatasetFormat.DDSS, http_da_used=True, metrics={
293
+ "current_size_bytes": 6170.04,
294
+ "metrics_date": "<value>",
295
+ }, retention_period_in_days=456.37, search_config={
287
296
  "datatypes": [
288
297
  "<value 1>",
289
298
  ],
@@ -511,7 +520,10 @@ with CriblControlPlane(
511
520
  "lakehouse_connection_type": models.LakehouseConnectionType.CACHE,
512
521
  "migration_query_id": "<id>",
513
522
  "retention_in_days": 1466.58,
514
- }, deletion_started_at=8310.58, description="pleased toothbrush long brush smooth swiftly rightfully phooey chapel", format_=models.CriblLakeDatasetFormat.DDSS, http_da_used=True, retention_period_in_days=456.37, search_config={
523
+ }, deletion_started_at=8310.58, description="pleased toothbrush long brush smooth swiftly rightfully phooey chapel", format_=models.CriblLakeDatasetFormat.DDSS, http_da_used=True, metrics={
524
+ "current_size_bytes": 6170.04,
525
+ "metrics_date": "<value>",
526
+ }, retention_period_in_days=456.37, search_config={
515
527
  "datatypes": [
516
528
  "<value 1>",
517
529
  ],
@@ -567,7 +579,10 @@ with CriblControlPlane(
567
579
  "lakehouse_connection_type": models.LakehouseConnectionType.CACHE,
568
580
  "migration_query_id": "<id>",
569
581
  "retention_in_days": 1466.58,
570
- }, deletion_started_at=8310.58, description="pleased toothbrush long brush smooth swiftly rightfully phooey chapel", format_=models.CriblLakeDatasetFormat.DDSS, http_da_used=True, retention_period_in_days=456.37, search_config={
582
+ }, deletion_started_at=8310.58, description="pleased toothbrush long brush smooth swiftly rightfully phooey chapel", format_=models.CriblLakeDatasetFormat.DDSS, http_da_used=True, metrics={
583
+ "current_size_bytes": 6170.04,
584
+ "metrics_date": "<value>",
585
+ }, retention_period_in_days=456.37, search_config={
571
586
  "datatypes": [
572
587
  "<value 1>",
573
588
  ],
@@ -637,7 +652,10 @@ with CriblControlPlane(
637
652
  "lakehouse_connection_type": models.LakehouseConnectionType.CACHE,
638
653
  "migration_query_id": "<id>",
639
654
  "retention_in_days": 1466.58,
640
- }, deletion_started_at=8310.58, description="pleased toothbrush long brush smooth swiftly rightfully phooey chapel", format_=models.CriblLakeDatasetFormat.DDSS, http_da_used=True, retention_period_in_days=456.37, search_config={
655
+ }, deletion_started_at=8310.58, description="pleased toothbrush long brush smooth swiftly rightfully phooey chapel", format_=models.CriblLakeDatasetFormat.DDSS, http_da_used=True, metrics={
656
+ "current_size_bytes": 6170.04,
657
+ "metrics_date": "<value>",
658
+ }, retention_period_in_days=456.37, search_config={
641
659
  "datatypes": [
642
660
  "<value 1>",
643
661
  ],