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
|
|
@@ -359,66 +358,3 @@ class OutputKinesis(BaseModel):
|
|
|
359
358
|
pq_controls: Annotated[
|
|
360
359
|
Optional[OutputKinesisPqControls], pydantic.Field(alias="pqControls")
|
|
361
360
|
] = None
|
|
362
|
-
|
|
363
|
-
@field_serializer("aws_authentication_method")
|
|
364
|
-
def serialize_aws_authentication_method(self, value):
|
|
365
|
-
if isinstance(value, str):
|
|
366
|
-
try:
|
|
367
|
-
return models.OutputKinesisAuthenticationMethod(value)
|
|
368
|
-
except ValueError:
|
|
369
|
-
return value
|
|
370
|
-
return value
|
|
371
|
-
|
|
372
|
-
@field_serializer("signature_version")
|
|
373
|
-
def serialize_signature_version(self, value):
|
|
374
|
-
if isinstance(value, str):
|
|
375
|
-
try:
|
|
376
|
-
return models.OutputKinesisSignatureVersion(value)
|
|
377
|
-
except ValueError:
|
|
378
|
-
return value
|
|
379
|
-
return value
|
|
380
|
-
|
|
381
|
-
@field_serializer("compression")
|
|
382
|
-
def serialize_compression(self, value):
|
|
383
|
-
if isinstance(value, str):
|
|
384
|
-
try:
|
|
385
|
-
return models.OutputKinesisCompression(value)
|
|
386
|
-
except ValueError:
|
|
387
|
-
return value
|
|
388
|
-
return value
|
|
389
|
-
|
|
390
|
-
@field_serializer("on_backpressure")
|
|
391
|
-
def serialize_on_backpressure(self, value):
|
|
392
|
-
if isinstance(value, str):
|
|
393
|
-
try:
|
|
394
|
-
return models.OutputKinesisBackpressureBehavior(value)
|
|
395
|
-
except ValueError:
|
|
396
|
-
return value
|
|
397
|
-
return value
|
|
398
|
-
|
|
399
|
-
@field_serializer("pq_mode")
|
|
400
|
-
def serialize_pq_mode(self, value):
|
|
401
|
-
if isinstance(value, str):
|
|
402
|
-
try:
|
|
403
|
-
return models.OutputKinesisMode(value)
|
|
404
|
-
except ValueError:
|
|
405
|
-
return value
|
|
406
|
-
return value
|
|
407
|
-
|
|
408
|
-
@field_serializer("pq_compress")
|
|
409
|
-
def serialize_pq_compress(self, value):
|
|
410
|
-
if isinstance(value, str):
|
|
411
|
-
try:
|
|
412
|
-
return models.OutputKinesisPqCompressCompression(value)
|
|
413
|
-
except ValueError:
|
|
414
|
-
return value
|
|
415
|
-
return value
|
|
416
|
-
|
|
417
|
-
@field_serializer("pq_on_backpressure")
|
|
418
|
-
def serialize_pq_on_backpressure(self, value):
|
|
419
|
-
if isinstance(value, str):
|
|
420
|
-
try:
|
|
421
|
-
return models.OutputKinesisQueueFullBehavior(value)
|
|
422
|
-
except ValueError:
|
|
423
|
-
return value
|
|
424
|
-
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
|
|
@@ -479,66 +478,3 @@ class OutputLoki(BaseModel):
|
|
|
479
478
|
pq_controls: Annotated[
|
|
480
479
|
Optional[OutputLokiPqControls], pydantic.Field(alias="pqControls")
|
|
481
480
|
] = None
|
|
482
|
-
|
|
483
|
-
@field_serializer("message_format")
|
|
484
|
-
def serialize_message_format(self, value):
|
|
485
|
-
if isinstance(value, str):
|
|
486
|
-
try:
|
|
487
|
-
return models.OutputLokiMessageFormat(value)
|
|
488
|
-
except ValueError:
|
|
489
|
-
return value
|
|
490
|
-
return value
|
|
491
|
-
|
|
492
|
-
@field_serializer("auth_type")
|
|
493
|
-
def serialize_auth_type(self, value):
|
|
494
|
-
if isinstance(value, str):
|
|
495
|
-
try:
|
|
496
|
-
return models.OutputLokiAuthenticationType(value)
|
|
497
|
-
except ValueError:
|
|
498
|
-
return value
|
|
499
|
-
return value
|
|
500
|
-
|
|
501
|
-
@field_serializer("failed_request_logging_mode")
|
|
502
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
503
|
-
if isinstance(value, str):
|
|
504
|
-
try:
|
|
505
|
-
return models.OutputLokiFailedRequestLoggingMode(value)
|
|
506
|
-
except ValueError:
|
|
507
|
-
return value
|
|
508
|
-
return value
|
|
509
|
-
|
|
510
|
-
@field_serializer("on_backpressure")
|
|
511
|
-
def serialize_on_backpressure(self, value):
|
|
512
|
-
if isinstance(value, str):
|
|
513
|
-
try:
|
|
514
|
-
return models.OutputLokiBackpressureBehavior(value)
|
|
515
|
-
except ValueError:
|
|
516
|
-
return value
|
|
517
|
-
return value
|
|
518
|
-
|
|
519
|
-
@field_serializer("pq_mode")
|
|
520
|
-
def serialize_pq_mode(self, value):
|
|
521
|
-
if isinstance(value, str):
|
|
522
|
-
try:
|
|
523
|
-
return models.OutputLokiMode(value)
|
|
524
|
-
except ValueError:
|
|
525
|
-
return value
|
|
526
|
-
return value
|
|
527
|
-
|
|
528
|
-
@field_serializer("pq_compress")
|
|
529
|
-
def serialize_pq_compress(self, value):
|
|
530
|
-
if isinstance(value, str):
|
|
531
|
-
try:
|
|
532
|
-
return models.OutputLokiCompression(value)
|
|
533
|
-
except ValueError:
|
|
534
|
-
return value
|
|
535
|
-
return value
|
|
536
|
-
|
|
537
|
-
@field_serializer("pq_on_backpressure")
|
|
538
|
-
def serialize_pq_on_backpressure(self, value):
|
|
539
|
-
if isinstance(value, str):
|
|
540
|
-
try:
|
|
541
|
-
return models.OutputLokiQueueFullBehavior(value)
|
|
542
|
-
except ValueError:
|
|
543
|
-
return value
|
|
544
|
-
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
|
|
@@ -544,111 +543,3 @@ class OutputMinio(BaseModel):
|
|
|
544
543
|
|
|
545
544
|
max_retry_num: Annotated[Optional[float], pydantic.Field(alias="maxRetryNum")] = 20
|
|
546
545
|
r"""The maximum number of times a file will attempt to move to its final destination before being dead-lettered"""
|
|
547
|
-
|
|
548
|
-
@field_serializer("aws_authentication_method")
|
|
549
|
-
def serialize_aws_authentication_method(self, value):
|
|
550
|
-
if isinstance(value, str):
|
|
551
|
-
try:
|
|
552
|
-
return models.OutputMinioAuthenticationMethod(value)
|
|
553
|
-
except ValueError:
|
|
554
|
-
return value
|
|
555
|
-
return value
|
|
556
|
-
|
|
557
|
-
@field_serializer("signature_version")
|
|
558
|
-
def serialize_signature_version(self, value):
|
|
559
|
-
if isinstance(value, str):
|
|
560
|
-
try:
|
|
561
|
-
return models.OutputMinioSignatureVersion(value)
|
|
562
|
-
except ValueError:
|
|
563
|
-
return value
|
|
564
|
-
return value
|
|
565
|
-
|
|
566
|
-
@field_serializer("object_acl")
|
|
567
|
-
def serialize_object_acl(self, value):
|
|
568
|
-
if isinstance(value, str):
|
|
569
|
-
try:
|
|
570
|
-
return models.OutputMinioObjectACL(value)
|
|
571
|
-
except ValueError:
|
|
572
|
-
return value
|
|
573
|
-
return value
|
|
574
|
-
|
|
575
|
-
@field_serializer("storage_class")
|
|
576
|
-
def serialize_storage_class(self, value):
|
|
577
|
-
if isinstance(value, str):
|
|
578
|
-
try:
|
|
579
|
-
return models.OutputMinioStorageClass(value)
|
|
580
|
-
except ValueError:
|
|
581
|
-
return value
|
|
582
|
-
return value
|
|
583
|
-
|
|
584
|
-
@field_serializer("server_side_encryption")
|
|
585
|
-
def serialize_server_side_encryption(self, value):
|
|
586
|
-
if isinstance(value, str):
|
|
587
|
-
try:
|
|
588
|
-
return models.ServerSideEncryption(value)
|
|
589
|
-
except ValueError:
|
|
590
|
-
return value
|
|
591
|
-
return value
|
|
592
|
-
|
|
593
|
-
@field_serializer("format_")
|
|
594
|
-
def serialize_format_(self, value):
|
|
595
|
-
if isinstance(value, str):
|
|
596
|
-
try:
|
|
597
|
-
return models.OutputMinioDataFormat(value)
|
|
598
|
-
except ValueError:
|
|
599
|
-
return value
|
|
600
|
-
return value
|
|
601
|
-
|
|
602
|
-
@field_serializer("on_backpressure")
|
|
603
|
-
def serialize_on_backpressure(self, value):
|
|
604
|
-
if isinstance(value, str):
|
|
605
|
-
try:
|
|
606
|
-
return models.OutputMinioBackpressureBehavior(value)
|
|
607
|
-
except ValueError:
|
|
608
|
-
return value
|
|
609
|
-
return value
|
|
610
|
-
|
|
611
|
-
@field_serializer("on_disk_full_backpressure")
|
|
612
|
-
def serialize_on_disk_full_backpressure(self, value):
|
|
613
|
-
if isinstance(value, str):
|
|
614
|
-
try:
|
|
615
|
-
return models.OutputMinioDiskSpaceProtection(value)
|
|
616
|
-
except ValueError:
|
|
617
|
-
return value
|
|
618
|
-
return value
|
|
619
|
-
|
|
620
|
-
@field_serializer("compress")
|
|
621
|
-
def serialize_compress(self, value):
|
|
622
|
-
if isinstance(value, str):
|
|
623
|
-
try:
|
|
624
|
-
return models.OutputMinioCompression(value)
|
|
625
|
-
except ValueError:
|
|
626
|
-
return value
|
|
627
|
-
return value
|
|
628
|
-
|
|
629
|
-
@field_serializer("compression_level")
|
|
630
|
-
def serialize_compression_level(self, value):
|
|
631
|
-
if isinstance(value, str):
|
|
632
|
-
try:
|
|
633
|
-
return models.OutputMinioCompressionLevel(value)
|
|
634
|
-
except ValueError:
|
|
635
|
-
return value
|
|
636
|
-
return value
|
|
637
|
-
|
|
638
|
-
@field_serializer("parquet_version")
|
|
639
|
-
def serialize_parquet_version(self, value):
|
|
640
|
-
if isinstance(value, str):
|
|
641
|
-
try:
|
|
642
|
-
return models.OutputMinioParquetVersion(value)
|
|
643
|
-
except ValueError:
|
|
644
|
-
return value
|
|
645
|
-
return value
|
|
646
|
-
|
|
647
|
-
@field_serializer("parquet_data_page_version")
|
|
648
|
-
def serialize_parquet_data_page_version(self, value):
|
|
649
|
-
if isinstance(value, str):
|
|
650
|
-
try:
|
|
651
|
-
return models.OutputMinioDataPageVersion(value)
|
|
652
|
-
except ValueError:
|
|
653
|
-
return value
|
|
654
|
-
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
|
|
@@ -156,24 +155,6 @@ class OutputMskKafkaSchemaRegistryTLSSettingsClientSide(BaseModel):
|
|
|
156
155
|
pydantic.Field(alias="maxVersion"),
|
|
157
156
|
] = None
|
|
158
157
|
|
|
159
|
-
@field_serializer("min_version")
|
|
160
|
-
def serialize_min_version(self, value):
|
|
161
|
-
if isinstance(value, str):
|
|
162
|
-
try:
|
|
163
|
-
return models.OutputMskKafkaSchemaRegistryMinimumTLSVersion(value)
|
|
164
|
-
except ValueError:
|
|
165
|
-
return value
|
|
166
|
-
return value
|
|
167
|
-
|
|
168
|
-
@field_serializer("max_version")
|
|
169
|
-
def serialize_max_version(self, value):
|
|
170
|
-
if isinstance(value, str):
|
|
171
|
-
try:
|
|
172
|
-
return models.OutputMskKafkaSchemaRegistryMaximumTLSVersion(value)
|
|
173
|
-
except ValueError:
|
|
174
|
-
return value
|
|
175
|
-
return value
|
|
176
|
-
|
|
177
158
|
|
|
178
159
|
class OutputMskKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
|
|
179
160
|
disabled: NotRequired[bool]
|
|
@@ -331,24 +312,6 @@ class OutputMskTLSSettingsClientSide(BaseModel):
|
|
|
331
312
|
pydantic.Field(alias="maxVersion"),
|
|
332
313
|
] = None
|
|
333
314
|
|
|
334
|
-
@field_serializer("min_version")
|
|
335
|
-
def serialize_min_version(self, value):
|
|
336
|
-
if isinstance(value, str):
|
|
337
|
-
try:
|
|
338
|
-
return models.OutputMskMinimumTLSVersion(value)
|
|
339
|
-
except ValueError:
|
|
340
|
-
return value
|
|
341
|
-
return value
|
|
342
|
-
|
|
343
|
-
@field_serializer("max_version")
|
|
344
|
-
def serialize_max_version(self, value):
|
|
345
|
-
if isinstance(value, str):
|
|
346
|
-
try:
|
|
347
|
-
return models.OutputMskMaximumTLSVersion(value)
|
|
348
|
-
except ValueError:
|
|
349
|
-
return value
|
|
350
|
-
return value
|
|
351
|
-
|
|
352
315
|
|
|
353
316
|
class OutputMskBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
354
317
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
@@ -745,84 +708,3 @@ class OutputMsk(BaseModel):
|
|
|
745
708
|
pq_controls: Annotated[
|
|
746
709
|
Optional[OutputMskPqControls], pydantic.Field(alias="pqControls")
|
|
747
710
|
] = None
|
|
748
|
-
|
|
749
|
-
@field_serializer("ack")
|
|
750
|
-
def serialize_ack(self, value):
|
|
751
|
-
if isinstance(value, str):
|
|
752
|
-
try:
|
|
753
|
-
return models.OutputMskAcknowledgments(value)
|
|
754
|
-
except ValueError:
|
|
755
|
-
return value
|
|
756
|
-
return value
|
|
757
|
-
|
|
758
|
-
@field_serializer("format_")
|
|
759
|
-
def serialize_format_(self, value):
|
|
760
|
-
if isinstance(value, str):
|
|
761
|
-
try:
|
|
762
|
-
return models.OutputMskRecordDataFormat(value)
|
|
763
|
-
except ValueError:
|
|
764
|
-
return value
|
|
765
|
-
return value
|
|
766
|
-
|
|
767
|
-
@field_serializer("compression")
|
|
768
|
-
def serialize_compression(self, value):
|
|
769
|
-
if isinstance(value, str):
|
|
770
|
-
try:
|
|
771
|
-
return models.OutputMskCompression(value)
|
|
772
|
-
except ValueError:
|
|
773
|
-
return value
|
|
774
|
-
return value
|
|
775
|
-
|
|
776
|
-
@field_serializer("aws_authentication_method")
|
|
777
|
-
def serialize_aws_authentication_method(self, value):
|
|
778
|
-
if isinstance(value, str):
|
|
779
|
-
try:
|
|
780
|
-
return models.OutputMskAuthenticationMethod(value)
|
|
781
|
-
except ValueError:
|
|
782
|
-
return value
|
|
783
|
-
return value
|
|
784
|
-
|
|
785
|
-
@field_serializer("signature_version")
|
|
786
|
-
def serialize_signature_version(self, value):
|
|
787
|
-
if isinstance(value, str):
|
|
788
|
-
try:
|
|
789
|
-
return models.OutputMskSignatureVersion(value)
|
|
790
|
-
except ValueError:
|
|
791
|
-
return value
|
|
792
|
-
return value
|
|
793
|
-
|
|
794
|
-
@field_serializer("on_backpressure")
|
|
795
|
-
def serialize_on_backpressure(self, value):
|
|
796
|
-
if isinstance(value, str):
|
|
797
|
-
try:
|
|
798
|
-
return models.OutputMskBackpressureBehavior(value)
|
|
799
|
-
except ValueError:
|
|
800
|
-
return value
|
|
801
|
-
return value
|
|
802
|
-
|
|
803
|
-
@field_serializer("pq_mode")
|
|
804
|
-
def serialize_pq_mode(self, value):
|
|
805
|
-
if isinstance(value, str):
|
|
806
|
-
try:
|
|
807
|
-
return models.OutputMskMode(value)
|
|
808
|
-
except ValueError:
|
|
809
|
-
return value
|
|
810
|
-
return value
|
|
811
|
-
|
|
812
|
-
@field_serializer("pq_compress")
|
|
813
|
-
def serialize_pq_compress(self, value):
|
|
814
|
-
if isinstance(value, str):
|
|
815
|
-
try:
|
|
816
|
-
return models.OutputMskPqCompressCompression(value)
|
|
817
|
-
except ValueError:
|
|
818
|
-
return value
|
|
819
|
-
return value
|
|
820
|
-
|
|
821
|
-
@field_serializer("pq_on_backpressure")
|
|
822
|
-
def serialize_pq_on_backpressure(self, value):
|
|
823
|
-
if isinstance(value, str):
|
|
824
|
-
try:
|
|
825
|
-
return models.OutputMskQueueFullBehavior(value)
|
|
826
|
-
except ValueError:
|
|
827
|
-
return value
|
|
828
|
-
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
|
|
@@ -46,15 +45,6 @@ class OutputNewrelicMetadatum(BaseModel):
|
|
|
46
45
|
value: str
|
|
47
46
|
r"""JavaScript expression to compute field's value, enclosed in quotes or backticks. (Can evaluate to a constant.)"""
|
|
48
47
|
|
|
49
|
-
@field_serializer("name")
|
|
50
|
-
def serialize_name(self, value):
|
|
51
|
-
if isinstance(value, str):
|
|
52
|
-
try:
|
|
53
|
-
return models.FieldName(value)
|
|
54
|
-
except ValueError:
|
|
55
|
-
return value
|
|
56
|
-
return value
|
|
57
|
-
|
|
58
48
|
|
|
59
49
|
class OutputNewrelicExtraHTTPHeaderTypedDict(TypedDict):
|
|
60
50
|
value: str
|
|
@@ -476,66 +466,3 @@ class OutputNewrelic(BaseModel):
|
|
|
476
466
|
|
|
477
467
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
478
468
|
r"""Select or create a stored text secret"""
|
|
479
|
-
|
|
480
|
-
@field_serializer("region")
|
|
481
|
-
def serialize_region(self, value):
|
|
482
|
-
if isinstance(value, str):
|
|
483
|
-
try:
|
|
484
|
-
return models.OutputNewrelicRegion(value)
|
|
485
|
-
except ValueError:
|
|
486
|
-
return value
|
|
487
|
-
return value
|
|
488
|
-
|
|
489
|
-
@field_serializer("failed_request_logging_mode")
|
|
490
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
491
|
-
if isinstance(value, str):
|
|
492
|
-
try:
|
|
493
|
-
return models.OutputNewrelicFailedRequestLoggingMode(value)
|
|
494
|
-
except ValueError:
|
|
495
|
-
return value
|
|
496
|
-
return value
|
|
497
|
-
|
|
498
|
-
@field_serializer("on_backpressure")
|
|
499
|
-
def serialize_on_backpressure(self, value):
|
|
500
|
-
if isinstance(value, str):
|
|
501
|
-
try:
|
|
502
|
-
return models.OutputNewrelicBackpressureBehavior(value)
|
|
503
|
-
except ValueError:
|
|
504
|
-
return value
|
|
505
|
-
return value
|
|
506
|
-
|
|
507
|
-
@field_serializer("auth_type")
|
|
508
|
-
def serialize_auth_type(self, value):
|
|
509
|
-
if isinstance(value, str):
|
|
510
|
-
try:
|
|
511
|
-
return models.OutputNewrelicAuthenticationMethod(value)
|
|
512
|
-
except ValueError:
|
|
513
|
-
return value
|
|
514
|
-
return value
|
|
515
|
-
|
|
516
|
-
@field_serializer("pq_mode")
|
|
517
|
-
def serialize_pq_mode(self, value):
|
|
518
|
-
if isinstance(value, str):
|
|
519
|
-
try:
|
|
520
|
-
return models.OutputNewrelicMode(value)
|
|
521
|
-
except ValueError:
|
|
522
|
-
return value
|
|
523
|
-
return value
|
|
524
|
-
|
|
525
|
-
@field_serializer("pq_compress")
|
|
526
|
-
def serialize_pq_compress(self, value):
|
|
527
|
-
if isinstance(value, str):
|
|
528
|
-
try:
|
|
529
|
-
return models.OutputNewrelicCompression(value)
|
|
530
|
-
except ValueError:
|
|
531
|
-
return value
|
|
532
|
-
return value
|
|
533
|
-
|
|
534
|
-
@field_serializer("pq_on_backpressure")
|
|
535
|
-
def serialize_pq_on_backpressure(self, value):
|
|
536
|
-
if isinstance(value, str):
|
|
537
|
-
try:
|
|
538
|
-
return models.OutputNewrelicQueueFullBehavior(value)
|
|
539
|
-
except ValueError:
|
|
540
|
-
return value
|
|
541
|
-
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
|
|
@@ -442,66 +441,3 @@ class OutputNewrelicEvents(BaseModel):
|
|
|
442
441
|
|
|
443
442
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
444
443
|
r"""Select or create a stored text secret"""
|
|
445
|
-
|
|
446
|
-
@field_serializer("region")
|
|
447
|
-
def serialize_region(self, value):
|
|
448
|
-
if isinstance(value, str):
|
|
449
|
-
try:
|
|
450
|
-
return models.OutputNewrelicEventsRegion(value)
|
|
451
|
-
except ValueError:
|
|
452
|
-
return value
|
|
453
|
-
return value
|
|
454
|
-
|
|
455
|
-
@field_serializer("failed_request_logging_mode")
|
|
456
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
457
|
-
if isinstance(value, str):
|
|
458
|
-
try:
|
|
459
|
-
return models.OutputNewrelicEventsFailedRequestLoggingMode(value)
|
|
460
|
-
except ValueError:
|
|
461
|
-
return value
|
|
462
|
-
return value
|
|
463
|
-
|
|
464
|
-
@field_serializer("on_backpressure")
|
|
465
|
-
def serialize_on_backpressure(self, value):
|
|
466
|
-
if isinstance(value, str):
|
|
467
|
-
try:
|
|
468
|
-
return models.OutputNewrelicEventsBackpressureBehavior(value)
|
|
469
|
-
except ValueError:
|
|
470
|
-
return value
|
|
471
|
-
return value
|
|
472
|
-
|
|
473
|
-
@field_serializer("auth_type")
|
|
474
|
-
def serialize_auth_type(self, value):
|
|
475
|
-
if isinstance(value, str):
|
|
476
|
-
try:
|
|
477
|
-
return models.OutputNewrelicEventsAuthenticationMethod(value)
|
|
478
|
-
except ValueError:
|
|
479
|
-
return value
|
|
480
|
-
return value
|
|
481
|
-
|
|
482
|
-
@field_serializer("pq_mode")
|
|
483
|
-
def serialize_pq_mode(self, value):
|
|
484
|
-
if isinstance(value, str):
|
|
485
|
-
try:
|
|
486
|
-
return models.OutputNewrelicEventsMode(value)
|
|
487
|
-
except ValueError:
|
|
488
|
-
return value
|
|
489
|
-
return value
|
|
490
|
-
|
|
491
|
-
@field_serializer("pq_compress")
|
|
492
|
-
def serialize_pq_compress(self, value):
|
|
493
|
-
if isinstance(value, str):
|
|
494
|
-
try:
|
|
495
|
-
return models.OutputNewrelicEventsCompression(value)
|
|
496
|
-
except ValueError:
|
|
497
|
-
return value
|
|
498
|
-
return value
|
|
499
|
-
|
|
500
|
-
@field_serializer("pq_on_backpressure")
|
|
501
|
-
def serialize_pq_on_backpressure(self, value):
|
|
502
|
-
if isinstance(value, str):
|
|
503
|
-
try:
|
|
504
|
-
return models.OutputNewrelicEventsQueueFullBehavior(value)
|
|
505
|
-
except ValueError:
|
|
506
|
-
return value
|
|
507
|
-
return value
|