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
cribl_control_plane/pipelines.py
CHANGED
|
@@ -19,7 +19,7 @@ class Pipelines(BaseSDK):
|
|
|
19
19
|
server_url: Optional[str] = None,
|
|
20
20
|
timeout_ms: Optional[int] = None,
|
|
21
21
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
22
|
-
) -> models.
|
|
22
|
+
) -> models.ListPipelineResponse:
|
|
23
23
|
r"""List all Pipelines
|
|
24
24
|
|
|
25
25
|
Get a list of all Pipelines.
|
|
@@ -79,7 +79,7 @@ class Pipelines(BaseSDK):
|
|
|
79
79
|
|
|
80
80
|
response_data: Any = None
|
|
81
81
|
if utils.match_response(http_res, "200", "application/json"):
|
|
82
|
-
return unmarshal_json_response(models.
|
|
82
|
+
return unmarshal_json_response(models.ListPipelineResponse, http_res)
|
|
83
83
|
if utils.match_response(http_res, "500", "application/json"):
|
|
84
84
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
85
85
|
raise errors.Error(response_data, http_res)
|
|
@@ -99,7 +99,7 @@ class Pipelines(BaseSDK):
|
|
|
99
99
|
server_url: Optional[str] = None,
|
|
100
100
|
timeout_ms: Optional[int] = None,
|
|
101
101
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
102
|
-
) -> models.
|
|
102
|
+
) -> models.ListPipelineResponse:
|
|
103
103
|
r"""List all Pipelines
|
|
104
104
|
|
|
105
105
|
Get a list of all Pipelines.
|
|
@@ -159,7 +159,7 @@ class Pipelines(BaseSDK):
|
|
|
159
159
|
|
|
160
160
|
response_data: Any = None
|
|
161
161
|
if utils.match_response(http_res, "200", "application/json"):
|
|
162
|
-
return unmarshal_json_response(models.
|
|
162
|
+
return unmarshal_json_response(models.ListPipelineResponse, http_res)
|
|
163
163
|
if utils.match_response(http_res, "500", "application/json"):
|
|
164
164
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
165
165
|
raise errors.Error(response_data, http_res)
|
|
@@ -181,7 +181,7 @@ class Pipelines(BaseSDK):
|
|
|
181
181
|
server_url: Optional[str] = None,
|
|
182
182
|
timeout_ms: Optional[int] = None,
|
|
183
183
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
184
|
-
) -> models.
|
|
184
|
+
) -> models.CreatePipelineResponse:
|
|
185
185
|
r"""Create a Pipeline
|
|
186
186
|
|
|
187
187
|
Create a new Pipeline.
|
|
@@ -252,7 +252,7 @@ class Pipelines(BaseSDK):
|
|
|
252
252
|
|
|
253
253
|
response_data: Any = None
|
|
254
254
|
if utils.match_response(http_res, "200", "application/json"):
|
|
255
|
-
return unmarshal_json_response(models.
|
|
255
|
+
return unmarshal_json_response(models.CreatePipelineResponse, http_res)
|
|
256
256
|
if utils.match_response(http_res, "500", "application/json"):
|
|
257
257
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
258
258
|
raise errors.Error(response_data, http_res)
|
|
@@ -274,7 +274,7 @@ class Pipelines(BaseSDK):
|
|
|
274
274
|
server_url: Optional[str] = None,
|
|
275
275
|
timeout_ms: Optional[int] = None,
|
|
276
276
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
277
|
-
) -> models.
|
|
277
|
+
) -> models.CreatePipelineResponse:
|
|
278
278
|
r"""Create a Pipeline
|
|
279
279
|
|
|
280
280
|
Create a new Pipeline.
|
|
@@ -345,7 +345,7 @@ class Pipelines(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.CreatePipelineResponse, 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)
|
|
@@ -366,7 +366,7 @@ class Pipelines(BaseSDK):
|
|
|
366
366
|
server_url: Optional[str] = None,
|
|
367
367
|
timeout_ms: Optional[int] = None,
|
|
368
368
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
369
|
-
) -> models.
|
|
369
|
+
) -> models.GetPipelineByIDResponse:
|
|
370
370
|
r"""Get a Pipeline
|
|
371
371
|
|
|
372
372
|
Get the specified Pipeline.
|
|
@@ -432,7 +432,7 @@ class Pipelines(BaseSDK):
|
|
|
432
432
|
|
|
433
433
|
response_data: Any = None
|
|
434
434
|
if utils.match_response(http_res, "200", "application/json"):
|
|
435
|
-
return unmarshal_json_response(models.
|
|
435
|
+
return unmarshal_json_response(models.GetPipelineByIDResponse, http_res)
|
|
436
436
|
if utils.match_response(http_res, "500", "application/json"):
|
|
437
437
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
438
438
|
raise errors.Error(response_data, http_res)
|
|
@@ -453,7 +453,7 @@ class Pipelines(BaseSDK):
|
|
|
453
453
|
server_url: Optional[str] = None,
|
|
454
454
|
timeout_ms: Optional[int] = None,
|
|
455
455
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
456
|
-
) -> models.
|
|
456
|
+
) -> models.GetPipelineByIDResponse:
|
|
457
457
|
r"""Get a Pipeline
|
|
458
458
|
|
|
459
459
|
Get the specified Pipeline.
|
|
@@ -519,7 +519,7 @@ class Pipelines(BaseSDK):
|
|
|
519
519
|
|
|
520
520
|
response_data: Any = None
|
|
521
521
|
if utils.match_response(http_res, "200", "application/json"):
|
|
522
|
-
return unmarshal_json_response(models.
|
|
522
|
+
return unmarshal_json_response(models.GetPipelineByIDResponse, http_res)
|
|
523
523
|
if utils.match_response(http_res, "500", "application/json"):
|
|
524
524
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
525
525
|
raise errors.Error(response_data, http_res)
|
|
@@ -542,7 +542,7 @@ class Pipelines(BaseSDK):
|
|
|
542
542
|
server_url: Optional[str] = None,
|
|
543
543
|
timeout_ms: Optional[int] = None,
|
|
544
544
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
545
|
-
) -> models.
|
|
545
|
+
) -> models.UpdatePipelineByIDResponse:
|
|
546
546
|
r"""Update a Pipeline
|
|
547
547
|
|
|
548
548
|
Update the specified Pipeline.</br></br>Provide a complete representation of the Pipeline that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Pipeline.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Pipeline might not function as expected.
|
|
@@ -617,7 +617,7 @@ class Pipelines(BaseSDK):
|
|
|
617
617
|
|
|
618
618
|
response_data: Any = None
|
|
619
619
|
if utils.match_response(http_res, "200", "application/json"):
|
|
620
|
-
return unmarshal_json_response(models.
|
|
620
|
+
return unmarshal_json_response(models.UpdatePipelineByIDResponse, http_res)
|
|
621
621
|
if utils.match_response(http_res, "500", "application/json"):
|
|
622
622
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
623
623
|
raise errors.Error(response_data, http_res)
|
|
@@ -640,7 +640,7 @@ class Pipelines(BaseSDK):
|
|
|
640
640
|
server_url: Optional[str] = None,
|
|
641
641
|
timeout_ms: Optional[int] = None,
|
|
642
642
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
643
|
-
) -> models.
|
|
643
|
+
) -> models.UpdatePipelineByIDResponse:
|
|
644
644
|
r"""Update a Pipeline
|
|
645
645
|
|
|
646
646
|
Update the specified Pipeline.</br></br>Provide a complete representation of the Pipeline that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Pipeline.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Pipeline might not function as expected.
|
|
@@ -715,7 +715,7 @@ class Pipelines(BaseSDK):
|
|
|
715
715
|
|
|
716
716
|
response_data: Any = None
|
|
717
717
|
if utils.match_response(http_res, "200", "application/json"):
|
|
718
|
-
return unmarshal_json_response(models.
|
|
718
|
+
return unmarshal_json_response(models.UpdatePipelineByIDResponse, http_res)
|
|
719
719
|
if utils.match_response(http_res, "500", "application/json"):
|
|
720
720
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
721
721
|
raise errors.Error(response_data, http_res)
|
|
@@ -736,7 +736,7 @@ class Pipelines(BaseSDK):
|
|
|
736
736
|
server_url: Optional[str] = None,
|
|
737
737
|
timeout_ms: Optional[int] = None,
|
|
738
738
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
739
|
-
) -> models.
|
|
739
|
+
) -> models.DeletePipelineByIDResponse:
|
|
740
740
|
r"""Delete a Pipeline
|
|
741
741
|
|
|
742
742
|
Delete the specified Pipeline.
|
|
@@ -802,7 +802,7 @@ class Pipelines(BaseSDK):
|
|
|
802
802
|
|
|
803
803
|
response_data: Any = None
|
|
804
804
|
if utils.match_response(http_res, "200", "application/json"):
|
|
805
|
-
return unmarshal_json_response(models.
|
|
805
|
+
return unmarshal_json_response(models.DeletePipelineByIDResponse, http_res)
|
|
806
806
|
if utils.match_response(http_res, "500", "application/json"):
|
|
807
807
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
808
808
|
raise errors.Error(response_data, http_res)
|
|
@@ -823,7 +823,7 @@ class Pipelines(BaseSDK):
|
|
|
823
823
|
server_url: Optional[str] = None,
|
|
824
824
|
timeout_ms: Optional[int] = None,
|
|
825
825
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
826
|
-
) -> models.
|
|
826
|
+
) -> models.DeletePipelineByIDResponse:
|
|
827
827
|
r"""Delete a Pipeline
|
|
828
828
|
|
|
829
829
|
Delete the specified Pipeline.
|
|
@@ -889,7 +889,7 @@ class Pipelines(BaseSDK):
|
|
|
889
889
|
|
|
890
890
|
response_data: Any = None
|
|
891
891
|
if utils.match_response(http_res, "200", "application/json"):
|
|
892
|
-
return unmarshal_json_response(models.
|
|
892
|
+
return unmarshal_json_response(models.DeletePipelineByIDResponse, http_res)
|
|
893
893
|
if utils.match_response(http_res, "500", "application/json"):
|
|
894
894
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
895
895
|
raise errors.Error(response_data, http_res)
|
|
@@ -19,7 +19,7 @@ class RoutesSDK(BaseSDK):
|
|
|
19
19
|
server_url: Optional[str] = None,
|
|
20
20
|
timeout_ms: Optional[int] = None,
|
|
21
21
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
22
|
-
) -> models.
|
|
22
|
+
) -> models.ListRoutesResponse:
|
|
23
23
|
r"""List all Routes
|
|
24
24
|
|
|
25
25
|
Get a list of all Routes.
|
|
@@ -79,7 +79,7 @@ class RoutesSDK(BaseSDK):
|
|
|
79
79
|
|
|
80
80
|
response_data: Any = None
|
|
81
81
|
if utils.match_response(http_res, "200", "application/json"):
|
|
82
|
-
return unmarshal_json_response(models.
|
|
82
|
+
return unmarshal_json_response(models.ListRoutesResponse, http_res)
|
|
83
83
|
if utils.match_response(http_res, "500", "application/json"):
|
|
84
84
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
85
85
|
raise errors.Error(response_data, http_res)
|
|
@@ -99,7 +99,7 @@ class RoutesSDK(BaseSDK):
|
|
|
99
99
|
server_url: Optional[str] = None,
|
|
100
100
|
timeout_ms: Optional[int] = None,
|
|
101
101
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
102
|
-
) -> models.
|
|
102
|
+
) -> models.ListRoutesResponse:
|
|
103
103
|
r"""List all Routes
|
|
104
104
|
|
|
105
105
|
Get a list of all Routes.
|
|
@@ -159,7 +159,7 @@ class RoutesSDK(BaseSDK):
|
|
|
159
159
|
|
|
160
160
|
response_data: Any = None
|
|
161
161
|
if utils.match_response(http_res, "200", "application/json"):
|
|
162
|
-
return unmarshal_json_response(models.
|
|
162
|
+
return unmarshal_json_response(models.ListRoutesResponse, http_res)
|
|
163
163
|
if utils.match_response(http_res, "500", "application/json"):
|
|
164
164
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
165
165
|
raise errors.Error(response_data, http_res)
|
|
@@ -180,7 +180,7 @@ class RoutesSDK(BaseSDK):
|
|
|
180
180
|
server_url: Optional[str] = None,
|
|
181
181
|
timeout_ms: Optional[int] = None,
|
|
182
182
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
183
|
-
) -> models.
|
|
183
|
+
) -> models.GetRoutesByIDResponse:
|
|
184
184
|
r"""Get a Routing table
|
|
185
185
|
|
|
186
186
|
Get the specified Routing table.
|
|
@@ -246,7 +246,7 @@ class RoutesSDK(BaseSDK):
|
|
|
246
246
|
|
|
247
247
|
response_data: Any = None
|
|
248
248
|
if utils.match_response(http_res, "200", "application/json"):
|
|
249
|
-
return unmarshal_json_response(models.
|
|
249
|
+
return unmarshal_json_response(models.GetRoutesByIDResponse, http_res)
|
|
250
250
|
if utils.match_response(http_res, "500", "application/json"):
|
|
251
251
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
252
252
|
raise errors.Error(response_data, http_res)
|
|
@@ -267,7 +267,7 @@ class RoutesSDK(BaseSDK):
|
|
|
267
267
|
server_url: Optional[str] = None,
|
|
268
268
|
timeout_ms: Optional[int] = None,
|
|
269
269
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
270
|
-
) -> models.
|
|
270
|
+
) -> models.GetRoutesByIDResponse:
|
|
271
271
|
r"""Get a Routing table
|
|
272
272
|
|
|
273
273
|
Get the specified Routing table.
|
|
@@ -333,7 +333,7 @@ class RoutesSDK(BaseSDK):
|
|
|
333
333
|
|
|
334
334
|
response_data: Any = None
|
|
335
335
|
if utils.match_response(http_res, "200", "application/json"):
|
|
336
|
-
return unmarshal_json_response(models.
|
|
336
|
+
return unmarshal_json_response(models.GetRoutesByIDResponse, http_res)
|
|
337
337
|
if utils.match_response(http_res, "500", "application/json"):
|
|
338
338
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
339
339
|
raise errors.Error(response_data, http_res)
|
|
@@ -364,7 +364,7 @@ class RoutesSDK(BaseSDK):
|
|
|
364
364
|
server_url: Optional[str] = None,
|
|
365
365
|
timeout_ms: Optional[int] = None,
|
|
366
366
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
367
|
-
) -> models.
|
|
367
|
+
) -> models.UpdateRoutesByIDResponse:
|
|
368
368
|
r"""Update a Route
|
|
369
369
|
|
|
370
370
|
Update a Route in the specified Routing table.</br></br>Provide a complete representation of the Routing table, including the Route that you want to update, in the request body. This endpoint does not support partial updates. Cribl removes any omitted Routes and fields when updating.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the Routing table might not function as expected.
|
|
@@ -447,7 +447,7 @@ class RoutesSDK(BaseSDK):
|
|
|
447
447
|
|
|
448
448
|
response_data: Any = None
|
|
449
449
|
if utils.match_response(http_res, "200", "application/json"):
|
|
450
|
-
return unmarshal_json_response(models.
|
|
450
|
+
return unmarshal_json_response(models.UpdateRoutesByIDResponse, http_res)
|
|
451
451
|
if utils.match_response(http_res, "500", "application/json"):
|
|
452
452
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
453
453
|
raise errors.Error(response_data, http_res)
|
|
@@ -478,7 +478,7 @@ class RoutesSDK(BaseSDK):
|
|
|
478
478
|
server_url: Optional[str] = None,
|
|
479
479
|
timeout_ms: Optional[int] = None,
|
|
480
480
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
481
|
-
) -> models.
|
|
481
|
+
) -> models.UpdateRoutesByIDResponse:
|
|
482
482
|
r"""Update a Route
|
|
483
483
|
|
|
484
484
|
Update a Route in the specified Routing table.</br></br>Provide a complete representation of the Routing table, including the Route that you want to update, in the request body. This endpoint does not support partial updates. Cribl removes any omitted Routes and fields when updating.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the Routing table might not function as expected.
|
|
@@ -561,7 +561,7 @@ class RoutesSDK(BaseSDK):
|
|
|
561
561
|
|
|
562
562
|
response_data: Any = None
|
|
563
563
|
if utils.match_response(http_res, "200", "application/json"):
|
|
564
|
-
return unmarshal_json_response(models.
|
|
564
|
+
return unmarshal_json_response(models.UpdateRoutesByIDResponse, http_res)
|
|
565
565
|
if utils.match_response(http_res, "500", "application/json"):
|
|
566
566
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
567
567
|
raise errors.Error(response_data, http_res)
|
|
@@ -583,7 +583,7 @@ class RoutesSDK(BaseSDK):
|
|
|
583
583
|
server_url: Optional[str] = None,
|
|
584
584
|
timeout_ms: Optional[int] = None,
|
|
585
585
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
586
|
-
) -> models.
|
|
586
|
+
) -> models.CreateRoutesAppendByIDResponse:
|
|
587
587
|
r"""Add a Route to the end of the Routing table
|
|
588
588
|
|
|
589
589
|
Add a Route to the end of the specified Routing table.
|
|
@@ -654,7 +654,9 @@ class RoutesSDK(BaseSDK):
|
|
|
654
654
|
|
|
655
655
|
response_data: Any = None
|
|
656
656
|
if utils.match_response(http_res, "200", "application/json"):
|
|
657
|
-
return unmarshal_json_response(
|
|
657
|
+
return unmarshal_json_response(
|
|
658
|
+
models.CreateRoutesAppendByIDResponse, http_res
|
|
659
|
+
)
|
|
658
660
|
if utils.match_response(http_res, "500", "application/json"):
|
|
659
661
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
660
662
|
raise errors.Error(response_data, http_res)
|
|
@@ -676,7 +678,7 @@ class RoutesSDK(BaseSDK):
|
|
|
676
678
|
server_url: Optional[str] = None,
|
|
677
679
|
timeout_ms: Optional[int] = None,
|
|
678
680
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
679
|
-
) -> models.
|
|
681
|
+
) -> models.CreateRoutesAppendByIDResponse:
|
|
680
682
|
r"""Add a Route to the end of the Routing table
|
|
681
683
|
|
|
682
684
|
Add a Route to the end of the specified Routing table.
|
|
@@ -747,7 +749,9 @@ class RoutesSDK(BaseSDK):
|
|
|
747
749
|
|
|
748
750
|
response_data: Any = None
|
|
749
751
|
if utils.match_response(http_res, "200", "application/json"):
|
|
750
|
-
return unmarshal_json_response(
|
|
752
|
+
return unmarshal_json_response(
|
|
753
|
+
models.CreateRoutesAppendByIDResponse, http_res
|
|
754
|
+
)
|
|
751
755
|
if utils.match_response(http_res, "500", "application/json"):
|
|
752
756
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
753
757
|
raise errors.Error(response_data, http_res)
|
cribl_control_plane/samples.py
CHANGED
|
@@ -18,7 +18,7 @@ class Samples(BaseSDK):
|
|
|
18
18
|
server_url: Optional[str] = None,
|
|
19
19
|
timeout_ms: Optional[int] = None,
|
|
20
20
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
21
|
-
) -> models.
|
|
21
|
+
) -> models.GetOutputSamplesByIDResponse:
|
|
22
22
|
r"""Get sample event data for a Destination
|
|
23
23
|
|
|
24
24
|
Get sample event data for the specified Destination to validate the configuration or test connectivity.
|
|
@@ -85,7 +85,7 @@ class Samples(BaseSDK):
|
|
|
85
85
|
response_data: Any = None
|
|
86
86
|
if utils.match_response(http_res, "200", "application/json"):
|
|
87
87
|
return unmarshal_json_response(
|
|
88
|
-
models.
|
|
88
|
+
models.GetOutputSamplesByIDResponse, http_res
|
|
89
89
|
)
|
|
90
90
|
if utils.match_response(http_res, "500", "application/json"):
|
|
91
91
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
@@ -107,7 +107,7 @@ class Samples(BaseSDK):
|
|
|
107
107
|
server_url: Optional[str] = None,
|
|
108
108
|
timeout_ms: Optional[int] = None,
|
|
109
109
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
110
|
-
) -> models.
|
|
110
|
+
) -> models.GetOutputSamplesByIDResponse:
|
|
111
111
|
r"""Get sample event data for a Destination
|
|
112
112
|
|
|
113
113
|
Get sample event data for the specified Destination to validate the configuration or test connectivity.
|
|
@@ -174,7 +174,7 @@ class Samples(BaseSDK):
|
|
|
174
174
|
response_data: Any = None
|
|
175
175
|
if utils.match_response(http_res, "200", "application/json"):
|
|
176
176
|
return unmarshal_json_response(
|
|
177
|
-
models.
|
|
177
|
+
models.GetOutputSamplesByIDResponse, http_res
|
|
178
178
|
)
|
|
179
179
|
if utils.match_response(http_res, "500", "application/json"):
|
|
180
180
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
@@ -197,7 +197,7 @@ class Samples(BaseSDK):
|
|
|
197
197
|
server_url: Optional[str] = None,
|
|
198
198
|
timeout_ms: Optional[int] = None,
|
|
199
199
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
200
|
-
) -> models.
|
|
200
|
+
) -> models.CreateOutputTestByIDResponse:
|
|
201
201
|
r"""Send sample event data to a Destination
|
|
202
202
|
|
|
203
203
|
Send sample event data to the specified Destination to validate the configuration or test connectivity.
|
|
@@ -275,7 +275,7 @@ class Samples(BaseSDK):
|
|
|
275
275
|
response_data: Any = None
|
|
276
276
|
if utils.match_response(http_res, "200", "application/json"):
|
|
277
277
|
return unmarshal_json_response(
|
|
278
|
-
models.
|
|
278
|
+
models.CreateOutputTestByIDResponse, http_res
|
|
279
279
|
)
|
|
280
280
|
if utils.match_response(http_res, "500", "application/json"):
|
|
281
281
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
@@ -298,7 +298,7 @@ class Samples(BaseSDK):
|
|
|
298
298
|
server_url: Optional[str] = None,
|
|
299
299
|
timeout_ms: Optional[int] = None,
|
|
300
300
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
301
|
-
) -> models.
|
|
301
|
+
) -> models.CreateOutputTestByIDResponse:
|
|
302
302
|
r"""Send sample event data to a Destination
|
|
303
303
|
|
|
304
304
|
Send sample event data to the specified Destination to validate the configuration or test connectivity.
|
|
@@ -376,7 +376,7 @@ class Samples(BaseSDK):
|
|
|
376
376
|
response_data: Any = None
|
|
377
377
|
if utils.match_response(http_res, "200", "application/json"):
|
|
378
378
|
return unmarshal_json_response(
|
|
379
|
-
models.
|
|
379
|
+
models.CreateOutputTestByIDResponse, http_res
|
|
380
380
|
)
|
|
381
381
|
if utils.match_response(http_res, "500", "application/json"):
|
|
382
382
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
cribl_control_plane/sources.py
CHANGED
|
@@ -33,7 +33,7 @@ class Sources(BaseSDK):
|
|
|
33
33
|
server_url: Optional[str] = None,
|
|
34
34
|
timeout_ms: Optional[int] = None,
|
|
35
35
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
36
|
-
) -> models.
|
|
36
|
+
) -> models.ListInputResponse:
|
|
37
37
|
r"""List all Sources
|
|
38
38
|
|
|
39
39
|
Get a list of all Sources.
|
|
@@ -93,7 +93,7 @@ class Sources(BaseSDK):
|
|
|
93
93
|
|
|
94
94
|
response_data: Any = None
|
|
95
95
|
if utils.match_response(http_res, "200", "application/json"):
|
|
96
|
-
return unmarshal_json_response(models.
|
|
96
|
+
return unmarshal_json_response(models.ListInputResponse, http_res)
|
|
97
97
|
if utils.match_response(http_res, "500", "application/json"):
|
|
98
98
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
99
99
|
raise errors.Error(response_data, http_res)
|
|
@@ -113,7 +113,7 @@ class Sources(BaseSDK):
|
|
|
113
113
|
server_url: Optional[str] = None,
|
|
114
114
|
timeout_ms: Optional[int] = None,
|
|
115
115
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
116
|
-
) -> models.
|
|
116
|
+
) -> models.ListInputResponse:
|
|
117
117
|
r"""List all Sources
|
|
118
118
|
|
|
119
119
|
Get a list of all Sources.
|
|
@@ -173,7 +173,7 @@ class Sources(BaseSDK):
|
|
|
173
173
|
|
|
174
174
|
response_data: Any = None
|
|
175
175
|
if utils.match_response(http_res, "200", "application/json"):
|
|
176
|
-
return unmarshal_json_response(models.
|
|
176
|
+
return unmarshal_json_response(models.ListInputResponse, http_res)
|
|
177
177
|
if utils.match_response(http_res, "500", "application/json"):
|
|
178
178
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
179
179
|
raise errors.Error(response_data, http_res)
|
|
@@ -194,7 +194,7 @@ class Sources(BaseSDK):
|
|
|
194
194
|
server_url: Optional[str] = None,
|
|
195
195
|
timeout_ms: Optional[int] = None,
|
|
196
196
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
197
|
-
) -> models.
|
|
197
|
+
) -> models.CreateInputResponse:
|
|
198
198
|
r"""Create a Source
|
|
199
199
|
|
|
200
200
|
Create a new Source.
|
|
@@ -263,7 +263,7 @@ class Sources(BaseSDK):
|
|
|
263
263
|
|
|
264
264
|
response_data: Any = None
|
|
265
265
|
if utils.match_response(http_res, "200", "application/json"):
|
|
266
|
-
return unmarshal_json_response(models.
|
|
266
|
+
return unmarshal_json_response(models.CreateInputResponse, http_res)
|
|
267
267
|
if utils.match_response(http_res, "500", "application/json"):
|
|
268
268
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
269
269
|
raise errors.Error(response_data, http_res)
|
|
@@ -284,7 +284,7 @@ class Sources(BaseSDK):
|
|
|
284
284
|
server_url: Optional[str] = None,
|
|
285
285
|
timeout_ms: Optional[int] = None,
|
|
286
286
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
287
|
-
) -> models.
|
|
287
|
+
) -> models.CreateInputResponse:
|
|
288
288
|
r"""Create a Source
|
|
289
289
|
|
|
290
290
|
Create a new Source.
|
|
@@ -353,7 +353,7 @@ class Sources(BaseSDK):
|
|
|
353
353
|
|
|
354
354
|
response_data: Any = None
|
|
355
355
|
if utils.match_response(http_res, "200", "application/json"):
|
|
356
|
-
return unmarshal_json_response(models.
|
|
356
|
+
return unmarshal_json_response(models.CreateInputResponse, http_res)
|
|
357
357
|
if utils.match_response(http_res, "500", "application/json"):
|
|
358
358
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
359
359
|
raise errors.Error(response_data, http_res)
|
|
@@ -374,7 +374,7 @@ class Sources(BaseSDK):
|
|
|
374
374
|
server_url: Optional[str] = None,
|
|
375
375
|
timeout_ms: Optional[int] = None,
|
|
376
376
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
377
|
-
) -> models.
|
|
377
|
+
) -> models.GetInputByIDResponse:
|
|
378
378
|
r"""Get a Source
|
|
379
379
|
|
|
380
380
|
Get the specified Source.
|
|
@@ -440,7 +440,7 @@ class Sources(BaseSDK):
|
|
|
440
440
|
|
|
441
441
|
response_data: Any = None
|
|
442
442
|
if utils.match_response(http_res, "200", "application/json"):
|
|
443
|
-
return unmarshal_json_response(models.
|
|
443
|
+
return unmarshal_json_response(models.GetInputByIDResponse, http_res)
|
|
444
444
|
if utils.match_response(http_res, "500", "application/json"):
|
|
445
445
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
446
446
|
raise errors.Error(response_data, http_res)
|
|
@@ -461,7 +461,7 @@ class Sources(BaseSDK):
|
|
|
461
461
|
server_url: Optional[str] = None,
|
|
462
462
|
timeout_ms: Optional[int] = None,
|
|
463
463
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
464
|
-
) -> models.
|
|
464
|
+
) -> models.GetInputByIDResponse:
|
|
465
465
|
r"""Get a Source
|
|
466
466
|
|
|
467
467
|
Get the specified Source.
|
|
@@ -527,7 +527,7 @@ class Sources(BaseSDK):
|
|
|
527
527
|
|
|
528
528
|
response_data: Any = None
|
|
529
529
|
if utils.match_response(http_res, "200", "application/json"):
|
|
530
|
-
return unmarshal_json_response(models.
|
|
530
|
+
return unmarshal_json_response(models.GetInputByIDResponse, http_res)
|
|
531
531
|
if utils.match_response(http_res, "500", "application/json"):
|
|
532
532
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
533
533
|
raise errors.Error(response_data, http_res)
|
|
@@ -549,7 +549,7 @@ class Sources(BaseSDK):
|
|
|
549
549
|
server_url: Optional[str] = None,
|
|
550
550
|
timeout_ms: Optional[int] = None,
|
|
551
551
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
552
|
-
) -> models.
|
|
552
|
+
) -> models.UpdateInputByIDResponse:
|
|
553
553
|
r"""Update a Source
|
|
554
554
|
|
|
555
555
|
Update the specified Source.</br></br>Provide a complete representation of the Source that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Source.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Source might not function as expected.
|
|
@@ -620,7 +620,7 @@ class Sources(BaseSDK):
|
|
|
620
620
|
|
|
621
621
|
response_data: Any = None
|
|
622
622
|
if utils.match_response(http_res, "200", "application/json"):
|
|
623
|
-
return unmarshal_json_response(models.
|
|
623
|
+
return unmarshal_json_response(models.UpdateInputByIDResponse, http_res)
|
|
624
624
|
if utils.match_response(http_res, "500", "application/json"):
|
|
625
625
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
626
626
|
raise errors.Error(response_data, http_res)
|
|
@@ -642,7 +642,7 @@ class Sources(BaseSDK):
|
|
|
642
642
|
server_url: Optional[str] = None,
|
|
643
643
|
timeout_ms: Optional[int] = None,
|
|
644
644
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
645
|
-
) -> models.
|
|
645
|
+
) -> models.UpdateInputByIDResponse:
|
|
646
646
|
r"""Update a Source
|
|
647
647
|
|
|
648
648
|
Update the specified Source.</br></br>Provide a complete representation of the Source that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Source.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Source might not function as expected.
|
|
@@ -713,7 +713,7 @@ class Sources(BaseSDK):
|
|
|
713
713
|
|
|
714
714
|
response_data: Any = None
|
|
715
715
|
if utils.match_response(http_res, "200", "application/json"):
|
|
716
|
-
return unmarshal_json_response(models.
|
|
716
|
+
return unmarshal_json_response(models.UpdateInputByIDResponse, http_res)
|
|
717
717
|
if utils.match_response(http_res, "500", "application/json"):
|
|
718
718
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
719
719
|
raise errors.Error(response_data, http_res)
|
|
@@ -734,7 +734,7 @@ class Sources(BaseSDK):
|
|
|
734
734
|
server_url: Optional[str] = None,
|
|
735
735
|
timeout_ms: Optional[int] = None,
|
|
736
736
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
737
|
-
) -> models.
|
|
737
|
+
) -> models.DeleteInputByIDResponse:
|
|
738
738
|
r"""Delete a Source
|
|
739
739
|
|
|
740
740
|
Delete the specified Source.
|
|
@@ -800,7 +800,7 @@ class Sources(BaseSDK):
|
|
|
800
800
|
|
|
801
801
|
response_data: Any = None
|
|
802
802
|
if utils.match_response(http_res, "200", "application/json"):
|
|
803
|
-
return unmarshal_json_response(models.
|
|
803
|
+
return unmarshal_json_response(models.DeleteInputByIDResponse, http_res)
|
|
804
804
|
if utils.match_response(http_res, "500", "application/json"):
|
|
805
805
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
806
806
|
raise errors.Error(response_data, http_res)
|
|
@@ -821,7 +821,7 @@ class Sources(BaseSDK):
|
|
|
821
821
|
server_url: Optional[str] = None,
|
|
822
822
|
timeout_ms: Optional[int] = None,
|
|
823
823
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
824
|
-
) -> models.
|
|
824
|
+
) -> models.DeleteInputByIDResponse:
|
|
825
825
|
r"""Delete a Source
|
|
826
826
|
|
|
827
827
|
Delete the specified Source.
|
|
@@ -887,7 +887,7 @@ class Sources(BaseSDK):
|
|
|
887
887
|
|
|
888
888
|
response_data: Any = None
|
|
889
889
|
if utils.match_response(http_res, "200", "application/json"):
|
|
890
|
-
return unmarshal_json_response(models.
|
|
890
|
+
return unmarshal_json_response(models.DeleteInputByIDResponse, http_res)
|
|
891
891
|
if utils.match_response(http_res, "500", "application/json"):
|
|
892
892
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
893
893
|
raise errors.Error(response_data, http_res)
|
cribl_control_plane/statuses.py
CHANGED
|
@@ -18,7 +18,7 @@ class Statuses(BaseSDK):
|
|
|
18
18
|
server_url: Optional[str] = None,
|
|
19
19
|
timeout_ms: Optional[int] = None,
|
|
20
20
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
21
|
-
) -> models.
|
|
21
|
+
) -> models.GetVersionStatusResponse:
|
|
22
22
|
r"""Get the status of the current working tree
|
|
23
23
|
|
|
24
24
|
Get the status of the current working tree of the Git repository used for Cribl configuration. The response includes details about modified, staged, untracked, and conflicted files, as well as branch and remote tracking information.
|
|
@@ -84,7 +84,7 @@ class Statuses(BaseSDK):
|
|
|
84
84
|
|
|
85
85
|
response_data: Any = None
|
|
86
86
|
if utils.match_response(http_res, "200", "application/json"):
|
|
87
|
-
return unmarshal_json_response(models.
|
|
87
|
+
return unmarshal_json_response(models.GetVersionStatusResponse, http_res)
|
|
88
88
|
if utils.match_response(http_res, "500", "application/json"):
|
|
89
89
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
90
90
|
raise errors.Error(response_data, http_res)
|
|
@@ -105,7 +105,7 @@ class Statuses(BaseSDK):
|
|
|
105
105
|
server_url: Optional[str] = None,
|
|
106
106
|
timeout_ms: Optional[int] = None,
|
|
107
107
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
108
|
-
) -> models.
|
|
108
|
+
) -> models.GetVersionStatusResponse:
|
|
109
109
|
r"""Get the status of the current working tree
|
|
110
110
|
|
|
111
111
|
Get the status of the current working tree of the Git repository used for Cribl configuration. The response includes details about modified, staged, untracked, and conflicted files, as well as branch and remote tracking information.
|
|
@@ -171,7 +171,7 @@ class Statuses(BaseSDK):
|
|
|
171
171
|
|
|
172
172
|
response_data: Any = None
|
|
173
173
|
if utils.match_response(http_res, "200", "application/json"):
|
|
174
|
-
return unmarshal_json_response(models.
|
|
174
|
+
return unmarshal_json_response(models.GetVersionStatusResponse, 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)
|
cribl_control_plane/summaries.py
CHANGED
|
@@ -18,7 +18,7 @@ class Summaries(BaseSDK):
|
|
|
18
18
|
server_url: Optional[str] = None,
|
|
19
19
|
timeout_ms: Optional[int] = None,
|
|
20
20
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
21
|
-
) -> models.
|
|
21
|
+
) -> models.GetSummaryResponse:
|
|
22
22
|
r"""Get a summary of the Distributed deployment
|
|
23
23
|
|
|
24
24
|
Get a summary of the Distributed deployment. The response includes counts of Worker Groups, Edge Fleets, Pipelines, Routes, Sources, Destinations, and Worker and Edge Nodes, as well as statistics for the Worker and Edge Nodes.
|
|
@@ -84,9 +84,7 @@ class Summaries(BaseSDK):
|
|
|
84
84
|
|
|
85
85
|
response_data: Any = None
|
|
86
86
|
if utils.match_response(http_res, "200", "application/json"):
|
|
87
|
-
return unmarshal_json_response(
|
|
88
|
-
models.CountedListDistributedSummary, http_res
|
|
89
|
-
)
|
|
87
|
+
return unmarshal_json_response(models.GetSummaryResponse, http_res)
|
|
90
88
|
if utils.match_response(http_res, "500", "application/json"):
|
|
91
89
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
92
90
|
raise errors.Error(response_data, http_res)
|
|
@@ -107,7 +105,7 @@ class Summaries(BaseSDK):
|
|
|
107
105
|
server_url: Optional[str] = None,
|
|
108
106
|
timeout_ms: Optional[int] = None,
|
|
109
107
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
110
|
-
) -> models.
|
|
108
|
+
) -> models.GetSummaryResponse:
|
|
111
109
|
r"""Get a summary of the Distributed deployment
|
|
112
110
|
|
|
113
111
|
Get a summary of the Distributed deployment. The response includes counts of Worker Groups, Edge Fleets, Pipelines, Routes, Sources, Destinations, and Worker and Edge Nodes, as well as statistics for the Worker and Edge Nodes.
|
|
@@ -173,9 +171,7 @@ class Summaries(BaseSDK):
|
|
|
173
171
|
|
|
174
172
|
response_data: Any = None
|
|
175
173
|
if utils.match_response(http_res, "200", "application/json"):
|
|
176
|
-
return unmarshal_json_response(
|
|
177
|
-
models.CountedListDistributedSummary, http_res
|
|
178
|
-
)
|
|
174
|
+
return unmarshal_json_response(models.GetSummaryResponse, http_res)
|
|
179
175
|
if utils.match_response(http_res, "500", "application/json"):
|
|
180
176
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
181
177
|
raise errors.Error(response_data, http_res)
|