cribl-control-plane 0.2.1rc11__py3-none-any.whl → 0.4.0a12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +4 -4
- cribl_control_plane/acl.py +6 -4
- cribl_control_plane/basesdk.py +6 -0
- cribl_control_plane/branches.py +8 -4
- cribl_control_plane/commits.py +42 -28
- cribl_control_plane/commits_files.py +12 -8
- cribl_control_plane/configs_versions.py +10 -4
- cribl_control_plane/destinations.py +30 -20
- cribl_control_plane/destinations_pq.py +12 -8
- cribl_control_plane/groups_sdk.py +60 -24
- cribl_control_plane/health.py +2 -0
- cribl_control_plane/hectokens.py +32 -8
- cribl_control_plane/lakedatasets.py +86 -20
- cribl_control_plane/models/__init__.py +568 -214
- cribl_control_plane/models/addhectokenrequest.py +7 -1
- 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 +79 -2
- 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 +18 -15
- cribl_control_plane/models/inputcloudflarehec.py +513 -0
- cribl_control_plane/models/inputfile.py +7 -0
- 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 +23 -17
- cribl_control_plane/models/outputazureblob.py +14 -0
- cribl_control_plane/models/outputazuredataexplorer.py +7 -0
- cribl_control_plane/models/outputchronicle.py +5 -0
- cribl_control_plane/models/outputcloudflarer2.py +632 -0
- cribl_control_plane/models/outputcribllake.py +14 -0
- cribl_control_plane/models/outputdatabricks.py +19 -0
- cribl_control_plane/models/outputdls3.py +14 -0
- cribl_control_plane/models/outputexabeam.py +7 -0
- cribl_control_plane/models/outputfilesystem.py +14 -0
- cribl_control_plane/models/outputgooglecloudstorage.py +14 -0
- cribl_control_plane/models/outputmicrosoftfabric.py +540 -0
- cribl_control_plane/models/outputminio.py +19 -4
- cribl_control_plane/models/outputnetflow.py +7 -0
- cribl_control_plane/models/outputs3.py +14 -0
- cribl_control_plane/models/outputsecuritylake.py +14 -0
- cribl_control_plane/models/outputsyslog.py +7 -0
- 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/updatehectokenrequest.py +7 -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 +16 -8
- cribl_control_plane/packs.py +32 -20
- cribl_control_plane/pipelines.py +30 -20
- cribl_control_plane/routes_sdk.py +28 -16
- cribl_control_plane/samples.py +12 -8
- cribl_control_plane/sources.py +30 -20
- cribl_control_plane/statuses.py +6 -4
- cribl_control_plane/summaries.py +6 -8
- cribl_control_plane/teams.py +6 -4
- cribl_control_plane/tokens.py +2 -0
- cribl_control_plane/utils/forms.py +21 -10
- cribl_control_plane/utils/queryparams.py +14 -2
- cribl_control_plane/utils/retries.py +69 -5
- cribl_control_plane/utils/unmarshal_json_response.py +15 -1
- cribl_control_plane/versions_configs.py +6 -4
- {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a12.dist-info}/METADATA +28 -36
- {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a12.dist-info}/RECORD +117 -131
- cribl_control_plane-0.4.0a12.dist-info/licenses/LICENSE +201 -0
- 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.4.0a12.dist-info}/WHEEL +0 -0
|
@@ -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.
|
|
@@ -78,6 +78,7 @@ class GroupsSDK(BaseSDK):
|
|
|
78
78
|
accept_header_value="application/json",
|
|
79
79
|
http_headers=http_headers,
|
|
80
80
|
security=self.sdk_configuration.security,
|
|
81
|
+
allow_empty_value=None,
|
|
81
82
|
timeout_ms=timeout_ms,
|
|
82
83
|
)
|
|
83
84
|
|
|
@@ -106,7 +107,9 @@ class GroupsSDK(BaseSDK):
|
|
|
106
107
|
|
|
107
108
|
response_data: Any = None
|
|
108
109
|
if utils.match_response(http_res, "200", "application/json"):
|
|
109
|
-
return unmarshal_json_response(
|
|
110
|
+
return unmarshal_json_response(
|
|
111
|
+
models.ListConfigGroupByProductResponse, http_res
|
|
112
|
+
)
|
|
110
113
|
if utils.match_response(http_res, "500", "application/json"):
|
|
111
114
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
112
115
|
raise errors.Error(response_data, http_res)
|
|
@@ -128,7 +131,7 @@ class GroupsSDK(BaseSDK):
|
|
|
128
131
|
server_url: Optional[str] = None,
|
|
129
132
|
timeout_ms: Optional[int] = None,
|
|
130
133
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
131
|
-
) -> models.
|
|
134
|
+
) -> models.ListConfigGroupByProductResponse:
|
|
132
135
|
r"""List all Worker Groups or Edge Fleets for the specified Cribl product
|
|
133
136
|
|
|
134
137
|
Get a list of all Worker Groups or Edge Fleets for the specified Cribl product.
|
|
@@ -168,6 +171,7 @@ class GroupsSDK(BaseSDK):
|
|
|
168
171
|
accept_header_value="application/json",
|
|
169
172
|
http_headers=http_headers,
|
|
170
173
|
security=self.sdk_configuration.security,
|
|
174
|
+
allow_empty_value=None,
|
|
171
175
|
timeout_ms=timeout_ms,
|
|
172
176
|
)
|
|
173
177
|
|
|
@@ -196,7 +200,9 @@ class GroupsSDK(BaseSDK):
|
|
|
196
200
|
|
|
197
201
|
response_data: Any = None
|
|
198
202
|
if utils.match_response(http_res, "200", "application/json"):
|
|
199
|
-
return unmarshal_json_response(
|
|
203
|
+
return unmarshal_json_response(
|
|
204
|
+
models.ListConfigGroupByProductResponse, http_res
|
|
205
|
+
)
|
|
200
206
|
if utils.match_response(http_res, "500", "application/json"):
|
|
201
207
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
202
208
|
raise errors.Error(response_data, http_res)
|
|
@@ -250,7 +256,7 @@ class GroupsSDK(BaseSDK):
|
|
|
250
256
|
server_url: Optional[str] = None,
|
|
251
257
|
timeout_ms: Optional[int] = None,
|
|
252
258
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
253
|
-
) -> models.
|
|
259
|
+
) -> models.CreateConfigGroupByProductResponse:
|
|
254
260
|
r"""Create a Worker Group or Edge Fleet for the specified Cribl product
|
|
255
261
|
|
|
256
262
|
Create a new Worker Group or Edge Fleet for the specified Cribl product.
|
|
@@ -347,6 +353,7 @@ class GroupsSDK(BaseSDK):
|
|
|
347
353
|
"json",
|
|
348
354
|
models.GroupCreateRequest,
|
|
349
355
|
),
|
|
356
|
+
allow_empty_value=None,
|
|
350
357
|
timeout_ms=timeout_ms,
|
|
351
358
|
)
|
|
352
359
|
|
|
@@ -375,7 +382,9 @@ class GroupsSDK(BaseSDK):
|
|
|
375
382
|
|
|
376
383
|
response_data: Any = None
|
|
377
384
|
if utils.match_response(http_res, "200", "application/json"):
|
|
378
|
-
return unmarshal_json_response(
|
|
385
|
+
return unmarshal_json_response(
|
|
386
|
+
models.CreateConfigGroupByProductResponse, http_res
|
|
387
|
+
)
|
|
379
388
|
if utils.match_response(http_res, "500", "application/json"):
|
|
380
389
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
381
390
|
raise errors.Error(response_data, http_res)
|
|
@@ -429,7 +438,7 @@ class GroupsSDK(BaseSDK):
|
|
|
429
438
|
server_url: Optional[str] = None,
|
|
430
439
|
timeout_ms: Optional[int] = None,
|
|
431
440
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
432
|
-
) -> models.
|
|
441
|
+
) -> models.CreateConfigGroupByProductResponse:
|
|
433
442
|
r"""Create a Worker Group or Edge Fleet for the specified Cribl product
|
|
434
443
|
|
|
435
444
|
Create a new Worker Group or Edge Fleet for the specified Cribl product.
|
|
@@ -526,6 +535,7 @@ class GroupsSDK(BaseSDK):
|
|
|
526
535
|
"json",
|
|
527
536
|
models.GroupCreateRequest,
|
|
528
537
|
),
|
|
538
|
+
allow_empty_value=None,
|
|
529
539
|
timeout_ms=timeout_ms,
|
|
530
540
|
)
|
|
531
541
|
|
|
@@ -554,7 +564,9 @@ class GroupsSDK(BaseSDK):
|
|
|
554
564
|
|
|
555
565
|
response_data: Any = None
|
|
556
566
|
if utils.match_response(http_res, "200", "application/json"):
|
|
557
|
-
return unmarshal_json_response(
|
|
567
|
+
return unmarshal_json_response(
|
|
568
|
+
models.CreateConfigGroupByProductResponse, http_res
|
|
569
|
+
)
|
|
558
570
|
if utils.match_response(http_res, "500", "application/json"):
|
|
559
571
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
560
572
|
raise errors.Error(response_data, http_res)
|
|
@@ -577,7 +589,7 @@ class GroupsSDK(BaseSDK):
|
|
|
577
589
|
server_url: Optional[str] = None,
|
|
578
590
|
timeout_ms: Optional[int] = None,
|
|
579
591
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
580
|
-
) -> models.
|
|
592
|
+
) -> models.GetConfigGroupByProductAndIDResponse:
|
|
581
593
|
r"""Get a Worker Group or Edge Fleet
|
|
582
594
|
|
|
583
595
|
Get the specified Worker Group or Edge Fleet.
|
|
@@ -619,6 +631,7 @@ class GroupsSDK(BaseSDK):
|
|
|
619
631
|
accept_header_value="application/json",
|
|
620
632
|
http_headers=http_headers,
|
|
621
633
|
security=self.sdk_configuration.security,
|
|
634
|
+
allow_empty_value=None,
|
|
622
635
|
timeout_ms=timeout_ms,
|
|
623
636
|
)
|
|
624
637
|
|
|
@@ -647,7 +660,9 @@ class GroupsSDK(BaseSDK):
|
|
|
647
660
|
|
|
648
661
|
response_data: Any = None
|
|
649
662
|
if utils.match_response(http_res, "200", "application/json"):
|
|
650
|
-
return unmarshal_json_response(
|
|
663
|
+
return unmarshal_json_response(
|
|
664
|
+
models.GetConfigGroupByProductAndIDResponse, http_res
|
|
665
|
+
)
|
|
651
666
|
if utils.match_response(http_res, "500", "application/json"):
|
|
652
667
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
653
668
|
raise errors.Error(response_data, http_res)
|
|
@@ -670,7 +685,7 @@ class GroupsSDK(BaseSDK):
|
|
|
670
685
|
server_url: Optional[str] = None,
|
|
671
686
|
timeout_ms: Optional[int] = None,
|
|
672
687
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
673
|
-
) -> models.
|
|
688
|
+
) -> models.GetConfigGroupByProductAndIDResponse:
|
|
674
689
|
r"""Get a Worker Group or Edge Fleet
|
|
675
690
|
|
|
676
691
|
Get the specified Worker Group or Edge Fleet.
|
|
@@ -712,6 +727,7 @@ class GroupsSDK(BaseSDK):
|
|
|
712
727
|
accept_header_value="application/json",
|
|
713
728
|
http_headers=http_headers,
|
|
714
729
|
security=self.sdk_configuration.security,
|
|
730
|
+
allow_empty_value=None,
|
|
715
731
|
timeout_ms=timeout_ms,
|
|
716
732
|
)
|
|
717
733
|
|
|
@@ -740,7 +756,9 @@ class GroupsSDK(BaseSDK):
|
|
|
740
756
|
|
|
741
757
|
response_data: Any = None
|
|
742
758
|
if utils.match_response(http_res, "200", "application/json"):
|
|
743
|
-
return unmarshal_json_response(
|
|
759
|
+
return unmarshal_json_response(
|
|
760
|
+
models.GetConfigGroupByProductAndIDResponse, http_res
|
|
761
|
+
)
|
|
744
762
|
if utils.match_response(http_res, "500", "application/json"):
|
|
745
763
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
746
764
|
raise errors.Error(response_data, http_res)
|
|
@@ -793,7 +811,7 @@ class GroupsSDK(BaseSDK):
|
|
|
793
811
|
server_url: Optional[str] = None,
|
|
794
812
|
timeout_ms: Optional[int] = None,
|
|
795
813
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
796
|
-
) -> models.
|
|
814
|
+
) -> models.UpdateConfigGroupByProductAndIDResponse:
|
|
797
815
|
r"""Update a Worker Group or Edge Fleet
|
|
798
816
|
|
|
799
817
|
Update the specified Worker Group or Edge Fleet.
|
|
@@ -886,6 +904,7 @@ class GroupsSDK(BaseSDK):
|
|
|
886
904
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
887
905
|
request.config_group, False, False, "json", models.ConfigGroup
|
|
888
906
|
),
|
|
907
|
+
allow_empty_value=None,
|
|
889
908
|
timeout_ms=timeout_ms,
|
|
890
909
|
)
|
|
891
910
|
|
|
@@ -914,7 +933,9 @@ class GroupsSDK(BaseSDK):
|
|
|
914
933
|
|
|
915
934
|
response_data: Any = None
|
|
916
935
|
if utils.match_response(http_res, "200", "application/json"):
|
|
917
|
-
return unmarshal_json_response(
|
|
936
|
+
return unmarshal_json_response(
|
|
937
|
+
models.UpdateConfigGroupByProductAndIDResponse, http_res
|
|
938
|
+
)
|
|
918
939
|
if utils.match_response(http_res, "500", "application/json"):
|
|
919
940
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
920
941
|
raise errors.Error(response_data, http_res)
|
|
@@ -967,7 +988,7 @@ class GroupsSDK(BaseSDK):
|
|
|
967
988
|
server_url: Optional[str] = None,
|
|
968
989
|
timeout_ms: Optional[int] = None,
|
|
969
990
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
970
|
-
) -> models.
|
|
991
|
+
) -> models.UpdateConfigGroupByProductAndIDResponse:
|
|
971
992
|
r"""Update a Worker Group or Edge Fleet
|
|
972
993
|
|
|
973
994
|
Update the specified Worker Group or Edge Fleet.
|
|
@@ -1060,6 +1081,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1060
1081
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
1061
1082
|
request.config_group, False, False, "json", models.ConfigGroup
|
|
1062
1083
|
),
|
|
1084
|
+
allow_empty_value=None,
|
|
1063
1085
|
timeout_ms=timeout_ms,
|
|
1064
1086
|
)
|
|
1065
1087
|
|
|
@@ -1088,7 +1110,9 @@ class GroupsSDK(BaseSDK):
|
|
|
1088
1110
|
|
|
1089
1111
|
response_data: Any = None
|
|
1090
1112
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1091
|
-
return unmarshal_json_response(
|
|
1113
|
+
return unmarshal_json_response(
|
|
1114
|
+
models.UpdateConfigGroupByProductAndIDResponse, http_res
|
|
1115
|
+
)
|
|
1092
1116
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1093
1117
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1094
1118
|
raise errors.Error(response_data, http_res)
|
|
@@ -1110,7 +1134,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1110
1134
|
server_url: Optional[str] = None,
|
|
1111
1135
|
timeout_ms: Optional[int] = None,
|
|
1112
1136
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1113
|
-
) -> models.
|
|
1137
|
+
) -> models.DeleteConfigGroupByProductAndIDResponse:
|
|
1114
1138
|
r"""Delete a Worker Group or Edge Fleet
|
|
1115
1139
|
|
|
1116
1140
|
Delete the specified Worker Group or Edge Fleet.
|
|
@@ -1150,6 +1174,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1150
1174
|
accept_header_value="application/json",
|
|
1151
1175
|
http_headers=http_headers,
|
|
1152
1176
|
security=self.sdk_configuration.security,
|
|
1177
|
+
allow_empty_value=None,
|
|
1153
1178
|
timeout_ms=timeout_ms,
|
|
1154
1179
|
)
|
|
1155
1180
|
|
|
@@ -1178,7 +1203,9 @@ class GroupsSDK(BaseSDK):
|
|
|
1178
1203
|
|
|
1179
1204
|
response_data: Any = None
|
|
1180
1205
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1181
|
-
return unmarshal_json_response(
|
|
1206
|
+
return unmarshal_json_response(
|
|
1207
|
+
models.DeleteConfigGroupByProductAndIDResponse, http_res
|
|
1208
|
+
)
|
|
1182
1209
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1183
1210
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1184
1211
|
raise errors.Error(response_data, http_res)
|
|
@@ -1200,7 +1227,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1200
1227
|
server_url: Optional[str] = None,
|
|
1201
1228
|
timeout_ms: Optional[int] = None,
|
|
1202
1229
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1203
|
-
) -> models.
|
|
1230
|
+
) -> models.DeleteConfigGroupByProductAndIDResponse:
|
|
1204
1231
|
r"""Delete a Worker Group or Edge Fleet
|
|
1205
1232
|
|
|
1206
1233
|
Delete the specified Worker Group or Edge Fleet.
|
|
@@ -1240,6 +1267,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1240
1267
|
accept_header_value="application/json",
|
|
1241
1268
|
http_headers=http_headers,
|
|
1242
1269
|
security=self.sdk_configuration.security,
|
|
1270
|
+
allow_empty_value=None,
|
|
1243
1271
|
timeout_ms=timeout_ms,
|
|
1244
1272
|
)
|
|
1245
1273
|
|
|
@@ -1268,7 +1296,9 @@ class GroupsSDK(BaseSDK):
|
|
|
1268
1296
|
|
|
1269
1297
|
response_data: Any = None
|
|
1270
1298
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1271
|
-
return unmarshal_json_response(
|
|
1299
|
+
return unmarshal_json_response(
|
|
1300
|
+
models.DeleteConfigGroupByProductAndIDResponse, http_res
|
|
1301
|
+
)
|
|
1272
1302
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1273
1303
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1274
1304
|
raise errors.Error(response_data, http_res)
|
|
@@ -1297,7 +1327,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1297
1327
|
server_url: Optional[str] = None,
|
|
1298
1328
|
timeout_ms: Optional[int] = None,
|
|
1299
1329
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1300
|
-
) -> models.
|
|
1330
|
+
) -> models.UpdateConfigGroupDeployByProductAndIDResponse:
|
|
1301
1331
|
r"""Deploy commits to a Worker Group or Edge Fleet
|
|
1302
1332
|
|
|
1303
1333
|
Deploy commits to the specified Worker Group or Edge Fleet.
|
|
@@ -1348,6 +1378,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1348
1378
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
1349
1379
|
request.deploy_request, False, False, "json", models.DeployRequest
|
|
1350
1380
|
),
|
|
1381
|
+
allow_empty_value=None,
|
|
1351
1382
|
timeout_ms=timeout_ms,
|
|
1352
1383
|
)
|
|
1353
1384
|
|
|
@@ -1376,7 +1407,9 @@ class GroupsSDK(BaseSDK):
|
|
|
1376
1407
|
|
|
1377
1408
|
response_data: Any = None
|
|
1378
1409
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1379
|
-
return unmarshal_json_response(
|
|
1410
|
+
return unmarshal_json_response(
|
|
1411
|
+
models.UpdateConfigGroupDeployByProductAndIDResponse, http_res
|
|
1412
|
+
)
|
|
1380
1413
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1381
1414
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1382
1415
|
raise errors.Error(response_data, http_res)
|
|
@@ -1405,7 +1438,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1405
1438
|
server_url: Optional[str] = None,
|
|
1406
1439
|
timeout_ms: Optional[int] = None,
|
|
1407
1440
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1408
|
-
) -> models.
|
|
1441
|
+
) -> models.UpdateConfigGroupDeployByProductAndIDResponse:
|
|
1409
1442
|
r"""Deploy commits to a Worker Group or Edge Fleet
|
|
1410
1443
|
|
|
1411
1444
|
Deploy commits to the specified Worker Group or Edge Fleet.
|
|
@@ -1456,6 +1489,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1456
1489
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
1457
1490
|
request.deploy_request, False, False, "json", models.DeployRequest
|
|
1458
1491
|
),
|
|
1492
|
+
allow_empty_value=None,
|
|
1459
1493
|
timeout_ms=timeout_ms,
|
|
1460
1494
|
)
|
|
1461
1495
|
|
|
@@ -1484,7 +1518,9 @@ class GroupsSDK(BaseSDK):
|
|
|
1484
1518
|
|
|
1485
1519
|
response_data: Any = None
|
|
1486
1520
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1487
|
-
return unmarshal_json_response(
|
|
1521
|
+
return unmarshal_json_response(
|
|
1522
|
+
models.UpdateConfigGroupDeployByProductAndIDResponse, http_res
|
|
1523
|
+
)
|
|
1488
1524
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1489
1525
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1490
1526
|
raise errors.Error(response_data, http_res)
|
cribl_control_plane/health.py
CHANGED
|
@@ -49,6 +49,7 @@ class Health(BaseSDK):
|
|
|
49
49
|
user_agent_header="user-agent",
|
|
50
50
|
accept_header_value="application/json",
|
|
51
51
|
http_headers=http_headers,
|
|
52
|
+
allow_empty_value=None,
|
|
52
53
|
timeout_ms=timeout_ms,
|
|
53
54
|
)
|
|
54
55
|
|
|
@@ -131,6 +132,7 @@ class Health(BaseSDK):
|
|
|
131
132
|
user_agent_header="user-agent",
|
|
132
133
|
accept_header_value="application/json",
|
|
133
134
|
http_headers=http_headers,
|
|
135
|
+
allow_empty_value=None,
|
|
134
136
|
timeout_ms=timeout_ms,
|
|
135
137
|
)
|
|
136
138
|
|
cribl_control_plane/hectokens.py
CHANGED
|
@@ -15,6 +15,7 @@ class HecTokens(BaseSDK):
|
|
|
15
15
|
*,
|
|
16
16
|
id: str,
|
|
17
17
|
token: str,
|
|
18
|
+
allowed_indexes_at_token: Optional[List[str]] = None,
|
|
18
19
|
description: Optional[str] = None,
|
|
19
20
|
enabled: Optional[bool] = None,
|
|
20
21
|
metadata: Optional[
|
|
@@ -27,13 +28,14 @@ class HecTokens(BaseSDK):
|
|
|
27
28
|
server_url: Optional[str] = None,
|
|
28
29
|
timeout_ms: Optional[int] = None,
|
|
29
30
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
30
|
-
) -> models.
|
|
31
|
+
) -> models.CreateInputHecTokenByIDResponse:
|
|
31
32
|
r"""Add an HEC token and optional metadata to a Splunk HEC Source
|
|
32
33
|
|
|
33
34
|
Add an HEC token and optional metadata to the specified Splunk HEC Source.
|
|
34
35
|
|
|
35
36
|
:param id: The <code>id</code> of the Splunk HEC Source.
|
|
36
37
|
:param token:
|
|
38
|
+
:param allowed_indexes_at_token:
|
|
37
39
|
:param description:
|
|
38
40
|
:param enabled:
|
|
39
41
|
:param metadata:
|
|
@@ -55,6 +57,7 @@ class HecTokens(BaseSDK):
|
|
|
55
57
|
request = models.CreateInputHecTokenByIDRequest(
|
|
56
58
|
id=id,
|
|
57
59
|
add_hec_token_request=models.AddHecTokenRequest(
|
|
60
|
+
allowed_indexes_at_token=allowed_indexes_at_token,
|
|
58
61
|
description=description,
|
|
59
62
|
enabled=enabled,
|
|
60
63
|
metadata=utils.get_pydantic_model(
|
|
@@ -84,6 +87,7 @@ class HecTokens(BaseSDK):
|
|
|
84
87
|
"json",
|
|
85
88
|
models.AddHecTokenRequest,
|
|
86
89
|
),
|
|
90
|
+
allow_empty_value=None,
|
|
87
91
|
timeout_ms=timeout_ms,
|
|
88
92
|
)
|
|
89
93
|
|
|
@@ -112,7 +116,9 @@ class HecTokens(BaseSDK):
|
|
|
112
116
|
|
|
113
117
|
response_data: Any = None
|
|
114
118
|
if utils.match_response(http_res, "200", "application/json"):
|
|
115
|
-
return unmarshal_json_response(
|
|
119
|
+
return unmarshal_json_response(
|
|
120
|
+
models.CreateInputHecTokenByIDResponse, http_res
|
|
121
|
+
)
|
|
116
122
|
if utils.match_response(http_res, "500", "application/json"):
|
|
117
123
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
118
124
|
raise errors.Error(response_data, http_res)
|
|
@@ -130,6 +136,7 @@ class HecTokens(BaseSDK):
|
|
|
130
136
|
*,
|
|
131
137
|
id: str,
|
|
132
138
|
token: str,
|
|
139
|
+
allowed_indexes_at_token: Optional[List[str]] = None,
|
|
133
140
|
description: Optional[str] = None,
|
|
134
141
|
enabled: Optional[bool] = None,
|
|
135
142
|
metadata: Optional[
|
|
@@ -142,13 +149,14 @@ class HecTokens(BaseSDK):
|
|
|
142
149
|
server_url: Optional[str] = None,
|
|
143
150
|
timeout_ms: Optional[int] = None,
|
|
144
151
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
145
|
-
) -> models.
|
|
152
|
+
) -> models.CreateInputHecTokenByIDResponse:
|
|
146
153
|
r"""Add an HEC token and optional metadata to a Splunk HEC Source
|
|
147
154
|
|
|
148
155
|
Add an HEC token and optional metadata to the specified Splunk HEC Source.
|
|
149
156
|
|
|
150
157
|
:param id: The <code>id</code> of the Splunk HEC Source.
|
|
151
158
|
:param token:
|
|
159
|
+
:param allowed_indexes_at_token:
|
|
152
160
|
:param description:
|
|
153
161
|
:param enabled:
|
|
154
162
|
:param metadata:
|
|
@@ -170,6 +178,7 @@ class HecTokens(BaseSDK):
|
|
|
170
178
|
request = models.CreateInputHecTokenByIDRequest(
|
|
171
179
|
id=id,
|
|
172
180
|
add_hec_token_request=models.AddHecTokenRequest(
|
|
181
|
+
allowed_indexes_at_token=allowed_indexes_at_token,
|
|
173
182
|
description=description,
|
|
174
183
|
enabled=enabled,
|
|
175
184
|
metadata=utils.get_pydantic_model(
|
|
@@ -199,6 +208,7 @@ class HecTokens(BaseSDK):
|
|
|
199
208
|
"json",
|
|
200
209
|
models.AddHecTokenRequest,
|
|
201
210
|
),
|
|
211
|
+
allow_empty_value=None,
|
|
202
212
|
timeout_ms=timeout_ms,
|
|
203
213
|
)
|
|
204
214
|
|
|
@@ -227,7 +237,9 @@ class HecTokens(BaseSDK):
|
|
|
227
237
|
|
|
228
238
|
response_data: Any = None
|
|
229
239
|
if utils.match_response(http_res, "200", "application/json"):
|
|
230
|
-
return unmarshal_json_response(
|
|
240
|
+
return unmarshal_json_response(
|
|
241
|
+
models.CreateInputHecTokenByIDResponse, http_res
|
|
242
|
+
)
|
|
231
243
|
if utils.match_response(http_res, "500", "application/json"):
|
|
232
244
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
233
245
|
raise errors.Error(response_data, http_res)
|
|
@@ -245,6 +257,7 @@ class HecTokens(BaseSDK):
|
|
|
245
257
|
*,
|
|
246
258
|
id: str,
|
|
247
259
|
token: str,
|
|
260
|
+
allowed_indexes_at_token: Optional[List[str]] = None,
|
|
248
261
|
description: Optional[str] = None,
|
|
249
262
|
enabled: Optional[bool] = None,
|
|
250
263
|
metadata: Optional[
|
|
@@ -257,13 +270,14 @@ class HecTokens(BaseSDK):
|
|
|
257
270
|
server_url: Optional[str] = None,
|
|
258
271
|
timeout_ms: Optional[int] = None,
|
|
259
272
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
260
|
-
) -> models.
|
|
273
|
+
) -> models.UpdateInputHecTokenByIDAndTokenResponse:
|
|
261
274
|
r"""Update metadata for an HEC token for a Splunk HEC Source
|
|
262
275
|
|
|
263
276
|
Update the metadata for the specified HEC token for the specified Splunk HEC Source.
|
|
264
277
|
|
|
265
278
|
:param id: The <code>id</code> of the Splunk HEC Source.
|
|
266
279
|
:param token: The <code>id</code> of the HEC token to update.
|
|
280
|
+
:param allowed_indexes_at_token:
|
|
267
281
|
:param description:
|
|
268
282
|
:param enabled:
|
|
269
283
|
:param metadata:
|
|
@@ -286,6 +300,7 @@ class HecTokens(BaseSDK):
|
|
|
286
300
|
id=id,
|
|
287
301
|
token=token,
|
|
288
302
|
update_hec_token_request=models.UpdateHecTokenRequest(
|
|
303
|
+
allowed_indexes_at_token=allowed_indexes_at_token,
|
|
289
304
|
description=description,
|
|
290
305
|
enabled=enabled,
|
|
291
306
|
metadata=utils.get_pydantic_model(
|
|
@@ -314,6 +329,7 @@ class HecTokens(BaseSDK):
|
|
|
314
329
|
"json",
|
|
315
330
|
models.UpdateHecTokenRequest,
|
|
316
331
|
),
|
|
332
|
+
allow_empty_value=None,
|
|
317
333
|
timeout_ms=timeout_ms,
|
|
318
334
|
)
|
|
319
335
|
|
|
@@ -342,7 +358,9 @@ class HecTokens(BaseSDK):
|
|
|
342
358
|
|
|
343
359
|
response_data: Any = None
|
|
344
360
|
if utils.match_response(http_res, "200", "application/json"):
|
|
345
|
-
return unmarshal_json_response(
|
|
361
|
+
return unmarshal_json_response(
|
|
362
|
+
models.UpdateInputHecTokenByIDAndTokenResponse, http_res
|
|
363
|
+
)
|
|
346
364
|
if utils.match_response(http_res, "500", "application/json"):
|
|
347
365
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
348
366
|
raise errors.Error(response_data, http_res)
|
|
@@ -360,6 +378,7 @@ class HecTokens(BaseSDK):
|
|
|
360
378
|
*,
|
|
361
379
|
id: str,
|
|
362
380
|
token: str,
|
|
381
|
+
allowed_indexes_at_token: Optional[List[str]] = None,
|
|
363
382
|
description: Optional[str] = None,
|
|
364
383
|
enabled: Optional[bool] = None,
|
|
365
384
|
metadata: Optional[
|
|
@@ -372,13 +391,14 @@ class HecTokens(BaseSDK):
|
|
|
372
391
|
server_url: Optional[str] = None,
|
|
373
392
|
timeout_ms: Optional[int] = None,
|
|
374
393
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
375
|
-
) -> models.
|
|
394
|
+
) -> models.UpdateInputHecTokenByIDAndTokenResponse:
|
|
376
395
|
r"""Update metadata for an HEC token for a Splunk HEC Source
|
|
377
396
|
|
|
378
397
|
Update the metadata for the specified HEC token for the specified Splunk HEC Source.
|
|
379
398
|
|
|
380
399
|
:param id: The <code>id</code> of the Splunk HEC Source.
|
|
381
400
|
:param token: The <code>id</code> of the HEC token to update.
|
|
401
|
+
:param allowed_indexes_at_token:
|
|
382
402
|
:param description:
|
|
383
403
|
:param enabled:
|
|
384
404
|
:param metadata:
|
|
@@ -401,6 +421,7 @@ class HecTokens(BaseSDK):
|
|
|
401
421
|
id=id,
|
|
402
422
|
token=token,
|
|
403
423
|
update_hec_token_request=models.UpdateHecTokenRequest(
|
|
424
|
+
allowed_indexes_at_token=allowed_indexes_at_token,
|
|
404
425
|
description=description,
|
|
405
426
|
enabled=enabled,
|
|
406
427
|
metadata=utils.get_pydantic_model(
|
|
@@ -429,6 +450,7 @@ class HecTokens(BaseSDK):
|
|
|
429
450
|
"json",
|
|
430
451
|
models.UpdateHecTokenRequest,
|
|
431
452
|
),
|
|
453
|
+
allow_empty_value=None,
|
|
432
454
|
timeout_ms=timeout_ms,
|
|
433
455
|
)
|
|
434
456
|
|
|
@@ -457,7 +479,9 @@ class HecTokens(BaseSDK):
|
|
|
457
479
|
|
|
458
480
|
response_data: Any = None
|
|
459
481
|
if utils.match_response(http_res, "200", "application/json"):
|
|
460
|
-
return unmarshal_json_response(
|
|
482
|
+
return unmarshal_json_response(
|
|
483
|
+
models.UpdateInputHecTokenByIDAndTokenResponse, http_res
|
|
484
|
+
)
|
|
461
485
|
if utils.match_response(http_res, "500", "application/json"):
|
|
462
486
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
463
487
|
raise errors.Error(response_data, http_res)
|