cribl-control-plane 0.3.0b5__py3-none-any.whl → 0.3.0b7__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/groups_sdk.py +2 -2
- cribl_control_plane/models/cacheconnection.py +0 -20
- cribl_control_plane/models/configgroup.py +1 -20
- cribl_control_plane/models/configgroupcloud.py +1 -11
- cribl_control_plane/models/createconfiggroupbyproductop.py +2 -13
- cribl_control_plane/models/cribllakedataset.py +1 -11
- cribl_control_plane/models/cribllakedatasetupdate.py +1 -11
- cribl_control_plane/models/datasetmetadata.py +1 -11
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +0 -20
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +0 -20
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +0 -11
- cribl_control_plane/models/getsummaryop.py +0 -11
- cribl_control_plane/models/groupcreaterequest.py +1 -20
- cribl_control_plane/models/hbcriblinfo.py +1 -11
- cribl_control_plane/models/healthserverstatus.py +1 -20
- cribl_control_plane/models/inputappscope.py +1 -56
- cribl_control_plane/models/inputazureblob.py +1 -29
- cribl_control_plane/models/inputcollection.py +1 -20
- cribl_control_plane/models/inputconfluentcloud.py +1 -78
- cribl_control_plane/models/inputcribl.py +1 -20
- cribl_control_plane/models/inputcriblhttp.py +1 -38
- cribl_control_plane/models/inputcribllakehttp.py +1 -38
- cribl_control_plane/models/inputcriblmetrics.py +1 -20
- cribl_control_plane/models/inputcribltcp.py +1 -38
- cribl_control_plane/models/inputcrowdstrike.py +1 -47
- cribl_control_plane/models/inputdatadogagent.py +1 -38
- cribl_control_plane/models/inputdatagen.py +1 -20
- cribl_control_plane/models/inputedgeprometheus.py +1 -94
- cribl_control_plane/models/inputelastic.py +1 -65
- cribl_control_plane/models/inputeventhub.py +1 -58
- cribl_control_plane/models/inputexec.py +1 -29
- cribl_control_plane/models/inputfile.py +1 -29
- cribl_control_plane/models/inputfirehose.py +1 -38
- cribl_control_plane/models/inputgooglepubsub.py +1 -29
- cribl_control_plane/models/inputgrafana.py +1 -110
- cribl_control_plane/models/inputhttp.py +1 -38
- cribl_control_plane/models/inputhttpraw.py +1 -38
- cribl_control_plane/models/inputjournalfiles.py +1 -20
- cribl_control_plane/models/inputkafka.py +1 -74
- cribl_control_plane/models/inputkinesis.py +1 -65
- cribl_control_plane/models/inputkubeevents.py +1 -20
- cribl_control_plane/models/inputkubelogs.py +1 -29
- cribl_control_plane/models/inputkubemetrics.py +1 -29
- cribl_control_plane/models/inputloki.py +1 -47
- cribl_control_plane/models/inputmetrics.py +1 -38
- cribl_control_plane/models/inputmodeldriventelemetry.py +1 -38
- cribl_control_plane/models/inputmsk.py +1 -74
- cribl_control_plane/models/inputnetflow.py +1 -20
- cribl_control_plane/models/inputoffice365mgmt.py +1 -56
- cribl_control_plane/models/inputoffice365msgtrace.py +1 -56
- cribl_control_plane/models/inputoffice365service.py +1 -56
- cribl_control_plane/models/inputopentelemetry.py +1 -65
- cribl_control_plane/models/inputprometheus.py +1 -87
- cribl_control_plane/models/inputprometheusrw.py +1 -47
- cribl_control_plane/models/inputrawudp.py +1 -20
- cribl_control_plane/models/inputs3.py +1 -38
- cribl_control_plane/models/inputs3inventory.py +1 -47
- cribl_control_plane/models/inputsecuritylake.py +1 -47
- cribl_control_plane/models/inputsnmp.py +1 -29
- cribl_control_plane/models/inputsplunk.py +1 -56
- cribl_control_plane/models/inputsplunkhec.py +1 -47
- cribl_control_plane/models/inputsplunksearch.py +1 -56
- cribl_control_plane/models/inputsqs.py +1 -47
- cribl_control_plane/models/inputsyslog.py +1 -74
- cribl_control_plane/models/inputsystemmetrics.py +1 -92
- cribl_control_plane/models/inputsystemstate.py +1 -29
- cribl_control_plane/models/inputtcp.py +1 -47
- cribl_control_plane/models/inputtcpjson.py +1 -47
- cribl_control_plane/models/inputwef.py +1 -65
- cribl_control_plane/models/inputwindowsmetrics.py +1 -83
- cribl_control_plane/models/inputwineventlogs.py +1 -38
- cribl_control_plane/models/inputwiz.py +1 -38
- cribl_control_plane/models/inputwizwebhook.py +1 -38
- cribl_control_plane/models/inputzscalerhec.py +1 -47
- cribl_control_plane/models/listconfiggroupbyproductop.py +0 -11
- cribl_control_plane/models/masterworkerentry.py +1 -11
- cribl_control_plane/models/nodeupgradestatus.py +0 -38
- cribl_control_plane/models/outputazureblob.py +1 -83
- cribl_control_plane/models/outputazuredataexplorer.py +1 -148
- cribl_control_plane/models/outputazureeventhub.py +1 -98
- cribl_control_plane/models/outputazurelogs.py +1 -56
- cribl_control_plane/models/outputchronicle.py +1 -56
- cribl_control_plane/models/outputclickhouse.py +1 -92
- cribl_control_plane/models/outputcloudwatch.py +1 -47
- cribl_control_plane/models/outputconfluentcloud.py +1 -123
- cribl_control_plane/models/outputcriblhttp.py +1 -74
- cribl_control_plane/models/outputcribllake.py +1 -76
- cribl_control_plane/models/outputcribltcp.py +1 -74
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +1 -67
- cribl_control_plane/models/outputdatabricks.py +1 -65
- cribl_control_plane/models/outputdatadog.py +1 -83
- cribl_control_plane/models/outputdataset.py +1 -74
- cribl_control_plane/models/outputdiskspool.py +1 -11
- cribl_control_plane/models/outputdls3.py +1 -110
- cribl_control_plane/models/outputdynatracehttp.py +1 -92
- cribl_control_plane/models/outputdynatraceotlp.py +1 -92
- cribl_control_plane/models/outputelastic.py +1 -74
- cribl_control_plane/models/outputelasticcloud.py +1 -56
- cribl_control_plane/models/outputexabeam.py +1 -47
- cribl_control_plane/models/outputfilesystem.py +1 -65
- cribl_control_plane/models/outputgooglechronicle.py +1 -83
- cribl_control_plane/models/outputgooglecloudlogging.py +1 -65
- cribl_control_plane/models/outputgooglecloudstorage.py +1 -101
- cribl_control_plane/models/outputgooglepubsub.py +1 -47
- cribl_control_plane/models/outputgrafanacloud.py +1 -146
- cribl_control_plane/models/outputgraphite.py +1 -47
- cribl_control_plane/models/outputhoneycomb.py +1 -56
- cribl_control_plane/models/outputhumiohec.py +1 -65
- cribl_control_plane/models/outputinfluxdb.py +1 -65
- cribl_control_plane/models/outputkafka.py +1 -119
- cribl_control_plane/models/outputkinesis.py +1 -65
- cribl_control_plane/models/outputloki.py +1 -65
- cribl_control_plane/models/outputminio.py +1 -110
- cribl_control_plane/models/outputmsk.py +1 -119
- cribl_control_plane/models/outputnewrelic.py +1 -74
- cribl_control_plane/models/outputnewrelicevents.py +1 -65
- cribl_control_plane/models/outputopentelemetry.py +1 -110
- cribl_control_plane/models/outputprometheus.py +1 -56
- cribl_control_plane/models/outputring.py +1 -29
- cribl_control_plane/models/outputs3.py +1 -110
- cribl_control_plane/models/outputsecuritylake.py +1 -85
- cribl_control_plane/models/outputsentinel.py +1 -74
- cribl_control_plane/models/outputsentineloneaisiem.py +1 -74
- cribl_control_plane/models/outputservicenow.py +1 -101
- cribl_control_plane/models/outputsignalfx.py +1 -56
- cribl_control_plane/models/outputsns.py +1 -56
- cribl_control_plane/models/outputsplunk.py +1 -92
- cribl_control_plane/models/outputsplunkhec.py +1 -74
- cribl_control_plane/models/outputsplunklb.py +1 -121
- cribl_control_plane/models/outputsqs.py +1 -65
- cribl_control_plane/models/outputstatsd.py +1 -47
- cribl_control_plane/models/outputstatsdext.py +1 -47
- cribl_control_plane/models/outputsumologic.py +1 -56
- cribl_control_plane/models/outputsyslog.py +1 -110
- cribl_control_plane/models/outputtcpjson.py +1 -83
- cribl_control_plane/models/outputwavefront.py +1 -56
- cribl_control_plane/models/outputwebhook.py +1 -92
- cribl_control_plane/models/outputxsiam.py +1 -56
- cribl_control_plane/models/resourcepolicy.py +0 -11
- cribl_control_plane/models/runnablejobcollection.py +1 -56
- cribl_control_plane/models/runnablejobexecutor.py +1 -20
- cribl_control_plane/models/runnablejobscheduledsearch.py +1 -11
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +0 -11
- {cribl_control_plane-0.3.0b5.dist-info → cribl_control_plane-0.3.0b7.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.3.0b5.dist-info → cribl_control_plane-0.3.0b7.dist-info}/RECORD +150 -150
- {cribl_control_plane-0.3.0b5.dist-info → cribl_control_plane-0.3.0b7.dist-info}/WHEEL +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -366,66 +365,3 @@ class OutputSqs(BaseModel):
|
|
|
366
365
|
pq_controls: Annotated[
|
|
367
366
|
Optional[OutputSqsPqControls], pydantic.Field(alias="pqControls")
|
|
368
367
|
] = None
|
|
369
|
-
|
|
370
|
-
@field_serializer("queue_type")
|
|
371
|
-
def serialize_queue_type(self, value):
|
|
372
|
-
if isinstance(value, str):
|
|
373
|
-
try:
|
|
374
|
-
return models.OutputSqsQueueType(value)
|
|
375
|
-
except ValueError:
|
|
376
|
-
return value
|
|
377
|
-
return value
|
|
378
|
-
|
|
379
|
-
@field_serializer("aws_authentication_method")
|
|
380
|
-
def serialize_aws_authentication_method(self, value):
|
|
381
|
-
if isinstance(value, str):
|
|
382
|
-
try:
|
|
383
|
-
return models.OutputSqsAuthenticationMethod(value)
|
|
384
|
-
except ValueError:
|
|
385
|
-
return value
|
|
386
|
-
return value
|
|
387
|
-
|
|
388
|
-
@field_serializer("signature_version")
|
|
389
|
-
def serialize_signature_version(self, value):
|
|
390
|
-
if isinstance(value, str):
|
|
391
|
-
try:
|
|
392
|
-
return models.OutputSqsSignatureVersion(value)
|
|
393
|
-
except ValueError:
|
|
394
|
-
return value
|
|
395
|
-
return value
|
|
396
|
-
|
|
397
|
-
@field_serializer("on_backpressure")
|
|
398
|
-
def serialize_on_backpressure(self, value):
|
|
399
|
-
if isinstance(value, str):
|
|
400
|
-
try:
|
|
401
|
-
return models.OutputSqsBackpressureBehavior(value)
|
|
402
|
-
except ValueError:
|
|
403
|
-
return value
|
|
404
|
-
return value
|
|
405
|
-
|
|
406
|
-
@field_serializer("pq_mode")
|
|
407
|
-
def serialize_pq_mode(self, value):
|
|
408
|
-
if isinstance(value, str):
|
|
409
|
-
try:
|
|
410
|
-
return models.OutputSqsMode(value)
|
|
411
|
-
except ValueError:
|
|
412
|
-
return value
|
|
413
|
-
return value
|
|
414
|
-
|
|
415
|
-
@field_serializer("pq_compress")
|
|
416
|
-
def serialize_pq_compress(self, value):
|
|
417
|
-
if isinstance(value, str):
|
|
418
|
-
try:
|
|
419
|
-
return models.OutputSqsCompression(value)
|
|
420
|
-
except ValueError:
|
|
421
|
-
return value
|
|
422
|
-
return value
|
|
423
|
-
|
|
424
|
-
@field_serializer("pq_on_backpressure")
|
|
425
|
-
def serialize_pq_on_backpressure(self, value):
|
|
426
|
-
if isinstance(value, str):
|
|
427
|
-
try:
|
|
428
|
-
return models.OutputSqsQueueFullBehavior(value)
|
|
429
|
-
except ValueError:
|
|
430
|
-
return value
|
|
431
|
-
return value
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -261,48 +260,3 @@ class OutputStatsd(BaseModel):
|
|
|
261
260
|
pq_controls: Annotated[
|
|
262
261
|
Optional[OutputStatsdPqControls], pydantic.Field(alias="pqControls")
|
|
263
262
|
] = None
|
|
264
|
-
|
|
265
|
-
@field_serializer("protocol")
|
|
266
|
-
def serialize_protocol(self, value):
|
|
267
|
-
if isinstance(value, str):
|
|
268
|
-
try:
|
|
269
|
-
return models.OutputStatsdDestinationProtocol(value)
|
|
270
|
-
except ValueError:
|
|
271
|
-
return value
|
|
272
|
-
return value
|
|
273
|
-
|
|
274
|
-
@field_serializer("on_backpressure")
|
|
275
|
-
def serialize_on_backpressure(self, value):
|
|
276
|
-
if isinstance(value, str):
|
|
277
|
-
try:
|
|
278
|
-
return models.OutputStatsdBackpressureBehavior(value)
|
|
279
|
-
except ValueError:
|
|
280
|
-
return value
|
|
281
|
-
return value
|
|
282
|
-
|
|
283
|
-
@field_serializer("pq_mode")
|
|
284
|
-
def serialize_pq_mode(self, value):
|
|
285
|
-
if isinstance(value, str):
|
|
286
|
-
try:
|
|
287
|
-
return models.OutputStatsdMode(value)
|
|
288
|
-
except ValueError:
|
|
289
|
-
return value
|
|
290
|
-
return value
|
|
291
|
-
|
|
292
|
-
@field_serializer("pq_compress")
|
|
293
|
-
def serialize_pq_compress(self, value):
|
|
294
|
-
if isinstance(value, str):
|
|
295
|
-
try:
|
|
296
|
-
return models.OutputStatsdCompression(value)
|
|
297
|
-
except ValueError:
|
|
298
|
-
return value
|
|
299
|
-
return value
|
|
300
|
-
|
|
301
|
-
@field_serializer("pq_on_backpressure")
|
|
302
|
-
def serialize_pq_on_backpressure(self, value):
|
|
303
|
-
if isinstance(value, str):
|
|
304
|
-
try:
|
|
305
|
-
return models.OutputStatsdQueueFullBehavior(value)
|
|
306
|
-
except ValueError:
|
|
307
|
-
return value
|
|
308
|
-
return value
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -262,48 +261,3 @@ class OutputStatsdExt(BaseModel):
|
|
|
262
261
|
pq_controls: Annotated[
|
|
263
262
|
Optional[OutputStatsdExtPqControls], pydantic.Field(alias="pqControls")
|
|
264
263
|
] = None
|
|
265
|
-
|
|
266
|
-
@field_serializer("protocol")
|
|
267
|
-
def serialize_protocol(self, value):
|
|
268
|
-
if isinstance(value, str):
|
|
269
|
-
try:
|
|
270
|
-
return models.OutputStatsdExtDestinationProtocol(value)
|
|
271
|
-
except ValueError:
|
|
272
|
-
return value
|
|
273
|
-
return value
|
|
274
|
-
|
|
275
|
-
@field_serializer("on_backpressure")
|
|
276
|
-
def serialize_on_backpressure(self, value):
|
|
277
|
-
if isinstance(value, str):
|
|
278
|
-
try:
|
|
279
|
-
return models.OutputStatsdExtBackpressureBehavior(value)
|
|
280
|
-
except ValueError:
|
|
281
|
-
return value
|
|
282
|
-
return value
|
|
283
|
-
|
|
284
|
-
@field_serializer("pq_mode")
|
|
285
|
-
def serialize_pq_mode(self, value):
|
|
286
|
-
if isinstance(value, str):
|
|
287
|
-
try:
|
|
288
|
-
return models.OutputStatsdExtMode(value)
|
|
289
|
-
except ValueError:
|
|
290
|
-
return value
|
|
291
|
-
return value
|
|
292
|
-
|
|
293
|
-
@field_serializer("pq_compress")
|
|
294
|
-
def serialize_pq_compress(self, value):
|
|
295
|
-
if isinstance(value, str):
|
|
296
|
-
try:
|
|
297
|
-
return models.OutputStatsdExtCompression(value)
|
|
298
|
-
except ValueError:
|
|
299
|
-
return value
|
|
300
|
-
return value
|
|
301
|
-
|
|
302
|
-
@field_serializer("pq_on_backpressure")
|
|
303
|
-
def serialize_pq_on_backpressure(self, value):
|
|
304
|
-
if isinstance(value, str):
|
|
305
|
-
try:
|
|
306
|
-
return models.OutputStatsdExtQueueFullBehavior(value)
|
|
307
|
-
except ValueError:
|
|
308
|
-
return value
|
|
309
|
-
return value
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -420,57 +419,3 @@ class OutputSumoLogic(BaseModel):
|
|
|
420
419
|
pq_controls: Annotated[
|
|
421
420
|
Optional[OutputSumoLogicPqControls], pydantic.Field(alias="pqControls")
|
|
422
421
|
] = None
|
|
423
|
-
|
|
424
|
-
@field_serializer("format_")
|
|
425
|
-
def serialize_format_(self, value):
|
|
426
|
-
if isinstance(value, str):
|
|
427
|
-
try:
|
|
428
|
-
return models.OutputSumoLogicDataFormat(value)
|
|
429
|
-
except ValueError:
|
|
430
|
-
return value
|
|
431
|
-
return value
|
|
432
|
-
|
|
433
|
-
@field_serializer("failed_request_logging_mode")
|
|
434
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
435
|
-
if isinstance(value, str):
|
|
436
|
-
try:
|
|
437
|
-
return models.OutputSumoLogicFailedRequestLoggingMode(value)
|
|
438
|
-
except ValueError:
|
|
439
|
-
return value
|
|
440
|
-
return value
|
|
441
|
-
|
|
442
|
-
@field_serializer("on_backpressure")
|
|
443
|
-
def serialize_on_backpressure(self, value):
|
|
444
|
-
if isinstance(value, str):
|
|
445
|
-
try:
|
|
446
|
-
return models.OutputSumoLogicBackpressureBehavior(value)
|
|
447
|
-
except ValueError:
|
|
448
|
-
return value
|
|
449
|
-
return value
|
|
450
|
-
|
|
451
|
-
@field_serializer("pq_mode")
|
|
452
|
-
def serialize_pq_mode(self, value):
|
|
453
|
-
if isinstance(value, str):
|
|
454
|
-
try:
|
|
455
|
-
return models.OutputSumoLogicMode(value)
|
|
456
|
-
except ValueError:
|
|
457
|
-
return value
|
|
458
|
-
return value
|
|
459
|
-
|
|
460
|
-
@field_serializer("pq_compress")
|
|
461
|
-
def serialize_pq_compress(self, value):
|
|
462
|
-
if isinstance(value, str):
|
|
463
|
-
try:
|
|
464
|
-
return models.OutputSumoLogicCompression(value)
|
|
465
|
-
except ValueError:
|
|
466
|
-
return value
|
|
467
|
-
return value
|
|
468
|
-
|
|
469
|
-
@field_serializer("pq_on_backpressure")
|
|
470
|
-
def serialize_pq_on_backpressure(self, value):
|
|
471
|
-
if isinstance(value, str):
|
|
472
|
-
try:
|
|
473
|
-
return models.OutputSumoLogicQueueFullBehavior(value)
|
|
474
|
-
except ValueError:
|
|
475
|
-
return value
|
|
476
|
-
return value
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -129,15 +128,6 @@ class OutputSyslogHost(BaseModel):
|
|
|
129
128
|
weight: Optional[float] = 1
|
|
130
129
|
r"""Assign a weight (>0) to each endpoint to indicate its traffic-handling capability"""
|
|
131
130
|
|
|
132
|
-
@field_serializer("tls")
|
|
133
|
-
def serialize_tls(self, value):
|
|
134
|
-
if isinstance(value, str):
|
|
135
|
-
try:
|
|
136
|
-
return models.OutputSyslogTLS(value)
|
|
137
|
-
except ValueError:
|
|
138
|
-
return value
|
|
139
|
-
return value
|
|
140
|
-
|
|
141
131
|
|
|
142
132
|
class OutputSyslogMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
143
133
|
TL_SV1 = "TLSv1"
|
|
@@ -221,24 +211,6 @@ class OutputSyslogTLSSettingsClientSide(BaseModel):
|
|
|
221
211
|
pydantic.Field(alias="maxVersion"),
|
|
222
212
|
] = None
|
|
223
213
|
|
|
224
|
-
@field_serializer("min_version")
|
|
225
|
-
def serialize_min_version(self, value):
|
|
226
|
-
if isinstance(value, str):
|
|
227
|
-
try:
|
|
228
|
-
return models.OutputSyslogMinimumTLSVersion(value)
|
|
229
|
-
except ValueError:
|
|
230
|
-
return value
|
|
231
|
-
return value
|
|
232
|
-
|
|
233
|
-
@field_serializer("max_version")
|
|
234
|
-
def serialize_max_version(self, value):
|
|
235
|
-
if isinstance(value, str):
|
|
236
|
-
try:
|
|
237
|
-
return models.OutputSyslogMaximumTLSVersion(value)
|
|
238
|
-
except ValueError:
|
|
239
|
-
return value
|
|
240
|
-
return value
|
|
241
|
-
|
|
242
214
|
|
|
243
215
|
class OutputSyslogBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
244
216
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
@@ -563,84 +535,3 @@ class OutputSyslog(BaseModel):
|
|
|
563
535
|
pq_controls: Annotated[
|
|
564
536
|
Optional[OutputSyslogPqControls], pydantic.Field(alias="pqControls")
|
|
565
537
|
] = None
|
|
566
|
-
|
|
567
|
-
@field_serializer("protocol")
|
|
568
|
-
def serialize_protocol(self, value):
|
|
569
|
-
if isinstance(value, str):
|
|
570
|
-
try:
|
|
571
|
-
return models.OutputSyslogProtocol(value)
|
|
572
|
-
except ValueError:
|
|
573
|
-
return value
|
|
574
|
-
return value
|
|
575
|
-
|
|
576
|
-
@field_serializer("facility")
|
|
577
|
-
def serialize_facility(self, value):
|
|
578
|
-
if isinstance(value, str):
|
|
579
|
-
try:
|
|
580
|
-
return models.Facility(value)
|
|
581
|
-
except ValueError:
|
|
582
|
-
return value
|
|
583
|
-
return value
|
|
584
|
-
|
|
585
|
-
@field_serializer("severity")
|
|
586
|
-
def serialize_severity(self, value):
|
|
587
|
-
if isinstance(value, str):
|
|
588
|
-
try:
|
|
589
|
-
return models.OutputSyslogSeverity(value)
|
|
590
|
-
except ValueError:
|
|
591
|
-
return value
|
|
592
|
-
return value
|
|
593
|
-
|
|
594
|
-
@field_serializer("message_format")
|
|
595
|
-
def serialize_message_format(self, value):
|
|
596
|
-
if isinstance(value, str):
|
|
597
|
-
try:
|
|
598
|
-
return models.OutputSyslogMessageFormat(value)
|
|
599
|
-
except ValueError:
|
|
600
|
-
return value
|
|
601
|
-
return value
|
|
602
|
-
|
|
603
|
-
@field_serializer("timestamp_format")
|
|
604
|
-
def serialize_timestamp_format(self, value):
|
|
605
|
-
if isinstance(value, str):
|
|
606
|
-
try:
|
|
607
|
-
return models.TimestampFormat(value)
|
|
608
|
-
except ValueError:
|
|
609
|
-
return value
|
|
610
|
-
return value
|
|
611
|
-
|
|
612
|
-
@field_serializer("on_backpressure")
|
|
613
|
-
def serialize_on_backpressure(self, value):
|
|
614
|
-
if isinstance(value, str):
|
|
615
|
-
try:
|
|
616
|
-
return models.OutputSyslogBackpressureBehavior(value)
|
|
617
|
-
except ValueError:
|
|
618
|
-
return value
|
|
619
|
-
return value
|
|
620
|
-
|
|
621
|
-
@field_serializer("pq_mode")
|
|
622
|
-
def serialize_pq_mode(self, value):
|
|
623
|
-
if isinstance(value, str):
|
|
624
|
-
try:
|
|
625
|
-
return models.OutputSyslogMode(value)
|
|
626
|
-
except ValueError:
|
|
627
|
-
return value
|
|
628
|
-
return value
|
|
629
|
-
|
|
630
|
-
@field_serializer("pq_compress")
|
|
631
|
-
def serialize_pq_compress(self, value):
|
|
632
|
-
if isinstance(value, str):
|
|
633
|
-
try:
|
|
634
|
-
return models.OutputSyslogCompression(value)
|
|
635
|
-
except ValueError:
|
|
636
|
-
return value
|
|
637
|
-
return value
|
|
638
|
-
|
|
639
|
-
@field_serializer("pq_on_backpressure")
|
|
640
|
-
def serialize_pq_on_backpressure(self, value):
|
|
641
|
-
if isinstance(value, str):
|
|
642
|
-
try:
|
|
643
|
-
return models.OutputSyslogQueueFullBehavior(value)
|
|
644
|
-
except ValueError:
|
|
645
|
-
return value
|
|
646
|
-
return value
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class OutputTcpjsonTLSSettingsClientSide(BaseModel):
|
|
|
107
106
|
pydantic.Field(alias="maxVersion"),
|
|
108
107
|
] = None
|
|
109
108
|
|
|
110
|
-
@field_serializer("min_version")
|
|
111
|
-
def serialize_min_version(self, value):
|
|
112
|
-
if isinstance(value, str):
|
|
113
|
-
try:
|
|
114
|
-
return models.OutputTcpjsonMinimumTLSVersion(value)
|
|
115
|
-
except ValueError:
|
|
116
|
-
return value
|
|
117
|
-
return value
|
|
118
|
-
|
|
119
|
-
@field_serializer("max_version")
|
|
120
|
-
def serialize_max_version(self, value):
|
|
121
|
-
if isinstance(value, str):
|
|
122
|
-
try:
|
|
123
|
-
return models.OutputTcpjsonMaximumTLSVersion(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class OutputTcpjsonBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
@@ -182,15 +163,6 @@ class OutputTcpjsonHost(BaseModel):
|
|
|
182
163
|
weight: Optional[float] = 1
|
|
183
164
|
r"""Assign a weight (>0) to each endpoint to indicate its traffic-handling capability"""
|
|
184
165
|
|
|
185
|
-
@field_serializer("tls")
|
|
186
|
-
def serialize_tls(self, value):
|
|
187
|
-
if isinstance(value, str):
|
|
188
|
-
try:
|
|
189
|
-
return models.OutputTcpjsonTLS(value)
|
|
190
|
-
except ValueError:
|
|
191
|
-
return value
|
|
192
|
-
return value
|
|
193
|
-
|
|
194
166
|
|
|
195
167
|
class OutputTcpjsonMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
196
168
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
@@ -479,57 +451,3 @@ class OutputTcpjson(BaseModel):
|
|
|
479
451
|
|
|
480
452
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
481
453
|
r"""Select or create a stored text secret"""
|
|
482
|
-
|
|
483
|
-
@field_serializer("compression")
|
|
484
|
-
def serialize_compression(self, value):
|
|
485
|
-
if isinstance(value, str):
|
|
486
|
-
try:
|
|
487
|
-
return models.OutputTcpjsonCompression(value)
|
|
488
|
-
except ValueError:
|
|
489
|
-
return value
|
|
490
|
-
return value
|
|
491
|
-
|
|
492
|
-
@field_serializer("on_backpressure")
|
|
493
|
-
def serialize_on_backpressure(self, value):
|
|
494
|
-
if isinstance(value, str):
|
|
495
|
-
try:
|
|
496
|
-
return models.OutputTcpjsonBackpressureBehavior(value)
|
|
497
|
-
except ValueError:
|
|
498
|
-
return value
|
|
499
|
-
return value
|
|
500
|
-
|
|
501
|
-
@field_serializer("auth_type")
|
|
502
|
-
def serialize_auth_type(self, value):
|
|
503
|
-
if isinstance(value, str):
|
|
504
|
-
try:
|
|
505
|
-
return models.OutputTcpjsonAuthenticationMethod(value)
|
|
506
|
-
except ValueError:
|
|
507
|
-
return value
|
|
508
|
-
return value
|
|
509
|
-
|
|
510
|
-
@field_serializer("pq_mode")
|
|
511
|
-
def serialize_pq_mode(self, value):
|
|
512
|
-
if isinstance(value, str):
|
|
513
|
-
try:
|
|
514
|
-
return models.OutputTcpjsonMode(value)
|
|
515
|
-
except ValueError:
|
|
516
|
-
return value
|
|
517
|
-
return value
|
|
518
|
-
|
|
519
|
-
@field_serializer("pq_compress")
|
|
520
|
-
def serialize_pq_compress(self, value):
|
|
521
|
-
if isinstance(value, str):
|
|
522
|
-
try:
|
|
523
|
-
return models.OutputTcpjsonPqCompressCompression(value)
|
|
524
|
-
except ValueError:
|
|
525
|
-
return value
|
|
526
|
-
return value
|
|
527
|
-
|
|
528
|
-
@field_serializer("pq_on_backpressure")
|
|
529
|
-
def serialize_pq_on_backpressure(self, value):
|
|
530
|
-
if isinstance(value, str):
|
|
531
|
-
try:
|
|
532
|
-
return models.OutputTcpjsonQueueFullBehavior(value)
|
|
533
|
-
except ValueError:
|
|
534
|
-
return value
|
|
535
|
-
return value
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -409,57 +408,3 @@ class OutputWavefront(BaseModel):
|
|
|
409
408
|
pq_controls: Annotated[
|
|
410
409
|
Optional[OutputWavefrontPqControls], pydantic.Field(alias="pqControls")
|
|
411
410
|
] = None
|
|
412
|
-
|
|
413
|
-
@field_serializer("auth_type")
|
|
414
|
-
def serialize_auth_type(self, value):
|
|
415
|
-
if isinstance(value, str):
|
|
416
|
-
try:
|
|
417
|
-
return models.OutputWavefrontAuthenticationMethod(value)
|
|
418
|
-
except ValueError:
|
|
419
|
-
return value
|
|
420
|
-
return value
|
|
421
|
-
|
|
422
|
-
@field_serializer("failed_request_logging_mode")
|
|
423
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
424
|
-
if isinstance(value, str):
|
|
425
|
-
try:
|
|
426
|
-
return models.OutputWavefrontFailedRequestLoggingMode(value)
|
|
427
|
-
except ValueError:
|
|
428
|
-
return value
|
|
429
|
-
return value
|
|
430
|
-
|
|
431
|
-
@field_serializer("on_backpressure")
|
|
432
|
-
def serialize_on_backpressure(self, value):
|
|
433
|
-
if isinstance(value, str):
|
|
434
|
-
try:
|
|
435
|
-
return models.OutputWavefrontBackpressureBehavior(value)
|
|
436
|
-
except ValueError:
|
|
437
|
-
return value
|
|
438
|
-
return value
|
|
439
|
-
|
|
440
|
-
@field_serializer("pq_mode")
|
|
441
|
-
def serialize_pq_mode(self, value):
|
|
442
|
-
if isinstance(value, str):
|
|
443
|
-
try:
|
|
444
|
-
return models.OutputWavefrontMode(value)
|
|
445
|
-
except ValueError:
|
|
446
|
-
return value
|
|
447
|
-
return value
|
|
448
|
-
|
|
449
|
-
@field_serializer("pq_compress")
|
|
450
|
-
def serialize_pq_compress(self, value):
|
|
451
|
-
if isinstance(value, str):
|
|
452
|
-
try:
|
|
453
|
-
return models.OutputWavefrontCompression(value)
|
|
454
|
-
except ValueError:
|
|
455
|
-
return value
|
|
456
|
-
return value
|
|
457
|
-
|
|
458
|
-
@field_serializer("pq_on_backpressure")
|
|
459
|
-
def serialize_pq_on_backpressure(self, value):
|
|
460
|
-
if isinstance(value, str):
|
|
461
|
-
try:
|
|
462
|
-
return models.OutputWavefrontQueueFullBehavior(value)
|
|
463
|
-
except ValueError:
|
|
464
|
-
return value
|
|
465
|
-
return value
|