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
|
@@ -19,7 +19,7 @@ class ConfigsVersions(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.GetConfigGroupConfigVersionByProductAndIDResponse:
|
|
23
23
|
r"""Get the configuration version for a Worker Group or Edge Fleet
|
|
24
24
|
|
|
25
25
|
Get the configuration version for the specified Worker Group or Edge Fleet.
|
|
@@ -59,6 +59,7 @@ class ConfigsVersions(BaseSDK):
|
|
|
59
59
|
accept_header_value="application/json",
|
|
60
60
|
http_headers=http_headers,
|
|
61
61
|
security=self.sdk_configuration.security,
|
|
62
|
+
allow_empty_value=None,
|
|
62
63
|
timeout_ms=timeout_ms,
|
|
63
64
|
)
|
|
64
65
|
|
|
@@ -87,7 +88,9 @@ class ConfigsVersions(BaseSDK):
|
|
|
87
88
|
|
|
88
89
|
response_data: Any = None
|
|
89
90
|
if utils.match_response(http_res, "200", "application/json"):
|
|
90
|
-
return unmarshal_json_response(
|
|
91
|
+
return unmarshal_json_response(
|
|
92
|
+
models.GetConfigGroupConfigVersionByProductAndIDResponse, http_res
|
|
93
|
+
)
|
|
91
94
|
if utils.match_response(http_res, "500", "application/json"):
|
|
92
95
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
93
96
|
raise errors.Error(response_data, http_res)
|
|
@@ -109,7 +112,7 @@ class ConfigsVersions(BaseSDK):
|
|
|
109
112
|
server_url: Optional[str] = None,
|
|
110
113
|
timeout_ms: Optional[int] = None,
|
|
111
114
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
112
|
-
) -> models.
|
|
115
|
+
) -> models.GetConfigGroupConfigVersionByProductAndIDResponse:
|
|
113
116
|
r"""Get the configuration version for a Worker Group or Edge Fleet
|
|
114
117
|
|
|
115
118
|
Get the configuration version for the specified Worker Group or Edge Fleet.
|
|
@@ -149,6 +152,7 @@ class ConfigsVersions(BaseSDK):
|
|
|
149
152
|
accept_header_value="application/json",
|
|
150
153
|
http_headers=http_headers,
|
|
151
154
|
security=self.sdk_configuration.security,
|
|
155
|
+
allow_empty_value=None,
|
|
152
156
|
timeout_ms=timeout_ms,
|
|
153
157
|
)
|
|
154
158
|
|
|
@@ -177,7 +181,9 @@ class ConfigsVersions(BaseSDK):
|
|
|
177
181
|
|
|
178
182
|
response_data: Any = None
|
|
179
183
|
if utils.match_response(http_res, "200", "application/json"):
|
|
180
|
-
return unmarshal_json_response(
|
|
184
|
+
return unmarshal_json_response(
|
|
185
|
+
models.GetConfigGroupConfigVersionByProductAndIDResponse, http_res
|
|
186
|
+
)
|
|
181
187
|
if utils.match_response(http_res, "500", "application/json"):
|
|
182
188
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
183
189
|
raise errors.Error(response_data, http_res)
|
|
@@ -36,7 +36,7 @@ class Destinations(BaseSDK):
|
|
|
36
36
|
server_url: Optional[str] = None,
|
|
37
37
|
timeout_ms: Optional[int] = None,
|
|
38
38
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
39
|
-
) -> models.
|
|
39
|
+
) -> models.ListOutputResponse:
|
|
40
40
|
r"""List all Destinations
|
|
41
41
|
|
|
42
42
|
Get a list of all Destinations.
|
|
@@ -68,6 +68,7 @@ class Destinations(BaseSDK):
|
|
|
68
68
|
accept_header_value="application/json",
|
|
69
69
|
http_headers=http_headers,
|
|
70
70
|
security=self.sdk_configuration.security,
|
|
71
|
+
allow_empty_value=None,
|
|
71
72
|
timeout_ms=timeout_ms,
|
|
72
73
|
)
|
|
73
74
|
|
|
@@ -96,7 +97,7 @@ class Destinations(BaseSDK):
|
|
|
96
97
|
|
|
97
98
|
response_data: Any = None
|
|
98
99
|
if utils.match_response(http_res, "200", "application/json"):
|
|
99
|
-
return unmarshal_json_response(models.
|
|
100
|
+
return unmarshal_json_response(models.ListOutputResponse, http_res)
|
|
100
101
|
if utils.match_response(http_res, "500", "application/json"):
|
|
101
102
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
102
103
|
raise errors.Error(response_data, http_res)
|
|
@@ -116,7 +117,7 @@ class Destinations(BaseSDK):
|
|
|
116
117
|
server_url: Optional[str] = None,
|
|
117
118
|
timeout_ms: Optional[int] = None,
|
|
118
119
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
119
|
-
) -> models.
|
|
120
|
+
) -> models.ListOutputResponse:
|
|
120
121
|
r"""List all Destinations
|
|
121
122
|
|
|
122
123
|
Get a list of all Destinations.
|
|
@@ -148,6 +149,7 @@ class Destinations(BaseSDK):
|
|
|
148
149
|
accept_header_value="application/json",
|
|
149
150
|
http_headers=http_headers,
|
|
150
151
|
security=self.sdk_configuration.security,
|
|
152
|
+
allow_empty_value=None,
|
|
151
153
|
timeout_ms=timeout_ms,
|
|
152
154
|
)
|
|
153
155
|
|
|
@@ -176,7 +178,7 @@ class Destinations(BaseSDK):
|
|
|
176
178
|
|
|
177
179
|
response_data: Any = None
|
|
178
180
|
if utils.match_response(http_res, "200", "application/json"):
|
|
179
|
-
return unmarshal_json_response(models.
|
|
181
|
+
return unmarshal_json_response(models.ListOutputResponse, http_res)
|
|
180
182
|
if utils.match_response(http_res, "500", "application/json"):
|
|
181
183
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
182
184
|
raise errors.Error(response_data, http_res)
|
|
@@ -197,7 +199,7 @@ class Destinations(BaseSDK):
|
|
|
197
199
|
server_url: Optional[str] = None,
|
|
198
200
|
timeout_ms: Optional[int] = None,
|
|
199
201
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
200
|
-
) -> models.
|
|
202
|
+
) -> models.CreateOutputResponse:
|
|
201
203
|
r"""Create a Destination
|
|
202
204
|
|
|
203
205
|
Create a new Destination.
|
|
@@ -238,6 +240,7 @@ class Destinations(BaseSDK):
|
|
|
238
240
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
239
241
|
request, False, False, "json", models.Output
|
|
240
242
|
),
|
|
243
|
+
allow_empty_value=None,
|
|
241
244
|
timeout_ms=timeout_ms,
|
|
242
245
|
)
|
|
243
246
|
|
|
@@ -266,7 +269,7 @@ class Destinations(BaseSDK):
|
|
|
266
269
|
|
|
267
270
|
response_data: Any = None
|
|
268
271
|
if utils.match_response(http_res, "200", "application/json"):
|
|
269
|
-
return unmarshal_json_response(models.
|
|
272
|
+
return unmarshal_json_response(models.CreateOutputResponse, http_res)
|
|
270
273
|
if utils.match_response(http_res, "500", "application/json"):
|
|
271
274
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
272
275
|
raise errors.Error(response_data, http_res)
|
|
@@ -287,7 +290,7 @@ class Destinations(BaseSDK):
|
|
|
287
290
|
server_url: Optional[str] = None,
|
|
288
291
|
timeout_ms: Optional[int] = None,
|
|
289
292
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
290
|
-
) -> models.
|
|
293
|
+
) -> models.CreateOutputResponse:
|
|
291
294
|
r"""Create a Destination
|
|
292
295
|
|
|
293
296
|
Create a new Destination.
|
|
@@ -328,6 +331,7 @@ class Destinations(BaseSDK):
|
|
|
328
331
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
329
332
|
request, False, False, "json", models.Output
|
|
330
333
|
),
|
|
334
|
+
allow_empty_value=None,
|
|
331
335
|
timeout_ms=timeout_ms,
|
|
332
336
|
)
|
|
333
337
|
|
|
@@ -356,7 +360,7 @@ class Destinations(BaseSDK):
|
|
|
356
360
|
|
|
357
361
|
response_data: Any = None
|
|
358
362
|
if utils.match_response(http_res, "200", "application/json"):
|
|
359
|
-
return unmarshal_json_response(models.
|
|
363
|
+
return unmarshal_json_response(models.CreateOutputResponse, http_res)
|
|
360
364
|
if utils.match_response(http_res, "500", "application/json"):
|
|
361
365
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
362
366
|
raise errors.Error(response_data, http_res)
|
|
@@ -377,7 +381,7 @@ class Destinations(BaseSDK):
|
|
|
377
381
|
server_url: Optional[str] = None,
|
|
378
382
|
timeout_ms: Optional[int] = None,
|
|
379
383
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
380
|
-
) -> models.
|
|
384
|
+
) -> models.GetOutputByIDResponse:
|
|
381
385
|
r"""Get a Destination
|
|
382
386
|
|
|
383
387
|
Get the specified Destination.
|
|
@@ -415,6 +419,7 @@ class Destinations(BaseSDK):
|
|
|
415
419
|
accept_header_value="application/json",
|
|
416
420
|
http_headers=http_headers,
|
|
417
421
|
security=self.sdk_configuration.security,
|
|
422
|
+
allow_empty_value=None,
|
|
418
423
|
timeout_ms=timeout_ms,
|
|
419
424
|
)
|
|
420
425
|
|
|
@@ -443,7 +448,7 @@ class Destinations(BaseSDK):
|
|
|
443
448
|
|
|
444
449
|
response_data: Any = None
|
|
445
450
|
if utils.match_response(http_res, "200", "application/json"):
|
|
446
|
-
return unmarshal_json_response(models.
|
|
451
|
+
return unmarshal_json_response(models.GetOutputByIDResponse, http_res)
|
|
447
452
|
if utils.match_response(http_res, "500", "application/json"):
|
|
448
453
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
449
454
|
raise errors.Error(response_data, http_res)
|
|
@@ -464,7 +469,7 @@ class Destinations(BaseSDK):
|
|
|
464
469
|
server_url: Optional[str] = None,
|
|
465
470
|
timeout_ms: Optional[int] = None,
|
|
466
471
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
467
|
-
) -> models.
|
|
472
|
+
) -> models.GetOutputByIDResponse:
|
|
468
473
|
r"""Get a Destination
|
|
469
474
|
|
|
470
475
|
Get the specified Destination.
|
|
@@ -502,6 +507,7 @@ class Destinations(BaseSDK):
|
|
|
502
507
|
accept_header_value="application/json",
|
|
503
508
|
http_headers=http_headers,
|
|
504
509
|
security=self.sdk_configuration.security,
|
|
510
|
+
allow_empty_value=None,
|
|
505
511
|
timeout_ms=timeout_ms,
|
|
506
512
|
)
|
|
507
513
|
|
|
@@ -530,7 +536,7 @@ class Destinations(BaseSDK):
|
|
|
530
536
|
|
|
531
537
|
response_data: Any = None
|
|
532
538
|
if utils.match_response(http_res, "200", "application/json"):
|
|
533
|
-
return unmarshal_json_response(models.
|
|
539
|
+
return unmarshal_json_response(models.GetOutputByIDResponse, http_res)
|
|
534
540
|
if utils.match_response(http_res, "500", "application/json"):
|
|
535
541
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
536
542
|
raise errors.Error(response_data, http_res)
|
|
@@ -552,7 +558,7 @@ class Destinations(BaseSDK):
|
|
|
552
558
|
server_url: Optional[str] = None,
|
|
553
559
|
timeout_ms: Optional[int] = None,
|
|
554
560
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
555
|
-
) -> models.
|
|
561
|
+
) -> models.UpdateOutputByIDResponse:
|
|
556
562
|
r"""Update a Destination
|
|
557
563
|
|
|
558
564
|
Update the specified Destination.</br></br>Provide a complete representation of the Destination that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Destination.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Destination might not function as expected.
|
|
@@ -595,6 +601,7 @@ class Destinations(BaseSDK):
|
|
|
595
601
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
596
602
|
request.output, False, False, "json", models.Output
|
|
597
603
|
),
|
|
604
|
+
allow_empty_value=None,
|
|
598
605
|
timeout_ms=timeout_ms,
|
|
599
606
|
)
|
|
600
607
|
|
|
@@ -623,7 +630,7 @@ class Destinations(BaseSDK):
|
|
|
623
630
|
|
|
624
631
|
response_data: Any = None
|
|
625
632
|
if utils.match_response(http_res, "200", "application/json"):
|
|
626
|
-
return unmarshal_json_response(models.
|
|
633
|
+
return unmarshal_json_response(models.UpdateOutputByIDResponse, http_res)
|
|
627
634
|
if utils.match_response(http_res, "500", "application/json"):
|
|
628
635
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
629
636
|
raise errors.Error(response_data, http_res)
|
|
@@ -645,7 +652,7 @@ class Destinations(BaseSDK):
|
|
|
645
652
|
server_url: Optional[str] = None,
|
|
646
653
|
timeout_ms: Optional[int] = None,
|
|
647
654
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
648
|
-
) -> models.
|
|
655
|
+
) -> models.UpdateOutputByIDResponse:
|
|
649
656
|
r"""Update a Destination
|
|
650
657
|
|
|
651
658
|
Update the specified Destination.</br></br>Provide a complete representation of the Destination that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Destination.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Destination might not function as expected.
|
|
@@ -688,6 +695,7 @@ class Destinations(BaseSDK):
|
|
|
688
695
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
689
696
|
request.output, False, False, "json", models.Output
|
|
690
697
|
),
|
|
698
|
+
allow_empty_value=None,
|
|
691
699
|
timeout_ms=timeout_ms,
|
|
692
700
|
)
|
|
693
701
|
|
|
@@ -716,7 +724,7 @@ class Destinations(BaseSDK):
|
|
|
716
724
|
|
|
717
725
|
response_data: Any = None
|
|
718
726
|
if utils.match_response(http_res, "200", "application/json"):
|
|
719
|
-
return unmarshal_json_response(models.
|
|
727
|
+
return unmarshal_json_response(models.UpdateOutputByIDResponse, http_res)
|
|
720
728
|
if utils.match_response(http_res, "500", "application/json"):
|
|
721
729
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
722
730
|
raise errors.Error(response_data, http_res)
|
|
@@ -737,7 +745,7 @@ class Destinations(BaseSDK):
|
|
|
737
745
|
server_url: Optional[str] = None,
|
|
738
746
|
timeout_ms: Optional[int] = None,
|
|
739
747
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
740
|
-
) -> models.
|
|
748
|
+
) -> models.DeleteOutputByIDResponse:
|
|
741
749
|
r"""Delete a Destination
|
|
742
750
|
|
|
743
751
|
Delete the specified Destination.
|
|
@@ -775,6 +783,7 @@ class Destinations(BaseSDK):
|
|
|
775
783
|
accept_header_value="application/json",
|
|
776
784
|
http_headers=http_headers,
|
|
777
785
|
security=self.sdk_configuration.security,
|
|
786
|
+
allow_empty_value=None,
|
|
778
787
|
timeout_ms=timeout_ms,
|
|
779
788
|
)
|
|
780
789
|
|
|
@@ -803,7 +812,7 @@ class Destinations(BaseSDK):
|
|
|
803
812
|
|
|
804
813
|
response_data: Any = None
|
|
805
814
|
if utils.match_response(http_res, "200", "application/json"):
|
|
806
|
-
return unmarshal_json_response(models.
|
|
815
|
+
return unmarshal_json_response(models.DeleteOutputByIDResponse, http_res)
|
|
807
816
|
if utils.match_response(http_res, "500", "application/json"):
|
|
808
817
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
809
818
|
raise errors.Error(response_data, http_res)
|
|
@@ -824,7 +833,7 @@ class Destinations(BaseSDK):
|
|
|
824
833
|
server_url: Optional[str] = None,
|
|
825
834
|
timeout_ms: Optional[int] = None,
|
|
826
835
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
827
|
-
) -> models.
|
|
836
|
+
) -> models.DeleteOutputByIDResponse:
|
|
828
837
|
r"""Delete a Destination
|
|
829
838
|
|
|
830
839
|
Delete the specified Destination.
|
|
@@ -862,6 +871,7 @@ class Destinations(BaseSDK):
|
|
|
862
871
|
accept_header_value="application/json",
|
|
863
872
|
http_headers=http_headers,
|
|
864
873
|
security=self.sdk_configuration.security,
|
|
874
|
+
allow_empty_value=None,
|
|
865
875
|
timeout_ms=timeout_ms,
|
|
866
876
|
)
|
|
867
877
|
|
|
@@ -890,7 +900,7 @@ class Destinations(BaseSDK):
|
|
|
890
900
|
|
|
891
901
|
response_data: Any = None
|
|
892
902
|
if utils.match_response(http_res, "200", "application/json"):
|
|
893
|
-
return unmarshal_json_response(models.
|
|
903
|
+
return unmarshal_json_response(models.DeleteOutputByIDResponse, http_res)
|
|
894
904
|
if utils.match_response(http_res, "500", "application/json"):
|
|
895
905
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
896
906
|
raise errors.Error(response_data, http_res)
|
|
@@ -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.
|
|
@@ -56,6 +56,7 @@ class DestinationsPq(BaseSDK):
|
|
|
56
56
|
accept_header_value="application/json",
|
|
57
57
|
http_headers=http_headers,
|
|
58
58
|
security=self.sdk_configuration.security,
|
|
59
|
+
allow_empty_value=None,
|
|
59
60
|
timeout_ms=timeout_ms,
|
|
60
61
|
)
|
|
61
62
|
|
|
@@ -84,7 +85,7 @@ class DestinationsPq(BaseSDK):
|
|
|
84
85
|
|
|
85
86
|
response_data: Any = None
|
|
86
87
|
if utils.match_response(http_res, "201", "application/json"):
|
|
87
|
-
return unmarshal_json_response(models.
|
|
88
|
+
return unmarshal_json_response(models.DeleteOutputPqByIDResponse, http_res)
|
|
88
89
|
if utils.match_response(http_res, "500", "application/json"):
|
|
89
90
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
90
91
|
raise errors.Error(response_data, http_res)
|
|
@@ -105,7 +106,7 @@ class DestinationsPq(BaseSDK):
|
|
|
105
106
|
server_url: Optional[str] = None,
|
|
106
107
|
timeout_ms: Optional[int] = None,
|
|
107
108
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
108
|
-
) -> models.
|
|
109
|
+
) -> models.DeleteOutputPqByIDResponse:
|
|
109
110
|
r"""Clear the persistent queue for a Destination
|
|
110
111
|
|
|
111
112
|
Clear the persistent queue (PQ) for the specified Destination.
|
|
@@ -143,6 +144,7 @@ class DestinationsPq(BaseSDK):
|
|
|
143
144
|
accept_header_value="application/json",
|
|
144
145
|
http_headers=http_headers,
|
|
145
146
|
security=self.sdk_configuration.security,
|
|
147
|
+
allow_empty_value=None,
|
|
146
148
|
timeout_ms=timeout_ms,
|
|
147
149
|
)
|
|
148
150
|
|
|
@@ -171,7 +173,7 @@ class DestinationsPq(BaseSDK):
|
|
|
171
173
|
|
|
172
174
|
response_data: Any = None
|
|
173
175
|
if utils.match_response(http_res, "201", "application/json"):
|
|
174
|
-
return unmarshal_json_response(models.
|
|
176
|
+
return unmarshal_json_response(models.DeleteOutputPqByIDResponse, http_res)
|
|
175
177
|
if utils.match_response(http_res, "500", "application/json"):
|
|
176
178
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
177
179
|
raise errors.Error(response_data, http_res)
|
|
@@ -192,7 +194,7 @@ class DestinationsPq(BaseSDK):
|
|
|
192
194
|
server_url: Optional[str] = None,
|
|
193
195
|
timeout_ms: Optional[int] = None,
|
|
194
196
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
195
|
-
) -> models.
|
|
197
|
+
) -> models.GetOutputPqByIDResponse:
|
|
196
198
|
r"""Get information about the latest job to clear the persistent queue for a Destination
|
|
197
199
|
|
|
198
200
|
Get information about the latest job to clear the persistent queue (PQ) for the specified Destination.
|
|
@@ -230,6 +232,7 @@ class DestinationsPq(BaseSDK):
|
|
|
230
232
|
accept_header_value="application/json",
|
|
231
233
|
http_headers=http_headers,
|
|
232
234
|
security=self.sdk_configuration.security,
|
|
235
|
+
allow_empty_value=None,
|
|
233
236
|
timeout_ms=timeout_ms,
|
|
234
237
|
)
|
|
235
238
|
|
|
@@ -258,7 +261,7 @@ class DestinationsPq(BaseSDK):
|
|
|
258
261
|
|
|
259
262
|
response_data: Any = None
|
|
260
263
|
if utils.match_response(http_res, "200", "application/json"):
|
|
261
|
-
return unmarshal_json_response(models.
|
|
264
|
+
return unmarshal_json_response(models.GetOutputPqByIDResponse, http_res)
|
|
262
265
|
if utils.match_response(http_res, "500", "application/json"):
|
|
263
266
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
264
267
|
raise errors.Error(response_data, http_res)
|
|
@@ -279,7 +282,7 @@ class DestinationsPq(BaseSDK):
|
|
|
279
282
|
server_url: Optional[str] = None,
|
|
280
283
|
timeout_ms: Optional[int] = None,
|
|
281
284
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
282
|
-
) -> models.
|
|
285
|
+
) -> models.GetOutputPqByIDResponse:
|
|
283
286
|
r"""Get information about the latest job to clear the persistent queue for a Destination
|
|
284
287
|
|
|
285
288
|
Get information about the latest job to clear the persistent queue (PQ) for the specified Destination.
|
|
@@ -317,6 +320,7 @@ class DestinationsPq(BaseSDK):
|
|
|
317
320
|
accept_header_value="application/json",
|
|
318
321
|
http_headers=http_headers,
|
|
319
322
|
security=self.sdk_configuration.security,
|
|
323
|
+
allow_empty_value=None,
|
|
320
324
|
timeout_ms=timeout_ms,
|
|
321
325
|
)
|
|
322
326
|
|
|
@@ -345,7 +349,7 @@ class DestinationsPq(BaseSDK):
|
|
|
345
349
|
|
|
346
350
|
response_data: Any = None
|
|
347
351
|
if utils.match_response(http_res, "200", "application/json"):
|
|
348
|
-
return unmarshal_json_response(models.
|
|
352
|
+
return unmarshal_json_response(models.GetOutputPqByIDResponse, http_res)
|
|
349
353
|
if utils.match_response(http_res, "500", "application/json"):
|
|
350
354
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
351
355
|
raise errors.Error(response_data, http_res)
|