cribl-control-plane 0.2.1rc11__py3-none-any.whl → 0.3.0b12__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 +3 -3
- 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 +8 -4
- cribl_control_plane/destinations.py +20 -20
- cribl_control_plane/destinations_pq.py +8 -8
- cribl_control_plane/groups_sdk.py +48 -24
- cribl_control_plane/hectokens.py +16 -8
- cribl_control_plane/lakedatasets.py +40 -20
- cribl_control_plane/models/__init__.py +391 -235
- cribl_control_plane/models/createconfiggroupbyproductop.py +20 -1
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +19 -1
- cribl_control_plane/models/createinputhectokenbyidop.py +20 -1
- cribl_control_plane/models/{countedlistgitdiffresult.py → createinputop.py} +9 -5
- cribl_control_plane/models/{countedlistgitshowresult.py → createoutputop.py} +9 -5
- cribl_control_plane/models/createoutputtestbyidop.py +20 -1
- cribl_control_plane/models/{countedlistpackinstallinfo.py → createpacksop.py} +6 -2
- cribl_control_plane/models/createpipelineop.py +24 -0
- cribl_control_plane/models/createroutesappendbyidop.py +20 -2
- cribl_control_plane/models/createversioncommitop.py +19 -1
- cribl_control_plane/models/{countedliststring.py → createversionpushop.py} +6 -2
- cribl_control_plane/models/createversionrevertop.py +19 -1
- cribl_control_plane/models/createversionundoop.py +18 -1
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +20 -1
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +20 -1
- cribl_control_plane/models/deleteinputbyidop.py +20 -1
- cribl_control_plane/models/deleteoutputbyidop.py +20 -1
- cribl_control_plane/models/deleteoutputpqbyidop.py +19 -1
- cribl_control_plane/models/deletepacksbyidop.py +20 -1
- cribl_control_plane/models/deletepipelinebyidop.py +20 -1
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +19 -1
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +19 -1
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +19 -1
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +19 -1
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +20 -1
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +20 -1
- cribl_control_plane/models/getinputbyidop.py +20 -1
- cribl_control_plane/models/getmasterworkerentryop.py +18 -1
- cribl_control_plane/models/getoutputbyidop.py +20 -1
- cribl_control_plane/models/getoutputpqbyidop.py +20 -1
- cribl_control_plane/models/getoutputsamplesbyidop.py +20 -1
- cribl_control_plane/models/getpacksbyidop.py +20 -1
- cribl_control_plane/models/getpacksop.py +19 -1
- cribl_control_plane/models/getpipelinebyidop.py +20 -1
- cribl_control_plane/models/getroutesbyidop.py +20 -1
- cribl_control_plane/models/getsummaryop.py +19 -1
- cribl_control_plane/models/{countedlistbranchinfo.py → getversionbranchop.py} +6 -2
- cribl_control_plane/models/getversioncountop.py +19 -1
- cribl_control_plane/models/getversiondiffop.py +19 -1
- cribl_control_plane/models/getversionfilesop.py +19 -1
- cribl_control_plane/models/{countedlistgitinfo.py → getversioninfoop.py} +6 -2
- cribl_control_plane/models/getversionop.py +19 -1
- cribl_control_plane/models/getversionshowop.py +19 -1
- cribl_control_plane/models/getversionstatusop.py +19 -1
- cribl_control_plane/models/input.py +1 -1
- cribl_control_plane/models/inputcriblhttp.py +6 -24
- cribl_control_plane/models/inputcribltcp.py +0 -25
- cribl_control_plane/models/listconfiggroupbyproductop.py +19 -1
- cribl_control_plane/models/{countedlistinput.py → listinputop.py} +6 -2
- cribl_control_plane/models/listmasterworkerentryop.py +19 -1
- cribl_control_plane/models/{countedlistoutput.py → listoutputop.py} +6 -2
- cribl_control_plane/models/{countedlistpipeline.py → listpipelineop.py} +6 -2
- cribl_control_plane/models/{countedlistroutes.py → listroutesop.py} +6 -2
- cribl_control_plane/models/output.py +2 -2
- cribl_control_plane/models/outputcriblhttp.py +0 -23
- cribl_control_plane/models/outputcribltcp.py +0 -25
- cribl_control_plane/models/runnablejobcollection.py +0 -8
- cribl_control_plane/models/runnablejobexecutor.py +0 -4
- cribl_control_plane/models/runnablejobscheduledsearch.py +0 -4
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +19 -1
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +20 -1
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +20 -1
- cribl_control_plane/models/updateinputbyidop.py +19 -1
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +20 -1
- cribl_control_plane/models/updateoutputbyidop.py +19 -1
- cribl_control_plane/models/updatepacksbyidop.py +20 -1
- cribl_control_plane/models/updatepipelinebyidop.py +19 -1
- cribl_control_plane/models/updateroutesbyidop.py +19 -1
- cribl_control_plane/nodes.py +12 -8
- cribl_control_plane/packs.py +20 -20
- cribl_control_plane/pipelines.py +20 -20
- cribl_control_plane/routes_sdk.py +20 -16
- cribl_control_plane/samples.py +8 -8
- cribl_control_plane/sources.py +20 -20
- cribl_control_plane/statuses.py +4 -4
- cribl_control_plane/summaries.py +4 -8
- cribl_control_plane/teams.py +4 -4
- cribl_control_plane/versions_configs.py +4 -4
- {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.3.0b12.dist-info}/METADATA +5 -14
- {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.3.0b12.dist-info}/RECORD +93 -111
- cribl_control_plane/models/countedlistconfiggroup.py +0 -20
- cribl_control_plane/models/countedlistcribllakedataset.py +0 -20
- cribl_control_plane/models/countedlistdistributedsummary.py +0 -20
- cribl_control_plane/models/countedlistgitcommitsummary.py +0 -20
- cribl_control_plane/models/countedlistgitcountresult.py +0 -20
- cribl_control_plane/models/countedlistgitfilesresponse.py +0 -20
- cribl_control_plane/models/countedlistgitlogresult.py +0 -20
- cribl_control_plane/models/countedlistgitrevertresult.py +0 -20
- cribl_control_plane/models/countedlistgitstatusresult.py +0 -20
- cribl_control_plane/models/countedlistinputsplunkhec.py +0 -20
- cribl_control_plane/models/countedlistjobinfo.py +0 -20
- cribl_control_plane/models/countedlistmasterworkerentry.py +0 -20
- cribl_control_plane/models/countedlistnumber.py +0 -19
- cribl_control_plane/models/countedlistobject.py +0 -19
- cribl_control_plane/models/countedlistoutputsamplesresponse.py +0 -20
- cribl_control_plane/models/countedlistoutputtestresponse.py +0 -20
- cribl_control_plane/models/countedlistpackinfo.py +0 -20
- cribl_control_plane/models/countedlistteamaccesscontrollist.py +0 -20
- cribl_control_plane/models/countedlistuseraccesscontrollist.py +0 -20
- {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.3.0b12.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.DeleteOutputPqByIDResponse:
|
|
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.DeleteOutputPqByIDResponse, 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.DeleteOutputPqByIDResponse:
|
|
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.DeleteOutputPqByIDResponse, 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.GetOutputPqByIDResponse:
|
|
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.GetOutputPqByIDResponse, 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.GetOutputPqByIDResponse:
|
|
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.GetOutputPqByIDResponse, 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.ListConfigGroupByProductResponse:
|
|
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,7 +106,9 @@ 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(
|
|
109
|
+
return unmarshal_json_response(
|
|
110
|
+
models.ListConfigGroupByProductResponse, http_res
|
|
111
|
+
)
|
|
110
112
|
if utils.match_response(http_res, "500", "application/json"):
|
|
111
113
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
112
114
|
raise errors.Error(response_data, http_res)
|
|
@@ -128,7 +130,7 @@ class GroupsSDK(BaseSDK):
|
|
|
128
130
|
server_url: Optional[str] = None,
|
|
129
131
|
timeout_ms: Optional[int] = None,
|
|
130
132
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
131
|
-
) -> models.
|
|
133
|
+
) -> models.ListConfigGroupByProductResponse:
|
|
132
134
|
r"""List all Worker Groups or Edge Fleets for the specified Cribl product
|
|
133
135
|
|
|
134
136
|
Get a list of all Worker Groups or Edge Fleets for the specified Cribl product.
|
|
@@ -196,7 +198,9 @@ class GroupsSDK(BaseSDK):
|
|
|
196
198
|
|
|
197
199
|
response_data: Any = None
|
|
198
200
|
if utils.match_response(http_res, "200", "application/json"):
|
|
199
|
-
return unmarshal_json_response(
|
|
201
|
+
return unmarshal_json_response(
|
|
202
|
+
models.ListConfigGroupByProductResponse, http_res
|
|
203
|
+
)
|
|
200
204
|
if utils.match_response(http_res, "500", "application/json"):
|
|
201
205
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
202
206
|
raise errors.Error(response_data, http_res)
|
|
@@ -250,7 +254,7 @@ class GroupsSDK(BaseSDK):
|
|
|
250
254
|
server_url: Optional[str] = None,
|
|
251
255
|
timeout_ms: Optional[int] = None,
|
|
252
256
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
253
|
-
) -> models.
|
|
257
|
+
) -> models.CreateConfigGroupByProductResponse:
|
|
254
258
|
r"""Create a Worker Group or Edge Fleet for the specified Cribl product
|
|
255
259
|
|
|
256
260
|
Create a new Worker Group or Edge Fleet for the specified Cribl product.
|
|
@@ -375,7 +379,9 @@ class GroupsSDK(BaseSDK):
|
|
|
375
379
|
|
|
376
380
|
response_data: Any = None
|
|
377
381
|
if utils.match_response(http_res, "200", "application/json"):
|
|
378
|
-
return unmarshal_json_response(
|
|
382
|
+
return unmarshal_json_response(
|
|
383
|
+
models.CreateConfigGroupByProductResponse, http_res
|
|
384
|
+
)
|
|
379
385
|
if utils.match_response(http_res, "500", "application/json"):
|
|
380
386
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
381
387
|
raise errors.Error(response_data, http_res)
|
|
@@ -429,7 +435,7 @@ class GroupsSDK(BaseSDK):
|
|
|
429
435
|
server_url: Optional[str] = None,
|
|
430
436
|
timeout_ms: Optional[int] = None,
|
|
431
437
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
432
|
-
) -> models.
|
|
438
|
+
) -> models.CreateConfigGroupByProductResponse:
|
|
433
439
|
r"""Create a Worker Group or Edge Fleet for the specified Cribl product
|
|
434
440
|
|
|
435
441
|
Create a new Worker Group or Edge Fleet for the specified Cribl product.
|
|
@@ -554,7 +560,9 @@ class GroupsSDK(BaseSDK):
|
|
|
554
560
|
|
|
555
561
|
response_data: Any = None
|
|
556
562
|
if utils.match_response(http_res, "200", "application/json"):
|
|
557
|
-
return unmarshal_json_response(
|
|
563
|
+
return unmarshal_json_response(
|
|
564
|
+
models.CreateConfigGroupByProductResponse, http_res
|
|
565
|
+
)
|
|
558
566
|
if utils.match_response(http_res, "500", "application/json"):
|
|
559
567
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
560
568
|
raise errors.Error(response_data, http_res)
|
|
@@ -577,7 +585,7 @@ class GroupsSDK(BaseSDK):
|
|
|
577
585
|
server_url: Optional[str] = None,
|
|
578
586
|
timeout_ms: Optional[int] = None,
|
|
579
587
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
580
|
-
) -> models.
|
|
588
|
+
) -> models.GetConfigGroupByProductAndIDResponse:
|
|
581
589
|
r"""Get a Worker Group or Edge Fleet
|
|
582
590
|
|
|
583
591
|
Get the specified Worker Group or Edge Fleet.
|
|
@@ -647,7 +655,9 @@ class GroupsSDK(BaseSDK):
|
|
|
647
655
|
|
|
648
656
|
response_data: Any = None
|
|
649
657
|
if utils.match_response(http_res, "200", "application/json"):
|
|
650
|
-
return unmarshal_json_response(
|
|
658
|
+
return unmarshal_json_response(
|
|
659
|
+
models.GetConfigGroupByProductAndIDResponse, http_res
|
|
660
|
+
)
|
|
651
661
|
if utils.match_response(http_res, "500", "application/json"):
|
|
652
662
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
653
663
|
raise errors.Error(response_data, http_res)
|
|
@@ -670,7 +680,7 @@ class GroupsSDK(BaseSDK):
|
|
|
670
680
|
server_url: Optional[str] = None,
|
|
671
681
|
timeout_ms: Optional[int] = None,
|
|
672
682
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
673
|
-
) -> models.
|
|
683
|
+
) -> models.GetConfigGroupByProductAndIDResponse:
|
|
674
684
|
r"""Get a Worker Group or Edge Fleet
|
|
675
685
|
|
|
676
686
|
Get the specified Worker Group or Edge Fleet.
|
|
@@ -740,7 +750,9 @@ class GroupsSDK(BaseSDK):
|
|
|
740
750
|
|
|
741
751
|
response_data: Any = None
|
|
742
752
|
if utils.match_response(http_res, "200", "application/json"):
|
|
743
|
-
return unmarshal_json_response(
|
|
753
|
+
return unmarshal_json_response(
|
|
754
|
+
models.GetConfigGroupByProductAndIDResponse, http_res
|
|
755
|
+
)
|
|
744
756
|
if utils.match_response(http_res, "500", "application/json"):
|
|
745
757
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
746
758
|
raise errors.Error(response_data, http_res)
|
|
@@ -793,7 +805,7 @@ class GroupsSDK(BaseSDK):
|
|
|
793
805
|
server_url: Optional[str] = None,
|
|
794
806
|
timeout_ms: Optional[int] = None,
|
|
795
807
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
796
|
-
) -> models.
|
|
808
|
+
) -> models.UpdateConfigGroupByProductAndIDResponse:
|
|
797
809
|
r"""Update a Worker Group or Edge Fleet
|
|
798
810
|
|
|
799
811
|
Update the specified Worker Group or Edge Fleet.
|
|
@@ -914,7 +926,9 @@ class GroupsSDK(BaseSDK):
|
|
|
914
926
|
|
|
915
927
|
response_data: Any = None
|
|
916
928
|
if utils.match_response(http_res, "200", "application/json"):
|
|
917
|
-
return unmarshal_json_response(
|
|
929
|
+
return unmarshal_json_response(
|
|
930
|
+
models.UpdateConfigGroupByProductAndIDResponse, http_res
|
|
931
|
+
)
|
|
918
932
|
if utils.match_response(http_res, "500", "application/json"):
|
|
919
933
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
920
934
|
raise errors.Error(response_data, http_res)
|
|
@@ -967,7 +981,7 @@ class GroupsSDK(BaseSDK):
|
|
|
967
981
|
server_url: Optional[str] = None,
|
|
968
982
|
timeout_ms: Optional[int] = None,
|
|
969
983
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
970
|
-
) -> models.
|
|
984
|
+
) -> models.UpdateConfigGroupByProductAndIDResponse:
|
|
971
985
|
r"""Update a Worker Group or Edge Fleet
|
|
972
986
|
|
|
973
987
|
Update the specified Worker Group or Edge Fleet.
|
|
@@ -1088,7 +1102,9 @@ class GroupsSDK(BaseSDK):
|
|
|
1088
1102
|
|
|
1089
1103
|
response_data: Any = None
|
|
1090
1104
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1091
|
-
return unmarshal_json_response(
|
|
1105
|
+
return unmarshal_json_response(
|
|
1106
|
+
models.UpdateConfigGroupByProductAndIDResponse, http_res
|
|
1107
|
+
)
|
|
1092
1108
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1093
1109
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1094
1110
|
raise errors.Error(response_data, http_res)
|
|
@@ -1110,7 +1126,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1110
1126
|
server_url: Optional[str] = None,
|
|
1111
1127
|
timeout_ms: Optional[int] = None,
|
|
1112
1128
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1113
|
-
) -> models.
|
|
1129
|
+
) -> models.DeleteConfigGroupByProductAndIDResponse:
|
|
1114
1130
|
r"""Delete a Worker Group or Edge Fleet
|
|
1115
1131
|
|
|
1116
1132
|
Delete the specified Worker Group or Edge Fleet.
|
|
@@ -1178,7 +1194,9 @@ class GroupsSDK(BaseSDK):
|
|
|
1178
1194
|
|
|
1179
1195
|
response_data: Any = None
|
|
1180
1196
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1181
|
-
return unmarshal_json_response(
|
|
1197
|
+
return unmarshal_json_response(
|
|
1198
|
+
models.DeleteConfigGroupByProductAndIDResponse, http_res
|
|
1199
|
+
)
|
|
1182
1200
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1183
1201
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1184
1202
|
raise errors.Error(response_data, http_res)
|
|
@@ -1200,7 +1218,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1200
1218
|
server_url: Optional[str] = None,
|
|
1201
1219
|
timeout_ms: Optional[int] = None,
|
|
1202
1220
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1203
|
-
) -> models.
|
|
1221
|
+
) -> models.DeleteConfigGroupByProductAndIDResponse:
|
|
1204
1222
|
r"""Delete a Worker Group or Edge Fleet
|
|
1205
1223
|
|
|
1206
1224
|
Delete the specified Worker Group or Edge Fleet.
|
|
@@ -1268,7 +1286,9 @@ class GroupsSDK(BaseSDK):
|
|
|
1268
1286
|
|
|
1269
1287
|
response_data: Any = None
|
|
1270
1288
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1271
|
-
return unmarshal_json_response(
|
|
1289
|
+
return unmarshal_json_response(
|
|
1290
|
+
models.DeleteConfigGroupByProductAndIDResponse, http_res
|
|
1291
|
+
)
|
|
1272
1292
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1273
1293
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1274
1294
|
raise errors.Error(response_data, http_res)
|
|
@@ -1297,7 +1317,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1297
1317
|
server_url: Optional[str] = None,
|
|
1298
1318
|
timeout_ms: Optional[int] = None,
|
|
1299
1319
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1300
|
-
) -> models.
|
|
1320
|
+
) -> models.UpdateConfigGroupDeployByProductAndIDResponse:
|
|
1301
1321
|
r"""Deploy commits to a Worker Group or Edge Fleet
|
|
1302
1322
|
|
|
1303
1323
|
Deploy commits to the specified Worker Group or Edge Fleet.
|
|
@@ -1376,7 +1396,9 @@ class GroupsSDK(BaseSDK):
|
|
|
1376
1396
|
|
|
1377
1397
|
response_data: Any = None
|
|
1378
1398
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1379
|
-
return unmarshal_json_response(
|
|
1399
|
+
return unmarshal_json_response(
|
|
1400
|
+
models.UpdateConfigGroupDeployByProductAndIDResponse, http_res
|
|
1401
|
+
)
|
|
1380
1402
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1381
1403
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1382
1404
|
raise errors.Error(response_data, http_res)
|
|
@@ -1405,7 +1427,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1405
1427
|
server_url: Optional[str] = None,
|
|
1406
1428
|
timeout_ms: Optional[int] = None,
|
|
1407
1429
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1408
|
-
) -> models.
|
|
1430
|
+
) -> models.UpdateConfigGroupDeployByProductAndIDResponse:
|
|
1409
1431
|
r"""Deploy commits to a Worker Group or Edge Fleet
|
|
1410
1432
|
|
|
1411
1433
|
Deploy commits to the specified Worker Group or Edge Fleet.
|
|
@@ -1484,7 +1506,9 @@ class GroupsSDK(BaseSDK):
|
|
|
1484
1506
|
|
|
1485
1507
|
response_data: Any = None
|
|
1486
1508
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1487
|
-
return unmarshal_json_response(
|
|
1509
|
+
return unmarshal_json_response(
|
|
1510
|
+
models.UpdateConfigGroupDeployByProductAndIDResponse, http_res
|
|
1511
|
+
)
|
|
1488
1512
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1489
1513
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1490
1514
|
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.CreateInputHecTokenByIDResponse:
|
|
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,7 +112,9 @@ 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(
|
|
115
|
+
return unmarshal_json_response(
|
|
116
|
+
models.CreateInputHecTokenByIDResponse, http_res
|
|
117
|
+
)
|
|
116
118
|
if utils.match_response(http_res, "500", "application/json"):
|
|
117
119
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
118
120
|
raise errors.Error(response_data, http_res)
|
|
@@ -142,7 +144,7 @@ class HecTokens(BaseSDK):
|
|
|
142
144
|
server_url: Optional[str] = None,
|
|
143
145
|
timeout_ms: Optional[int] = None,
|
|
144
146
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
145
|
-
) -> models.
|
|
147
|
+
) -> models.CreateInputHecTokenByIDResponse:
|
|
146
148
|
r"""Add an HEC token and optional metadata to a Splunk HEC Source
|
|
147
149
|
|
|
148
150
|
Add an HEC token and optional metadata to the specified Splunk HEC Source.
|
|
@@ -227,7 +229,9 @@ class HecTokens(BaseSDK):
|
|
|
227
229
|
|
|
228
230
|
response_data: Any = None
|
|
229
231
|
if utils.match_response(http_res, "200", "application/json"):
|
|
230
|
-
return unmarshal_json_response(
|
|
232
|
+
return unmarshal_json_response(
|
|
233
|
+
models.CreateInputHecTokenByIDResponse, http_res
|
|
234
|
+
)
|
|
231
235
|
if utils.match_response(http_res, "500", "application/json"):
|
|
232
236
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
233
237
|
raise errors.Error(response_data, http_res)
|
|
@@ -257,7 +261,7 @@ class HecTokens(BaseSDK):
|
|
|
257
261
|
server_url: Optional[str] = None,
|
|
258
262
|
timeout_ms: Optional[int] = None,
|
|
259
263
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
260
|
-
) -> models.
|
|
264
|
+
) -> models.UpdateInputHecTokenByIDAndTokenResponse:
|
|
261
265
|
r"""Update metadata for an HEC token for a Splunk HEC Source
|
|
262
266
|
|
|
263
267
|
Update the metadata for the specified HEC token for the specified Splunk HEC Source.
|
|
@@ -342,7 +346,9 @@ class HecTokens(BaseSDK):
|
|
|
342
346
|
|
|
343
347
|
response_data: Any = None
|
|
344
348
|
if utils.match_response(http_res, "200", "application/json"):
|
|
345
|
-
return unmarshal_json_response(
|
|
349
|
+
return unmarshal_json_response(
|
|
350
|
+
models.UpdateInputHecTokenByIDAndTokenResponse, http_res
|
|
351
|
+
)
|
|
346
352
|
if utils.match_response(http_res, "500", "application/json"):
|
|
347
353
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
348
354
|
raise errors.Error(response_data, http_res)
|
|
@@ -372,7 +378,7 @@ class HecTokens(BaseSDK):
|
|
|
372
378
|
server_url: Optional[str] = None,
|
|
373
379
|
timeout_ms: Optional[int] = None,
|
|
374
380
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
375
|
-
) -> models.
|
|
381
|
+
) -> models.UpdateInputHecTokenByIDAndTokenResponse:
|
|
376
382
|
r"""Update metadata for an HEC token for a Splunk HEC Source
|
|
377
383
|
|
|
378
384
|
Update the metadata for the specified HEC token for the specified Splunk HEC Source.
|
|
@@ -457,7 +463,9 @@ class HecTokens(BaseSDK):
|
|
|
457
463
|
|
|
458
464
|
response_data: Any = None
|
|
459
465
|
if utils.match_response(http_res, "200", "application/json"):
|
|
460
|
-
return unmarshal_json_response(
|
|
466
|
+
return unmarshal_json_response(
|
|
467
|
+
models.UpdateInputHecTokenByIDAndTokenResponse, http_res
|
|
468
|
+
)
|
|
461
469
|
if utils.match_response(http_res, "500", "application/json"):
|
|
462
470
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
463
471
|
raise errors.Error(response_data, http_res)
|
|
@@ -39,7 +39,7 @@ class LakeDatasets(BaseSDK):
|
|
|
39
39
|
server_url: Optional[str] = None,
|
|
40
40
|
timeout_ms: Optional[int] = None,
|
|
41
41
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
42
|
-
) -> models.
|
|
42
|
+
) -> models.CreateCriblLakeDatasetByLakeIDResponse:
|
|
43
43
|
r"""Create a Lake Dataset
|
|
44
44
|
|
|
45
45
|
Create a new Lake Dataset in the specified Lake.
|
|
@@ -146,7 +146,9 @@ class LakeDatasets(BaseSDK):
|
|
|
146
146
|
|
|
147
147
|
response_data: Any = None
|
|
148
148
|
if utils.match_response(http_res, "200", "application/json"):
|
|
149
|
-
return unmarshal_json_response(
|
|
149
|
+
return unmarshal_json_response(
|
|
150
|
+
models.CreateCriblLakeDatasetByLakeIDResponse, http_res
|
|
151
|
+
)
|
|
150
152
|
if utils.match_response(http_res, "500", "application/json"):
|
|
151
153
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
152
154
|
raise errors.Error(response_data, http_res)
|
|
@@ -188,7 +190,7 @@ class LakeDatasets(BaseSDK):
|
|
|
188
190
|
server_url: Optional[str] = None,
|
|
189
191
|
timeout_ms: Optional[int] = None,
|
|
190
192
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
191
|
-
) -> models.
|
|
193
|
+
) -> models.CreateCriblLakeDatasetByLakeIDResponse:
|
|
192
194
|
r"""Create a Lake Dataset
|
|
193
195
|
|
|
194
196
|
Create a new Lake Dataset in the specified Lake.
|
|
@@ -295,7 +297,9 @@ class LakeDatasets(BaseSDK):
|
|
|
295
297
|
|
|
296
298
|
response_data: Any = None
|
|
297
299
|
if utils.match_response(http_res, "200", "application/json"):
|
|
298
|
-
return unmarshal_json_response(
|
|
300
|
+
return unmarshal_json_response(
|
|
301
|
+
models.CreateCriblLakeDatasetByLakeIDResponse, http_res
|
|
302
|
+
)
|
|
299
303
|
if utils.match_response(http_res, "500", "application/json"):
|
|
300
304
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
301
305
|
raise errors.Error(response_data, http_res)
|
|
@@ -316,7 +320,7 @@ class LakeDatasets(BaseSDK):
|
|
|
316
320
|
server_url: Optional[str] = None,
|
|
317
321
|
timeout_ms: Optional[int] = None,
|
|
318
322
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
319
|
-
) -> models.
|
|
323
|
+
) -> models.GetCriblLakeDatasetByLakeIDResponse:
|
|
320
324
|
r"""List all Lake Datasets
|
|
321
325
|
|
|
322
326
|
Get a list of all Lake Datasets in the specified Lake.
|
|
@@ -382,7 +386,9 @@ class LakeDatasets(BaseSDK):
|
|
|
382
386
|
|
|
383
387
|
response_data: Any = None
|
|
384
388
|
if utils.match_response(http_res, "200", "application/json"):
|
|
385
|
-
return unmarshal_json_response(
|
|
389
|
+
return unmarshal_json_response(
|
|
390
|
+
models.GetCriblLakeDatasetByLakeIDResponse, http_res
|
|
391
|
+
)
|
|
386
392
|
if utils.match_response(http_res, "500", "application/json"):
|
|
387
393
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
388
394
|
raise errors.Error(response_data, http_res)
|
|
@@ -403,7 +409,7 @@ class LakeDatasets(BaseSDK):
|
|
|
403
409
|
server_url: Optional[str] = None,
|
|
404
410
|
timeout_ms: Optional[int] = None,
|
|
405
411
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
406
|
-
) -> models.
|
|
412
|
+
) -> models.GetCriblLakeDatasetByLakeIDResponse:
|
|
407
413
|
r"""List all Lake Datasets
|
|
408
414
|
|
|
409
415
|
Get a list of all Lake Datasets in the specified Lake.
|
|
@@ -469,7 +475,9 @@ class LakeDatasets(BaseSDK):
|
|
|
469
475
|
|
|
470
476
|
response_data: Any = None
|
|
471
477
|
if utils.match_response(http_res, "200", "application/json"):
|
|
472
|
-
return unmarshal_json_response(
|
|
478
|
+
return unmarshal_json_response(
|
|
479
|
+
models.GetCriblLakeDatasetByLakeIDResponse, http_res
|
|
480
|
+
)
|
|
473
481
|
if utils.match_response(http_res, "500", "application/json"):
|
|
474
482
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
475
483
|
raise errors.Error(response_data, http_res)
|
|
@@ -491,7 +499,7 @@ class LakeDatasets(BaseSDK):
|
|
|
491
499
|
server_url: Optional[str] = None,
|
|
492
500
|
timeout_ms: Optional[int] = None,
|
|
493
501
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
494
|
-
) -> models.
|
|
502
|
+
) -> models.DeleteCriblLakeDatasetByLakeIDAndIDResponse:
|
|
495
503
|
r"""Delete a Lake Dataset
|
|
496
504
|
|
|
497
505
|
Delete the specified Lake Dataset in the specified Lake
|
|
@@ -559,7 +567,9 @@ class LakeDatasets(BaseSDK):
|
|
|
559
567
|
|
|
560
568
|
response_data: Any = None
|
|
561
569
|
if utils.match_response(http_res, "200", "application/json"):
|
|
562
|
-
return unmarshal_json_response(
|
|
570
|
+
return unmarshal_json_response(
|
|
571
|
+
models.DeleteCriblLakeDatasetByLakeIDAndIDResponse, http_res
|
|
572
|
+
)
|
|
563
573
|
if utils.match_response(http_res, "500", "application/json"):
|
|
564
574
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
565
575
|
raise errors.Error(response_data, http_res)
|
|
@@ -581,7 +591,7 @@ class LakeDatasets(BaseSDK):
|
|
|
581
591
|
server_url: Optional[str] = None,
|
|
582
592
|
timeout_ms: Optional[int] = None,
|
|
583
593
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
584
|
-
) -> models.
|
|
594
|
+
) -> models.DeleteCriblLakeDatasetByLakeIDAndIDResponse:
|
|
585
595
|
r"""Delete a Lake Dataset
|
|
586
596
|
|
|
587
597
|
Delete the specified Lake Dataset in the specified Lake
|
|
@@ -649,7 +659,9 @@ class LakeDatasets(BaseSDK):
|
|
|
649
659
|
|
|
650
660
|
response_data: Any = None
|
|
651
661
|
if utils.match_response(http_res, "200", "application/json"):
|
|
652
|
-
return unmarshal_json_response(
|
|
662
|
+
return unmarshal_json_response(
|
|
663
|
+
models.DeleteCriblLakeDatasetByLakeIDAndIDResponse, http_res
|
|
664
|
+
)
|
|
653
665
|
if utils.match_response(http_res, "500", "application/json"):
|
|
654
666
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
655
667
|
raise errors.Error(response_data, http_res)
|
|
@@ -671,7 +683,7 @@ class LakeDatasets(BaseSDK):
|
|
|
671
683
|
server_url: Optional[str] = None,
|
|
672
684
|
timeout_ms: Optional[int] = None,
|
|
673
685
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
674
|
-
) -> models.
|
|
686
|
+
) -> models.GetCriblLakeDatasetByLakeIDAndIDResponse:
|
|
675
687
|
r"""Get a Lake Dataset
|
|
676
688
|
|
|
677
689
|
Get the specified Lake Dataset in the specified Lake.
|
|
@@ -739,7 +751,9 @@ class LakeDatasets(BaseSDK):
|
|
|
739
751
|
|
|
740
752
|
response_data: Any = None
|
|
741
753
|
if utils.match_response(http_res, "200", "application/json"):
|
|
742
|
-
return unmarshal_json_response(
|
|
754
|
+
return unmarshal_json_response(
|
|
755
|
+
models.GetCriblLakeDatasetByLakeIDAndIDResponse, http_res
|
|
756
|
+
)
|
|
743
757
|
if utils.match_response(http_res, "500", "application/json"):
|
|
744
758
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
745
759
|
raise errors.Error(response_data, http_res)
|
|
@@ -761,7 +775,7 @@ class LakeDatasets(BaseSDK):
|
|
|
761
775
|
server_url: Optional[str] = None,
|
|
762
776
|
timeout_ms: Optional[int] = None,
|
|
763
777
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
764
|
-
) -> models.
|
|
778
|
+
) -> models.GetCriblLakeDatasetByLakeIDAndIDResponse:
|
|
765
779
|
r"""Get a Lake Dataset
|
|
766
780
|
|
|
767
781
|
Get the specified Lake Dataset in the specified Lake.
|
|
@@ -829,7 +843,9 @@ class LakeDatasets(BaseSDK):
|
|
|
829
843
|
|
|
830
844
|
response_data: Any = None
|
|
831
845
|
if utils.match_response(http_res, "200", "application/json"):
|
|
832
|
-
return unmarshal_json_response(
|
|
846
|
+
return unmarshal_json_response(
|
|
847
|
+
models.GetCriblLakeDatasetByLakeIDAndIDResponse, http_res
|
|
848
|
+
)
|
|
833
849
|
if utils.match_response(http_res, "500", "application/json"):
|
|
834
850
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
835
851
|
raise errors.Error(response_data, http_res)
|
|
@@ -872,7 +888,7 @@ class LakeDatasets(BaseSDK):
|
|
|
872
888
|
server_url: Optional[str] = None,
|
|
873
889
|
timeout_ms: Optional[int] = None,
|
|
874
890
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
875
|
-
) -> models.
|
|
891
|
+
) -> models.UpdateCriblLakeDatasetByLakeIDAndIDResponse:
|
|
876
892
|
r"""Update a Lake Dataset
|
|
877
893
|
|
|
878
894
|
Update the specified Lake Dataset in the specified Lake.
|
|
@@ -981,7 +997,9 @@ class LakeDatasets(BaseSDK):
|
|
|
981
997
|
|
|
982
998
|
response_data: Any = None
|
|
983
999
|
if utils.match_response(http_res, "200", "application/json"):
|
|
984
|
-
return unmarshal_json_response(
|
|
1000
|
+
return unmarshal_json_response(
|
|
1001
|
+
models.UpdateCriblLakeDatasetByLakeIDAndIDResponse, http_res
|
|
1002
|
+
)
|
|
985
1003
|
if utils.match_response(http_res, "500", "application/json"):
|
|
986
1004
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
987
1005
|
raise errors.Error(response_data, http_res)
|
|
@@ -1024,7 +1042,7 @@ class LakeDatasets(BaseSDK):
|
|
|
1024
1042
|
server_url: Optional[str] = None,
|
|
1025
1043
|
timeout_ms: Optional[int] = None,
|
|
1026
1044
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1027
|
-
) -> models.
|
|
1045
|
+
) -> models.UpdateCriblLakeDatasetByLakeIDAndIDResponse:
|
|
1028
1046
|
r"""Update a Lake Dataset
|
|
1029
1047
|
|
|
1030
1048
|
Update the specified Lake Dataset in the specified Lake.
|
|
@@ -1133,7 +1151,9 @@ class LakeDatasets(BaseSDK):
|
|
|
1133
1151
|
|
|
1134
1152
|
response_data: Any = None
|
|
1135
1153
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1136
|
-
return unmarshal_json_response(
|
|
1154
|
+
return unmarshal_json_response(
|
|
1155
|
+
models.UpdateCriblLakeDatasetByLakeIDAndIDResponse, http_res
|
|
1156
|
+
)
|
|
1137
1157
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1138
1158
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1139
1159
|
raise errors.Error(response_data, http_res)
|