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.
- cribl_control_plane/_version.py +4 -4
- cribl_control_plane/acl.py +4 -4
- cribl_control_plane/branches.py +4 -4
- cribl_control_plane/commits.py +28 -28
- cribl_control_plane/commits_files.py +8 -8
- cribl_control_plane/configs_versions.py +4 -8
- cribl_control_plane/destinations.py +20 -20
- cribl_control_plane/destinations_pq.py +8 -8
- cribl_control_plane/groups_sdk.py +26 -50
- cribl_control_plane/hectokens.py +8 -16
- cribl_control_plane/lakedatasets.py +48 -40
- cribl_control_plane/models/__init__.py +245 -392
- cribl_control_plane/models/configgroupcloud.py +1 -1
- cribl_control_plane/models/{getversionbranchop.py → countedlistbranchinfo.py} +2 -6
- cribl_control_plane/models/countedlistconfiggroup.py +20 -0
- cribl_control_plane/models/countedlistcribllakedataset.py +20 -0
- cribl_control_plane/models/countedlistdistributedsummary.py +20 -0
- cribl_control_plane/models/countedlistgitcommitsummary.py +20 -0
- cribl_control_plane/models/countedlistgitcountresult.py +20 -0
- cribl_control_plane/models/{createinputop.py → countedlistgitdiffresult.py} +5 -9
- cribl_control_plane/models/countedlistgitfilesresponse.py +20 -0
- cribl_control_plane/models/{getversioninfoop.py → countedlistgitinfo.py} +2 -6
- cribl_control_plane/models/countedlistgitlogresult.py +20 -0
- cribl_control_plane/models/countedlistgitrevertresult.py +20 -0
- cribl_control_plane/models/countedlistgitshowresult.py +20 -0
- cribl_control_plane/models/countedlistgitstatusresult.py +20 -0
- cribl_control_plane/models/{listinputop.py → countedlistinput.py} +2 -6
- cribl_control_plane/models/countedlistinputsplunkhec.py +20 -0
- cribl_control_plane/models/countedlistjobinfo.py +20 -0
- cribl_control_plane/models/countedlistmasterworkerentry.py +20 -0
- cribl_control_plane/models/countedlistnumber.py +19 -0
- cribl_control_plane/models/countedlistobject.py +19 -0
- cribl_control_plane/models/{listoutputop.py → countedlistoutput.py} +2 -6
- cribl_control_plane/models/{createoutputop.py → countedlistoutputsamplesresponse.py} +5 -9
- cribl_control_plane/models/countedlistoutputtestresponse.py +20 -0
- cribl_control_plane/models/countedlistpackinfo.py +20 -0
- cribl_control_plane/models/{createpacksop.py → countedlistpackinstallinfo.py} +2 -6
- cribl_control_plane/models/{listpipelineop.py → countedlistpipeline.py} +2 -6
- cribl_control_plane/models/{listroutesop.py → countedlistroutes.py} +2 -6
- cribl_control_plane/models/{createversionpushop.py → countedliststring.py} +2 -6
- cribl_control_plane/models/{createpipelineop.py → countedlistteamaccesscontrollist.py} +5 -9
- cribl_control_plane/models/countedlistuseraccesscontrollist.py +20 -0
- cribl_control_plane/models/createconfiggroupbyproductop.py +3 -22
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +1 -19
- cribl_control_plane/models/createinputhectokenbyidop.py +1 -20
- cribl_control_plane/models/createoutputtestbyidop.py +1 -20
- cribl_control_plane/models/createroutesappendbyidop.py +2 -20
- cribl_control_plane/models/createversioncommitop.py +1 -19
- cribl_control_plane/models/createversionrevertop.py +1 -19
- cribl_control_plane/models/createversionundoop.py +1 -18
- cribl_control_plane/models/cribllakedataset.py +4 -0
- cribl_control_plane/models/cribllakedatasetupdate.py +4 -0
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +1 -20
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/deleteinputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputpqbyidop.py +1 -19
- cribl_control_plane/models/deletepacksbyidop.py +1 -20
- cribl_control_plane/models/deletepipelinebyidop.py +1 -20
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +1 -19
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +1 -19
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +1 -19
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +1 -19
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +1 -20
- cribl_control_plane/models/getinputbyidop.py +1 -20
- cribl_control_plane/models/getmasterworkerentryop.py +1 -18
- cribl_control_plane/models/getoutputbyidop.py +1 -20
- cribl_control_plane/models/getoutputpqbyidop.py +1 -20
- cribl_control_plane/models/getoutputsamplesbyidop.py +1 -20
- cribl_control_plane/models/getpacksbyidop.py +1 -20
- cribl_control_plane/models/getpacksop.py +1 -19
- cribl_control_plane/models/getpipelinebyidop.py +1 -20
- cribl_control_plane/models/getroutesbyidop.py +1 -20
- cribl_control_plane/models/getsummaryop.py +1 -19
- cribl_control_plane/models/getversioncountop.py +1 -19
- cribl_control_plane/models/getversiondiffop.py +1 -19
- cribl_control_plane/models/getversionfilesop.py +1 -19
- cribl_control_plane/models/getversionop.py +1 -19
- cribl_control_plane/models/getversionshowop.py +1 -19
- cribl_control_plane/models/getversionstatusop.py +1 -19
- cribl_control_plane/models/input.py +1 -1
- cribl_control_plane/models/inputcriblhttp.py +24 -6
- cribl_control_plane/models/inputcribltcp.py +25 -0
- cribl_control_plane/models/inputfile.py +4 -4
- cribl_control_plane/models/jobinfo.py +10 -4
- cribl_control_plane/models/lakedatasetmetrics.py +17 -0
- cribl_control_plane/models/listconfiggroupbyproductop.py +1 -19
- cribl_control_plane/models/listmasterworkerentryop.py +1 -19
- cribl_control_plane/models/output.py +2 -2
- cribl_control_plane/models/outputconfluentcloud.py +2 -0
- cribl_control_plane/models/outputcriblhttp.py +23 -0
- cribl_control_plane/models/outputcribltcp.py +25 -0
- cribl_control_plane/models/outputdatabricks.py +4 -4
- cribl_control_plane/models/outputkafka.py +2 -0
- cribl_control_plane/models/outputmsk.py +2 -0
- cribl_control_plane/models/runnablejobcollection.py +8 -0
- cribl_control_plane/models/runnablejobexecutor.py +4 -0
- cribl_control_plane/models/runnablejobscheduledsearch.py +4 -0
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +1 -19
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +1 -20
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/updateinputbyidop.py +1 -19
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +1 -20
- cribl_control_plane/models/updateoutputbyidop.py +1 -19
- cribl_control_plane/models/updatepacksbyidop.py +1 -20
- cribl_control_plane/models/updatepipelinebyidop.py +1 -19
- cribl_control_plane/models/updateroutesbyidop.py +1 -19
- cribl_control_plane/nodes.py +8 -12
- cribl_control_plane/packs.py +20 -20
- cribl_control_plane/pipelines.py +20 -20
- cribl_control_plane/routes_sdk.py +16 -20
- cribl_control_plane/samples.py +8 -8
- cribl_control_plane/sdk.py +2 -2
- cribl_control_plane/sources.py +20 -20
- cribl_control_plane/statuses.py +4 -4
- cribl_control_plane/summaries.py +8 -4
- cribl_control_plane/teams.py +4 -4
- cribl_control_plane/versions_configs.py +4 -4
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/METADATA +25 -7
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/RECORD +122 -103
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/WHEEL +0 -0
|
@@ -18,7 +18,7 @@ class DestinationsPq(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.
|
|
21
|
+
) -> models.CountedListstring:
|
|
22
22
|
r"""Clear the persistent queue for a Destination
|
|
23
23
|
|
|
24
24
|
Clear the persistent queue (PQ) for the specified Destination.
|
|
@@ -84,7 +84,7 @@ class DestinationsPq(BaseSDK):
|
|
|
84
84
|
|
|
85
85
|
response_data: Any = None
|
|
86
86
|
if utils.match_response(http_res, "201", "application/json"):
|
|
87
|
-
return unmarshal_json_response(models.
|
|
87
|
+
return unmarshal_json_response(models.CountedListstring, 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 DestinationsPq(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.
|
|
108
|
+
) -> models.CountedListstring:
|
|
109
109
|
r"""Clear the persistent queue for a Destination
|
|
110
110
|
|
|
111
111
|
Clear the persistent queue (PQ) for the specified Destination.
|
|
@@ -171,7 +171,7 @@ class DestinationsPq(BaseSDK):
|
|
|
171
171
|
|
|
172
172
|
response_data: Any = None
|
|
173
173
|
if utils.match_response(http_res, "201", "application/json"):
|
|
174
|
-
return unmarshal_json_response(models.
|
|
174
|
+
return unmarshal_json_response(models.CountedListstring, 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)
|
|
@@ -192,7 +192,7 @@ class DestinationsPq(BaseSDK):
|
|
|
192
192
|
server_url: Optional[str] = None,
|
|
193
193
|
timeout_ms: Optional[int] = None,
|
|
194
194
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
195
|
-
) -> models.
|
|
195
|
+
) -> models.CountedListJobInfo:
|
|
196
196
|
r"""Get information about the latest job to clear the persistent queue for a Destination
|
|
197
197
|
|
|
198
198
|
Get information about the latest job to clear the persistent queue (PQ) for the specified Destination.
|
|
@@ -258,7 +258,7 @@ class DestinationsPq(BaseSDK):
|
|
|
258
258
|
|
|
259
259
|
response_data: Any = None
|
|
260
260
|
if utils.match_response(http_res, "200", "application/json"):
|
|
261
|
-
return unmarshal_json_response(models.
|
|
261
|
+
return unmarshal_json_response(models.CountedListJobInfo, http_res)
|
|
262
262
|
if utils.match_response(http_res, "500", "application/json"):
|
|
263
263
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
264
264
|
raise errors.Error(response_data, http_res)
|
|
@@ -279,7 +279,7 @@ class DestinationsPq(BaseSDK):
|
|
|
279
279
|
server_url: Optional[str] = None,
|
|
280
280
|
timeout_ms: Optional[int] = None,
|
|
281
281
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
282
|
-
) -> models.
|
|
282
|
+
) -> models.CountedListJobInfo:
|
|
283
283
|
r"""Get information about the latest job to clear the persistent queue for a Destination
|
|
284
284
|
|
|
285
285
|
Get information about the latest job to clear the persistent queue (PQ) for the specified Destination.
|
|
@@ -345,7 +345,7 @@ class DestinationsPq(BaseSDK):
|
|
|
345
345
|
|
|
346
346
|
response_data: Any = None
|
|
347
347
|
if utils.match_response(http_res, "200", "application/json"):
|
|
348
|
-
return unmarshal_json_response(models.
|
|
348
|
+
return unmarshal_json_response(models.CountedListJobInfo, http_res)
|
|
349
349
|
if utils.match_response(http_res, "500", "application/json"):
|
|
350
350
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
351
351
|
raise errors.Error(response_data, http_res)
|
|
@@ -38,7 +38,7 @@ class GroupsSDK(BaseSDK):
|
|
|
38
38
|
server_url: Optional[str] = None,
|
|
39
39
|
timeout_ms: Optional[int] = None,
|
|
40
40
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
41
|
-
) -> models.
|
|
41
|
+
) -> models.CountedListConfigGroup:
|
|
42
42
|
r"""List all Worker Groups or Edge Fleets for the specified Cribl product
|
|
43
43
|
|
|
44
44
|
Get a list of all Worker Groups or Edge Fleets for the specified Cribl product.
|
|
@@ -106,9 +106,7 @@ class GroupsSDK(BaseSDK):
|
|
|
106
106
|
|
|
107
107
|
response_data: Any = None
|
|
108
108
|
if utils.match_response(http_res, "200", "application/json"):
|
|
109
|
-
return unmarshal_json_response(
|
|
110
|
-
models.ListConfigGroupByProductResponse, http_res
|
|
111
|
-
)
|
|
109
|
+
return unmarshal_json_response(models.CountedListConfigGroup, http_res)
|
|
112
110
|
if utils.match_response(http_res, "500", "application/json"):
|
|
113
111
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
114
112
|
raise errors.Error(response_data, http_res)
|
|
@@ -130,7 +128,7 @@ class GroupsSDK(BaseSDK):
|
|
|
130
128
|
server_url: Optional[str] = None,
|
|
131
129
|
timeout_ms: Optional[int] = None,
|
|
132
130
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
133
|
-
) -> models.
|
|
131
|
+
) -> models.CountedListConfigGroup:
|
|
134
132
|
r"""List all Worker Groups or Edge Fleets for the specified Cribl product
|
|
135
133
|
|
|
136
134
|
Get a list of all Worker Groups or Edge Fleets for the specified Cribl product.
|
|
@@ -198,9 +196,7 @@ class GroupsSDK(BaseSDK):
|
|
|
198
196
|
|
|
199
197
|
response_data: Any = None
|
|
200
198
|
if utils.match_response(http_res, "200", "application/json"):
|
|
201
|
-
return unmarshal_json_response(
|
|
202
|
-
models.ListConfigGroupByProductResponse, http_res
|
|
203
|
-
)
|
|
199
|
+
return unmarshal_json_response(models.CountedListConfigGroup, http_res)
|
|
204
200
|
if utils.match_response(http_res, "500", "application/json"):
|
|
205
201
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
206
202
|
raise errors.Error(response_data, http_res)
|
|
@@ -254,12 +250,12 @@ class GroupsSDK(BaseSDK):
|
|
|
254
250
|
server_url: Optional[str] = None,
|
|
255
251
|
timeout_ms: Optional[int] = None,
|
|
256
252
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
257
|
-
) -> models.
|
|
253
|
+
) -> models.CountedListConfigGroup:
|
|
258
254
|
r"""Create a Worker Group or Edge Fleet for the specified Cribl product
|
|
259
255
|
|
|
260
256
|
Create a new Worker Group or Edge Fleet for the specified Cribl product.
|
|
261
257
|
|
|
262
|
-
:param product: Name of the Cribl product to add the Worker Group or Edge Fleet to.
|
|
258
|
+
:param product: required Name of the Cribl product to add the Worker Group or Edge Fleet to.
|
|
263
259
|
:param id:
|
|
264
260
|
:param cloud:
|
|
265
261
|
:param deploying_worker_count:
|
|
@@ -379,9 +375,7 @@ class GroupsSDK(BaseSDK):
|
|
|
379
375
|
|
|
380
376
|
response_data: Any = None
|
|
381
377
|
if utils.match_response(http_res, "200", "application/json"):
|
|
382
|
-
return unmarshal_json_response(
|
|
383
|
-
models.CreateConfigGroupByProductResponse, http_res
|
|
384
|
-
)
|
|
378
|
+
return unmarshal_json_response(models.CountedListConfigGroup, http_res)
|
|
385
379
|
if utils.match_response(http_res, "500", "application/json"):
|
|
386
380
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
387
381
|
raise errors.Error(response_data, http_res)
|
|
@@ -435,12 +429,12 @@ class GroupsSDK(BaseSDK):
|
|
|
435
429
|
server_url: Optional[str] = None,
|
|
436
430
|
timeout_ms: Optional[int] = None,
|
|
437
431
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
438
|
-
) -> models.
|
|
432
|
+
) -> models.CountedListConfigGroup:
|
|
439
433
|
r"""Create a Worker Group or Edge Fleet for the specified Cribl product
|
|
440
434
|
|
|
441
435
|
Create a new Worker Group or Edge Fleet for the specified Cribl product.
|
|
442
436
|
|
|
443
|
-
:param product: Name of the Cribl product to add the Worker Group or Edge Fleet to.
|
|
437
|
+
:param product: required Name of the Cribl product to add the Worker Group or Edge Fleet to.
|
|
444
438
|
:param id:
|
|
445
439
|
:param cloud:
|
|
446
440
|
:param deploying_worker_count:
|
|
@@ -560,9 +554,7 @@ class GroupsSDK(BaseSDK):
|
|
|
560
554
|
|
|
561
555
|
response_data: Any = None
|
|
562
556
|
if utils.match_response(http_res, "200", "application/json"):
|
|
563
|
-
return unmarshal_json_response(
|
|
564
|
-
models.CreateConfigGroupByProductResponse, http_res
|
|
565
|
-
)
|
|
557
|
+
return unmarshal_json_response(models.CountedListConfigGroup, http_res)
|
|
566
558
|
if utils.match_response(http_res, "500", "application/json"):
|
|
567
559
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
568
560
|
raise errors.Error(response_data, http_res)
|
|
@@ -585,7 +577,7 @@ class GroupsSDK(BaseSDK):
|
|
|
585
577
|
server_url: Optional[str] = None,
|
|
586
578
|
timeout_ms: Optional[int] = None,
|
|
587
579
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
588
|
-
) -> models.
|
|
580
|
+
) -> models.CountedListConfigGroup:
|
|
589
581
|
r"""Get a Worker Group or Edge Fleet
|
|
590
582
|
|
|
591
583
|
Get the specified Worker Group or Edge Fleet.
|
|
@@ -655,9 +647,7 @@ class GroupsSDK(BaseSDK):
|
|
|
655
647
|
|
|
656
648
|
response_data: Any = None
|
|
657
649
|
if utils.match_response(http_res, "200", "application/json"):
|
|
658
|
-
return unmarshal_json_response(
|
|
659
|
-
models.GetConfigGroupByProductAndIDResponse, http_res
|
|
660
|
-
)
|
|
650
|
+
return unmarshal_json_response(models.CountedListConfigGroup, http_res)
|
|
661
651
|
if utils.match_response(http_res, "500", "application/json"):
|
|
662
652
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
663
653
|
raise errors.Error(response_data, http_res)
|
|
@@ -680,7 +670,7 @@ class GroupsSDK(BaseSDK):
|
|
|
680
670
|
server_url: Optional[str] = None,
|
|
681
671
|
timeout_ms: Optional[int] = None,
|
|
682
672
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
683
|
-
) -> models.
|
|
673
|
+
) -> models.CountedListConfigGroup:
|
|
684
674
|
r"""Get a Worker Group or Edge Fleet
|
|
685
675
|
|
|
686
676
|
Get the specified Worker Group or Edge Fleet.
|
|
@@ -750,9 +740,7 @@ class GroupsSDK(BaseSDK):
|
|
|
750
740
|
|
|
751
741
|
response_data: Any = None
|
|
752
742
|
if utils.match_response(http_res, "200", "application/json"):
|
|
753
|
-
return unmarshal_json_response(
|
|
754
|
-
models.GetConfigGroupByProductAndIDResponse, http_res
|
|
755
|
-
)
|
|
743
|
+
return unmarshal_json_response(models.CountedListConfigGroup, http_res)
|
|
756
744
|
if utils.match_response(http_res, "500", "application/json"):
|
|
757
745
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
758
746
|
raise errors.Error(response_data, http_res)
|
|
@@ -805,7 +793,7 @@ class GroupsSDK(BaseSDK):
|
|
|
805
793
|
server_url: Optional[str] = None,
|
|
806
794
|
timeout_ms: Optional[int] = None,
|
|
807
795
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
808
|
-
) -> models.
|
|
796
|
+
) -> models.CountedListConfigGroup:
|
|
809
797
|
r"""Update a Worker Group or Edge Fleet
|
|
810
798
|
|
|
811
799
|
Update the specified Worker Group or Edge Fleet.
|
|
@@ -926,9 +914,7 @@ class GroupsSDK(BaseSDK):
|
|
|
926
914
|
|
|
927
915
|
response_data: Any = None
|
|
928
916
|
if utils.match_response(http_res, "200", "application/json"):
|
|
929
|
-
return unmarshal_json_response(
|
|
930
|
-
models.UpdateConfigGroupByProductAndIDResponse, http_res
|
|
931
|
-
)
|
|
917
|
+
return unmarshal_json_response(models.CountedListConfigGroup, http_res)
|
|
932
918
|
if utils.match_response(http_res, "500", "application/json"):
|
|
933
919
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
934
920
|
raise errors.Error(response_data, http_res)
|
|
@@ -981,7 +967,7 @@ class GroupsSDK(BaseSDK):
|
|
|
981
967
|
server_url: Optional[str] = None,
|
|
982
968
|
timeout_ms: Optional[int] = None,
|
|
983
969
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
984
|
-
) -> models.
|
|
970
|
+
) -> models.CountedListConfigGroup:
|
|
985
971
|
r"""Update a Worker Group or Edge Fleet
|
|
986
972
|
|
|
987
973
|
Update the specified Worker Group or Edge Fleet.
|
|
@@ -1102,9 +1088,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1102
1088
|
|
|
1103
1089
|
response_data: Any = None
|
|
1104
1090
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1105
|
-
return unmarshal_json_response(
|
|
1106
|
-
models.UpdateConfigGroupByProductAndIDResponse, http_res
|
|
1107
|
-
)
|
|
1091
|
+
return unmarshal_json_response(models.CountedListConfigGroup, http_res)
|
|
1108
1092
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1109
1093
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1110
1094
|
raise errors.Error(response_data, http_res)
|
|
@@ -1126,7 +1110,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1126
1110
|
server_url: Optional[str] = None,
|
|
1127
1111
|
timeout_ms: Optional[int] = None,
|
|
1128
1112
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1129
|
-
) -> models.
|
|
1113
|
+
) -> models.CountedListConfigGroup:
|
|
1130
1114
|
r"""Delete a Worker Group or Edge Fleet
|
|
1131
1115
|
|
|
1132
1116
|
Delete the specified Worker Group or Edge Fleet.
|
|
@@ -1194,9 +1178,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1194
1178
|
|
|
1195
1179
|
response_data: Any = None
|
|
1196
1180
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1197
|
-
return unmarshal_json_response(
|
|
1198
|
-
models.DeleteConfigGroupByProductAndIDResponse, http_res
|
|
1199
|
-
)
|
|
1181
|
+
return unmarshal_json_response(models.CountedListConfigGroup, http_res)
|
|
1200
1182
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1201
1183
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1202
1184
|
raise errors.Error(response_data, http_res)
|
|
@@ -1218,7 +1200,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1218
1200
|
server_url: Optional[str] = None,
|
|
1219
1201
|
timeout_ms: Optional[int] = None,
|
|
1220
1202
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1221
|
-
) -> models.
|
|
1203
|
+
) -> models.CountedListConfigGroup:
|
|
1222
1204
|
r"""Delete a Worker Group or Edge Fleet
|
|
1223
1205
|
|
|
1224
1206
|
Delete the specified Worker Group or Edge Fleet.
|
|
@@ -1286,9 +1268,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1286
1268
|
|
|
1287
1269
|
response_data: Any = None
|
|
1288
1270
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1289
|
-
return unmarshal_json_response(
|
|
1290
|
-
models.DeleteConfigGroupByProductAndIDResponse, http_res
|
|
1291
|
-
)
|
|
1271
|
+
return unmarshal_json_response(models.CountedListConfigGroup, http_res)
|
|
1292
1272
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1293
1273
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1294
1274
|
raise errors.Error(response_data, http_res)
|
|
@@ -1317,7 +1297,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1317
1297
|
server_url: Optional[str] = None,
|
|
1318
1298
|
timeout_ms: Optional[int] = None,
|
|
1319
1299
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1320
|
-
) -> models.
|
|
1300
|
+
) -> models.CountedListConfigGroup:
|
|
1321
1301
|
r"""Deploy commits to a Worker Group or Edge Fleet
|
|
1322
1302
|
|
|
1323
1303
|
Deploy commits to the specified Worker Group or Edge Fleet.
|
|
@@ -1396,9 +1376,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1396
1376
|
|
|
1397
1377
|
response_data: Any = None
|
|
1398
1378
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1399
|
-
return unmarshal_json_response(
|
|
1400
|
-
models.UpdateConfigGroupDeployByProductAndIDResponse, http_res
|
|
1401
|
-
)
|
|
1379
|
+
return unmarshal_json_response(models.CountedListConfigGroup, http_res)
|
|
1402
1380
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1403
1381
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1404
1382
|
raise errors.Error(response_data, http_res)
|
|
@@ -1427,7 +1405,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1427
1405
|
server_url: Optional[str] = None,
|
|
1428
1406
|
timeout_ms: Optional[int] = None,
|
|
1429
1407
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1430
|
-
) -> models.
|
|
1408
|
+
) -> models.CountedListConfigGroup:
|
|
1431
1409
|
r"""Deploy commits to a Worker Group or Edge Fleet
|
|
1432
1410
|
|
|
1433
1411
|
Deploy commits to the specified Worker Group or Edge Fleet.
|
|
@@ -1506,9 +1484,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1506
1484
|
|
|
1507
1485
|
response_data: Any = None
|
|
1508
1486
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1509
|
-
return unmarshal_json_response(
|
|
1510
|
-
models.UpdateConfigGroupDeployByProductAndIDResponse, http_res
|
|
1511
|
-
)
|
|
1487
|
+
return unmarshal_json_response(models.CountedListConfigGroup, http_res)
|
|
1512
1488
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1513
1489
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1514
1490
|
raise errors.Error(response_data, http_res)
|
cribl_control_plane/hectokens.py
CHANGED
|
@@ -27,7 +27,7 @@ class HecTokens(BaseSDK):
|
|
|
27
27
|
server_url: Optional[str] = None,
|
|
28
28
|
timeout_ms: Optional[int] = None,
|
|
29
29
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
30
|
-
) -> models.
|
|
30
|
+
) -> models.CountedListInputSplunkHec:
|
|
31
31
|
r"""Add an HEC token and optional metadata to a Splunk HEC Source
|
|
32
32
|
|
|
33
33
|
Add an HEC token and optional metadata to the specified Splunk HEC Source.
|
|
@@ -112,9 +112,7 @@ class HecTokens(BaseSDK):
|
|
|
112
112
|
|
|
113
113
|
response_data: Any = None
|
|
114
114
|
if utils.match_response(http_res, "200", "application/json"):
|
|
115
|
-
return unmarshal_json_response(
|
|
116
|
-
models.CreateInputHecTokenByIDResponse, http_res
|
|
117
|
-
)
|
|
115
|
+
return unmarshal_json_response(models.CountedListInputSplunkHec, http_res)
|
|
118
116
|
if utils.match_response(http_res, "500", "application/json"):
|
|
119
117
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
120
118
|
raise errors.Error(response_data, http_res)
|
|
@@ -144,7 +142,7 @@ class HecTokens(BaseSDK):
|
|
|
144
142
|
server_url: Optional[str] = None,
|
|
145
143
|
timeout_ms: Optional[int] = None,
|
|
146
144
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
147
|
-
) -> models.
|
|
145
|
+
) -> models.CountedListInputSplunkHec:
|
|
148
146
|
r"""Add an HEC token and optional metadata to a Splunk HEC Source
|
|
149
147
|
|
|
150
148
|
Add an HEC token and optional metadata to the specified Splunk HEC Source.
|
|
@@ -229,9 +227,7 @@ class HecTokens(BaseSDK):
|
|
|
229
227
|
|
|
230
228
|
response_data: Any = None
|
|
231
229
|
if utils.match_response(http_res, "200", "application/json"):
|
|
232
|
-
return unmarshal_json_response(
|
|
233
|
-
models.CreateInputHecTokenByIDResponse, http_res
|
|
234
|
-
)
|
|
230
|
+
return unmarshal_json_response(models.CountedListInputSplunkHec, http_res)
|
|
235
231
|
if utils.match_response(http_res, "500", "application/json"):
|
|
236
232
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
237
233
|
raise errors.Error(response_data, http_res)
|
|
@@ -261,7 +257,7 @@ class HecTokens(BaseSDK):
|
|
|
261
257
|
server_url: Optional[str] = None,
|
|
262
258
|
timeout_ms: Optional[int] = None,
|
|
263
259
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
264
|
-
) -> models.
|
|
260
|
+
) -> models.CountedListInputSplunkHec:
|
|
265
261
|
r"""Update metadata for an HEC token for a Splunk HEC Source
|
|
266
262
|
|
|
267
263
|
Update the metadata for the specified HEC token for the specified Splunk HEC Source.
|
|
@@ -346,9 +342,7 @@ class HecTokens(BaseSDK):
|
|
|
346
342
|
|
|
347
343
|
response_data: Any = None
|
|
348
344
|
if utils.match_response(http_res, "200", "application/json"):
|
|
349
|
-
return unmarshal_json_response(
|
|
350
|
-
models.UpdateInputHecTokenByIDAndTokenResponse, http_res
|
|
351
|
-
)
|
|
345
|
+
return unmarshal_json_response(models.CountedListInputSplunkHec, http_res)
|
|
352
346
|
if utils.match_response(http_res, "500", "application/json"):
|
|
353
347
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
354
348
|
raise errors.Error(response_data, http_res)
|
|
@@ -378,7 +372,7 @@ class HecTokens(BaseSDK):
|
|
|
378
372
|
server_url: Optional[str] = None,
|
|
379
373
|
timeout_ms: Optional[int] = None,
|
|
380
374
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
381
|
-
) -> models.
|
|
375
|
+
) -> models.CountedListInputSplunkHec:
|
|
382
376
|
r"""Update metadata for an HEC token for a Splunk HEC Source
|
|
383
377
|
|
|
384
378
|
Update the metadata for the specified HEC token for the specified Splunk HEC Source.
|
|
@@ -463,9 +457,7 @@ class HecTokens(BaseSDK):
|
|
|
463
457
|
|
|
464
458
|
response_data: Any = None
|
|
465
459
|
if utils.match_response(http_res, "200", "application/json"):
|
|
466
|
-
return unmarshal_json_response(
|
|
467
|
-
models.UpdateInputHecTokenByIDAndTokenResponse, http_res
|
|
468
|
-
)
|
|
460
|
+
return unmarshal_json_response(models.CountedListInputSplunkHec, http_res)
|
|
469
461
|
if utils.match_response(http_res, "500", "application/json"):
|
|
470
462
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
471
463
|
raise errors.Error(response_data, http_res)
|