cribl-control-plane 0.3.0b4__py3-none-any.whl → 0.3.0b6__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 +20 -0
- cribl_control_plane/models/configgroup.py +20 -1
- cribl_control_plane/models/configgroupcloud.py +11 -1
- cribl_control_plane/models/createconfiggroupbyproductop.py +13 -2
- cribl_control_plane/models/cribllakedataset.py +11 -1
- cribl_control_plane/models/cribllakedatasetupdate.py +11 -1
- cribl_control_plane/models/datasetmetadata.py +11 -1
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +11 -0
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +20 -0
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +20 -0
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +11 -0
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +11 -0
- cribl_control_plane/models/getsummaryop.py +11 -0
- cribl_control_plane/models/groupcreaterequest.py +20 -1
- cribl_control_plane/models/hbcriblinfo.py +11 -1
- cribl_control_plane/models/healthserverstatus.py +20 -1
- cribl_control_plane/models/inputappscope.py +56 -1
- cribl_control_plane/models/inputazureblob.py +29 -1
- cribl_control_plane/models/inputcollection.py +20 -1
- cribl_control_plane/models/inputconfluentcloud.py +78 -1
- cribl_control_plane/models/inputcribl.py +20 -1
- cribl_control_plane/models/inputcriblhttp.py +38 -1
- cribl_control_plane/models/inputcribllakehttp.py +38 -1
- cribl_control_plane/models/inputcriblmetrics.py +20 -1
- cribl_control_plane/models/inputcribltcp.py +38 -1
- cribl_control_plane/models/inputcrowdstrike.py +47 -1
- cribl_control_plane/models/inputdatadogagent.py +38 -1
- cribl_control_plane/models/inputdatagen.py +20 -1
- cribl_control_plane/models/inputedgeprometheus.py +94 -1
- cribl_control_plane/models/inputelastic.py +65 -1
- cribl_control_plane/models/inputeventhub.py +58 -1
- cribl_control_plane/models/inputexec.py +29 -1
- cribl_control_plane/models/inputfile.py +29 -1
- cribl_control_plane/models/inputfirehose.py +38 -1
- cribl_control_plane/models/inputgooglepubsub.py +29 -1
- cribl_control_plane/models/inputgrafana.py +110 -1
- cribl_control_plane/models/inputhttp.py +38 -1
- cribl_control_plane/models/inputhttpraw.py +38 -1
- cribl_control_plane/models/inputjournalfiles.py +20 -1
- cribl_control_plane/models/inputkafka.py +74 -1
- cribl_control_plane/models/inputkinesis.py +65 -1
- cribl_control_plane/models/inputkubeevents.py +20 -1
- cribl_control_plane/models/inputkubelogs.py +29 -1
- cribl_control_plane/models/inputkubemetrics.py +29 -1
- cribl_control_plane/models/inputloki.py +47 -1
- cribl_control_plane/models/inputmetrics.py +38 -1
- cribl_control_plane/models/inputmodeldriventelemetry.py +38 -1
- cribl_control_plane/models/inputmsk.py +74 -1
- cribl_control_plane/models/inputnetflow.py +20 -1
- cribl_control_plane/models/inputoffice365mgmt.py +56 -1
- cribl_control_plane/models/inputoffice365msgtrace.py +56 -1
- cribl_control_plane/models/inputoffice365service.py +56 -1
- cribl_control_plane/models/inputopentelemetry.py +65 -1
- cribl_control_plane/models/inputprometheus.py +87 -1
- cribl_control_plane/models/inputprometheusrw.py +47 -1
- cribl_control_plane/models/inputrawudp.py +20 -1
- cribl_control_plane/models/inputs3.py +38 -1
- cribl_control_plane/models/inputs3inventory.py +47 -1
- cribl_control_plane/models/inputsecuritylake.py +47 -1
- cribl_control_plane/models/inputsnmp.py +29 -1
- cribl_control_plane/models/inputsplunk.py +56 -1
- cribl_control_plane/models/inputsplunkhec.py +47 -1
- cribl_control_plane/models/inputsplunksearch.py +56 -1
- cribl_control_plane/models/inputsqs.py +47 -1
- cribl_control_plane/models/inputsyslog.py +74 -1
- cribl_control_plane/models/inputsystemmetrics.py +92 -1
- cribl_control_plane/models/inputsystemstate.py +29 -1
- cribl_control_plane/models/inputtcp.py +47 -1
- cribl_control_plane/models/inputtcpjson.py +47 -1
- cribl_control_plane/models/inputwef.py +65 -1
- cribl_control_plane/models/inputwindowsmetrics.py +83 -1
- cribl_control_plane/models/inputwineventlogs.py +38 -1
- cribl_control_plane/models/inputwiz.py +38 -1
- cribl_control_plane/models/inputwizwebhook.py +38 -1
- cribl_control_plane/models/inputzscalerhec.py +47 -1
- cribl_control_plane/models/listconfiggroupbyproductop.py +11 -0
- cribl_control_plane/models/masterworkerentry.py +11 -1
- cribl_control_plane/models/nodeupgradestatus.py +38 -0
- cribl_control_plane/models/outputazureblob.py +83 -1
- cribl_control_plane/models/outputazuredataexplorer.py +148 -1
- cribl_control_plane/models/outputazureeventhub.py +98 -1
- cribl_control_plane/models/outputazurelogs.py +56 -1
- cribl_control_plane/models/outputchronicle.py +56 -1
- cribl_control_plane/models/outputclickhouse.py +92 -1
- cribl_control_plane/models/outputcloudwatch.py +47 -1
- cribl_control_plane/models/outputconfluentcloud.py +123 -1
- cribl_control_plane/models/outputcriblhttp.py +74 -1
- cribl_control_plane/models/outputcribllake.py +76 -1
- cribl_control_plane/models/outputcribltcp.py +74 -1
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +67 -1
- cribl_control_plane/models/outputdatabricks.py +65 -1
- cribl_control_plane/models/outputdatadog.py +83 -1
- cribl_control_plane/models/outputdataset.py +74 -1
- cribl_control_plane/models/outputdiskspool.py +11 -1
- cribl_control_plane/models/outputdls3.py +110 -1
- cribl_control_plane/models/outputdynatracehttp.py +92 -1
- cribl_control_plane/models/outputdynatraceotlp.py +92 -1
- cribl_control_plane/models/outputelastic.py +74 -1
- cribl_control_plane/models/outputelasticcloud.py +56 -1
- cribl_control_plane/models/outputexabeam.py +47 -1
- cribl_control_plane/models/outputfilesystem.py +65 -1
- cribl_control_plane/models/outputgooglechronicle.py +83 -1
- cribl_control_plane/models/outputgooglecloudlogging.py +65 -1
- cribl_control_plane/models/outputgooglecloudstorage.py +101 -1
- cribl_control_plane/models/outputgooglepubsub.py +47 -1
- cribl_control_plane/models/outputgrafanacloud.py +146 -1
- cribl_control_plane/models/outputgraphite.py +47 -1
- cribl_control_plane/models/outputhoneycomb.py +56 -1
- cribl_control_plane/models/outputhumiohec.py +65 -1
- cribl_control_plane/models/outputinfluxdb.py +65 -1
- cribl_control_plane/models/outputkafka.py +119 -1
- cribl_control_plane/models/outputkinesis.py +65 -1
- cribl_control_plane/models/outputloki.py +65 -1
- cribl_control_plane/models/outputminio.py +110 -1
- cribl_control_plane/models/outputmsk.py +119 -1
- cribl_control_plane/models/outputnewrelic.py +74 -1
- cribl_control_plane/models/outputnewrelicevents.py +65 -1
- cribl_control_plane/models/outputopentelemetry.py +110 -1
- cribl_control_plane/models/outputprometheus.py +56 -1
- cribl_control_plane/models/outputring.py +29 -1
- cribl_control_plane/models/outputs3.py +110 -1
- cribl_control_plane/models/outputsecuritylake.py +85 -1
- cribl_control_plane/models/outputsentinel.py +74 -1
- cribl_control_plane/models/outputsentineloneaisiem.py +74 -1
- cribl_control_plane/models/outputservicenow.py +101 -1
- cribl_control_plane/models/outputsignalfx.py +56 -1
- cribl_control_plane/models/outputsns.py +56 -1
- cribl_control_plane/models/outputsplunk.py +92 -1
- cribl_control_plane/models/outputsplunkhec.py +74 -1
- cribl_control_plane/models/outputsplunklb.py +121 -1
- cribl_control_plane/models/outputsqs.py +65 -1
- cribl_control_plane/models/outputstatsd.py +47 -1
- cribl_control_plane/models/outputstatsdext.py +47 -1
- cribl_control_plane/models/outputsumologic.py +56 -1
- cribl_control_plane/models/outputsyslog.py +110 -1
- cribl_control_plane/models/outputtcpjson.py +83 -1
- cribl_control_plane/models/outputwavefront.py +56 -1
- cribl_control_plane/models/outputwebhook.py +92 -1
- cribl_control_plane/models/outputxsiam.py +56 -1
- cribl_control_plane/models/resourcepolicy.py +11 -0
- cribl_control_plane/models/runnablejobcollection.py +56 -1
- cribl_control_plane/models/runnablejobexecutor.py +20 -1
- cribl_control_plane/models/runnablejobscheduledsearch.py +11 -1
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +11 -0
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +11 -0
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b6.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b6.dist-info}/RECORD +150 -150
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b6.dist-info}/WHEEL +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
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 utils
|
|
4
|
+
from cribl_control_plane import models, 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
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -528,3 +529,84 @@ class OutputDatadog(BaseModel):
|
|
|
528
529
|
|
|
529
530
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
530
531
|
r"""Select or create a stored text secret"""
|
|
532
|
+
|
|
533
|
+
@field_serializer("content_type")
|
|
534
|
+
def serialize_content_type(self, value):
|
|
535
|
+
if isinstance(value, str):
|
|
536
|
+
try:
|
|
537
|
+
return models.SendLogsAs(value)
|
|
538
|
+
except ValueError:
|
|
539
|
+
return value
|
|
540
|
+
return value
|
|
541
|
+
|
|
542
|
+
@field_serializer("severity")
|
|
543
|
+
def serialize_severity(self, value):
|
|
544
|
+
if isinstance(value, str):
|
|
545
|
+
try:
|
|
546
|
+
return models.OutputDatadogSeverity(value)
|
|
547
|
+
except ValueError:
|
|
548
|
+
return value
|
|
549
|
+
return value
|
|
550
|
+
|
|
551
|
+
@field_serializer("site")
|
|
552
|
+
def serialize_site(self, value):
|
|
553
|
+
if isinstance(value, str):
|
|
554
|
+
try:
|
|
555
|
+
return models.DatadogSite(value)
|
|
556
|
+
except ValueError:
|
|
557
|
+
return value
|
|
558
|
+
return value
|
|
559
|
+
|
|
560
|
+
@field_serializer("failed_request_logging_mode")
|
|
561
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
562
|
+
if isinstance(value, str):
|
|
563
|
+
try:
|
|
564
|
+
return models.OutputDatadogFailedRequestLoggingMode(value)
|
|
565
|
+
except ValueError:
|
|
566
|
+
return value
|
|
567
|
+
return value
|
|
568
|
+
|
|
569
|
+
@field_serializer("on_backpressure")
|
|
570
|
+
def serialize_on_backpressure(self, value):
|
|
571
|
+
if isinstance(value, str):
|
|
572
|
+
try:
|
|
573
|
+
return models.OutputDatadogBackpressureBehavior(value)
|
|
574
|
+
except ValueError:
|
|
575
|
+
return value
|
|
576
|
+
return value
|
|
577
|
+
|
|
578
|
+
@field_serializer("auth_type")
|
|
579
|
+
def serialize_auth_type(self, value):
|
|
580
|
+
if isinstance(value, str):
|
|
581
|
+
try:
|
|
582
|
+
return models.OutputDatadogAuthenticationMethod(value)
|
|
583
|
+
except ValueError:
|
|
584
|
+
return value
|
|
585
|
+
return value
|
|
586
|
+
|
|
587
|
+
@field_serializer("pq_mode")
|
|
588
|
+
def serialize_pq_mode(self, value):
|
|
589
|
+
if isinstance(value, str):
|
|
590
|
+
try:
|
|
591
|
+
return models.OutputDatadogMode(value)
|
|
592
|
+
except ValueError:
|
|
593
|
+
return value
|
|
594
|
+
return value
|
|
595
|
+
|
|
596
|
+
@field_serializer("pq_compress")
|
|
597
|
+
def serialize_pq_compress(self, value):
|
|
598
|
+
if isinstance(value, str):
|
|
599
|
+
try:
|
|
600
|
+
return models.OutputDatadogCompression(value)
|
|
601
|
+
except ValueError:
|
|
602
|
+
return value
|
|
603
|
+
return value
|
|
604
|
+
|
|
605
|
+
@field_serializer("pq_on_backpressure")
|
|
606
|
+
def serialize_pq_on_backpressure(self, value):
|
|
607
|
+
if isinstance(value, str):
|
|
608
|
+
try:
|
|
609
|
+
return models.OutputDatadogQueueFullBehavior(value)
|
|
610
|
+
except ValueError:
|
|
611
|
+
return value
|
|
612
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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 utils
|
|
4
|
+
from cribl_control_plane import models, 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
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -486,3 +487,75 @@ class OutputDataset(BaseModel):
|
|
|
486
487
|
|
|
487
488
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
488
489
|
r"""Select or create a stored text secret"""
|
|
490
|
+
|
|
491
|
+
@field_serializer("default_severity")
|
|
492
|
+
def serialize_default_severity(self, value):
|
|
493
|
+
if isinstance(value, str):
|
|
494
|
+
try:
|
|
495
|
+
return models.OutputDatasetSeverity(value)
|
|
496
|
+
except ValueError:
|
|
497
|
+
return value
|
|
498
|
+
return value
|
|
499
|
+
|
|
500
|
+
@field_serializer("site")
|
|
501
|
+
def serialize_site(self, value):
|
|
502
|
+
if isinstance(value, str):
|
|
503
|
+
try:
|
|
504
|
+
return models.DataSetSite(value)
|
|
505
|
+
except ValueError:
|
|
506
|
+
return value
|
|
507
|
+
return value
|
|
508
|
+
|
|
509
|
+
@field_serializer("failed_request_logging_mode")
|
|
510
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
511
|
+
if isinstance(value, str):
|
|
512
|
+
try:
|
|
513
|
+
return models.OutputDatasetFailedRequestLoggingMode(value)
|
|
514
|
+
except ValueError:
|
|
515
|
+
return value
|
|
516
|
+
return value
|
|
517
|
+
|
|
518
|
+
@field_serializer("on_backpressure")
|
|
519
|
+
def serialize_on_backpressure(self, value):
|
|
520
|
+
if isinstance(value, str):
|
|
521
|
+
try:
|
|
522
|
+
return models.OutputDatasetBackpressureBehavior(value)
|
|
523
|
+
except ValueError:
|
|
524
|
+
return value
|
|
525
|
+
return value
|
|
526
|
+
|
|
527
|
+
@field_serializer("auth_type")
|
|
528
|
+
def serialize_auth_type(self, value):
|
|
529
|
+
if isinstance(value, str):
|
|
530
|
+
try:
|
|
531
|
+
return models.OutputDatasetAuthenticationMethod(value)
|
|
532
|
+
except ValueError:
|
|
533
|
+
return value
|
|
534
|
+
return value
|
|
535
|
+
|
|
536
|
+
@field_serializer("pq_mode")
|
|
537
|
+
def serialize_pq_mode(self, value):
|
|
538
|
+
if isinstance(value, str):
|
|
539
|
+
try:
|
|
540
|
+
return models.OutputDatasetMode(value)
|
|
541
|
+
except ValueError:
|
|
542
|
+
return value
|
|
543
|
+
return value
|
|
544
|
+
|
|
545
|
+
@field_serializer("pq_compress")
|
|
546
|
+
def serialize_pq_compress(self, value):
|
|
547
|
+
if isinstance(value, str):
|
|
548
|
+
try:
|
|
549
|
+
return models.OutputDatasetCompression(value)
|
|
550
|
+
except ValueError:
|
|
551
|
+
return value
|
|
552
|
+
return value
|
|
553
|
+
|
|
554
|
+
@field_serializer("pq_on_backpressure")
|
|
555
|
+
def serialize_pq_on_backpressure(self, value):
|
|
556
|
+
if isinstance(value, str):
|
|
557
|
+
try:
|
|
558
|
+
return models.OutputDatasetQueueFullBehavior(value)
|
|
559
|
+
except ValueError:
|
|
560
|
+
return value
|
|
561
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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 utils
|
|
4
|
+
from cribl_control_plane import models, 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
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -87,3 +88,12 @@ class OutputDiskSpool(BaseModel):
|
|
|
87
88
|
r"""JavaScript expression defining how files are partitioned and organized within the time-buckets. If blank, the event's __partition property is used and otherwise, events go directly into the time-bucket directory."""
|
|
88
89
|
|
|
89
90
|
description: Optional[str] = None
|
|
91
|
+
|
|
92
|
+
@field_serializer("compress")
|
|
93
|
+
def serialize_compress(self, value):
|
|
94
|
+
if isinstance(value, str):
|
|
95
|
+
try:
|
|
96
|
+
return models.OutputDiskSpoolCompression(value)
|
|
97
|
+
except ValueError:
|
|
98
|
+
return value
|
|
99
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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 utils
|
|
4
|
+
from cribl_control_plane import models, 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
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -598,3 +599,111 @@ class OutputDlS3(BaseModel):
|
|
|
598
599
|
|
|
599
600
|
max_retry_num: Annotated[Optional[float], pydantic.Field(alias="maxRetryNum")] = 20
|
|
600
601
|
r"""The maximum number of times a file will attempt to move to its final destination before being dead-lettered"""
|
|
602
|
+
|
|
603
|
+
@field_serializer("aws_authentication_method")
|
|
604
|
+
def serialize_aws_authentication_method(self, value):
|
|
605
|
+
if isinstance(value, str):
|
|
606
|
+
try:
|
|
607
|
+
return models.OutputDlS3AuthenticationMethod(value)
|
|
608
|
+
except ValueError:
|
|
609
|
+
return value
|
|
610
|
+
return value
|
|
611
|
+
|
|
612
|
+
@field_serializer("signature_version")
|
|
613
|
+
def serialize_signature_version(self, value):
|
|
614
|
+
if isinstance(value, str):
|
|
615
|
+
try:
|
|
616
|
+
return models.OutputDlS3SignatureVersion(value)
|
|
617
|
+
except ValueError:
|
|
618
|
+
return value
|
|
619
|
+
return value
|
|
620
|
+
|
|
621
|
+
@field_serializer("object_acl")
|
|
622
|
+
def serialize_object_acl(self, value):
|
|
623
|
+
if isinstance(value, str):
|
|
624
|
+
try:
|
|
625
|
+
return models.OutputDlS3ObjectACL(value)
|
|
626
|
+
except ValueError:
|
|
627
|
+
return value
|
|
628
|
+
return value
|
|
629
|
+
|
|
630
|
+
@field_serializer("storage_class")
|
|
631
|
+
def serialize_storage_class(self, value):
|
|
632
|
+
if isinstance(value, str):
|
|
633
|
+
try:
|
|
634
|
+
return models.OutputDlS3StorageClass(value)
|
|
635
|
+
except ValueError:
|
|
636
|
+
return value
|
|
637
|
+
return value
|
|
638
|
+
|
|
639
|
+
@field_serializer("server_side_encryption")
|
|
640
|
+
def serialize_server_side_encryption(self, value):
|
|
641
|
+
if isinstance(value, str):
|
|
642
|
+
try:
|
|
643
|
+
return models.OutputDlS3ServerSideEncryptionForUploadedObjects(value)
|
|
644
|
+
except ValueError:
|
|
645
|
+
return value
|
|
646
|
+
return value
|
|
647
|
+
|
|
648
|
+
@field_serializer("format_")
|
|
649
|
+
def serialize_format_(self, value):
|
|
650
|
+
if isinstance(value, str):
|
|
651
|
+
try:
|
|
652
|
+
return models.OutputDlS3DataFormat(value)
|
|
653
|
+
except ValueError:
|
|
654
|
+
return value
|
|
655
|
+
return value
|
|
656
|
+
|
|
657
|
+
@field_serializer("on_backpressure")
|
|
658
|
+
def serialize_on_backpressure(self, value):
|
|
659
|
+
if isinstance(value, str):
|
|
660
|
+
try:
|
|
661
|
+
return models.OutputDlS3BackpressureBehavior(value)
|
|
662
|
+
except ValueError:
|
|
663
|
+
return value
|
|
664
|
+
return value
|
|
665
|
+
|
|
666
|
+
@field_serializer("on_disk_full_backpressure")
|
|
667
|
+
def serialize_on_disk_full_backpressure(self, value):
|
|
668
|
+
if isinstance(value, str):
|
|
669
|
+
try:
|
|
670
|
+
return models.OutputDlS3DiskSpaceProtection(value)
|
|
671
|
+
except ValueError:
|
|
672
|
+
return value
|
|
673
|
+
return value
|
|
674
|
+
|
|
675
|
+
@field_serializer("compress")
|
|
676
|
+
def serialize_compress(self, value):
|
|
677
|
+
if isinstance(value, str):
|
|
678
|
+
try:
|
|
679
|
+
return models.OutputDlS3Compression(value)
|
|
680
|
+
except ValueError:
|
|
681
|
+
return value
|
|
682
|
+
return value
|
|
683
|
+
|
|
684
|
+
@field_serializer("compression_level")
|
|
685
|
+
def serialize_compression_level(self, value):
|
|
686
|
+
if isinstance(value, str):
|
|
687
|
+
try:
|
|
688
|
+
return models.OutputDlS3CompressionLevel(value)
|
|
689
|
+
except ValueError:
|
|
690
|
+
return value
|
|
691
|
+
return value
|
|
692
|
+
|
|
693
|
+
@field_serializer("parquet_version")
|
|
694
|
+
def serialize_parquet_version(self, value):
|
|
695
|
+
if isinstance(value, str):
|
|
696
|
+
try:
|
|
697
|
+
return models.OutputDlS3ParquetVersion(value)
|
|
698
|
+
except ValueError:
|
|
699
|
+
return value
|
|
700
|
+
return value
|
|
701
|
+
|
|
702
|
+
@field_serializer("parquet_data_page_version")
|
|
703
|
+
def serialize_parquet_data_page_version(self, value):
|
|
704
|
+
if isinstance(value, str):
|
|
705
|
+
try:
|
|
706
|
+
return models.OutputDlS3DataPageVersion(value)
|
|
707
|
+
except ValueError:
|
|
708
|
+
return value
|
|
709
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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 utils
|
|
4
|
+
from cribl_control_plane import models, 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
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -500,3 +501,93 @@ class OutputDynatraceHTTP(BaseModel):
|
|
|
500
501
|
|
|
501
502
|
url: Optional[str] = None
|
|
502
503
|
r"""URL to send events to. Can be overwritten by an event's __url field."""
|
|
504
|
+
|
|
505
|
+
@field_serializer("method")
|
|
506
|
+
def serialize_method(self, value):
|
|
507
|
+
if isinstance(value, str):
|
|
508
|
+
try:
|
|
509
|
+
return models.OutputDynatraceHTTPMethod(value)
|
|
510
|
+
except ValueError:
|
|
511
|
+
return value
|
|
512
|
+
return value
|
|
513
|
+
|
|
514
|
+
@field_serializer("failed_request_logging_mode")
|
|
515
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
516
|
+
if isinstance(value, str):
|
|
517
|
+
try:
|
|
518
|
+
return models.OutputDynatraceHTTPFailedRequestLoggingMode(value)
|
|
519
|
+
except ValueError:
|
|
520
|
+
return value
|
|
521
|
+
return value
|
|
522
|
+
|
|
523
|
+
@field_serializer("on_backpressure")
|
|
524
|
+
def serialize_on_backpressure(self, value):
|
|
525
|
+
if isinstance(value, str):
|
|
526
|
+
try:
|
|
527
|
+
return models.OutputDynatraceHTTPBackpressureBehavior(value)
|
|
528
|
+
except ValueError:
|
|
529
|
+
return value
|
|
530
|
+
return value
|
|
531
|
+
|
|
532
|
+
@field_serializer("auth_type")
|
|
533
|
+
def serialize_auth_type(self, value):
|
|
534
|
+
if isinstance(value, str):
|
|
535
|
+
try:
|
|
536
|
+
return models.OutputDynatraceHTTPAuthenticationType(value)
|
|
537
|
+
except ValueError:
|
|
538
|
+
return value
|
|
539
|
+
return value
|
|
540
|
+
|
|
541
|
+
@field_serializer("format_")
|
|
542
|
+
def serialize_format_(self, value):
|
|
543
|
+
if isinstance(value, str):
|
|
544
|
+
try:
|
|
545
|
+
return models.OutputDynatraceHTTPFormat(value)
|
|
546
|
+
except ValueError:
|
|
547
|
+
return value
|
|
548
|
+
return value
|
|
549
|
+
|
|
550
|
+
@field_serializer("endpoint")
|
|
551
|
+
def serialize_endpoint(self, value):
|
|
552
|
+
if isinstance(value, str):
|
|
553
|
+
try:
|
|
554
|
+
return models.Endpoint(value)
|
|
555
|
+
except ValueError:
|
|
556
|
+
return value
|
|
557
|
+
return value
|
|
558
|
+
|
|
559
|
+
@field_serializer("telemetry_type")
|
|
560
|
+
def serialize_telemetry_type(self, value):
|
|
561
|
+
if isinstance(value, str):
|
|
562
|
+
try:
|
|
563
|
+
return models.TelemetryType(value)
|
|
564
|
+
except ValueError:
|
|
565
|
+
return value
|
|
566
|
+
return value
|
|
567
|
+
|
|
568
|
+
@field_serializer("pq_mode")
|
|
569
|
+
def serialize_pq_mode(self, value):
|
|
570
|
+
if isinstance(value, str):
|
|
571
|
+
try:
|
|
572
|
+
return models.OutputDynatraceHTTPMode(value)
|
|
573
|
+
except ValueError:
|
|
574
|
+
return value
|
|
575
|
+
return value
|
|
576
|
+
|
|
577
|
+
@field_serializer("pq_compress")
|
|
578
|
+
def serialize_pq_compress(self, value):
|
|
579
|
+
if isinstance(value, str):
|
|
580
|
+
try:
|
|
581
|
+
return models.OutputDynatraceHTTPCompression(value)
|
|
582
|
+
except ValueError:
|
|
583
|
+
return value
|
|
584
|
+
return value
|
|
585
|
+
|
|
586
|
+
@field_serializer("pq_on_backpressure")
|
|
587
|
+
def serialize_pq_on_backpressure(self, value):
|
|
588
|
+
if isinstance(value, str):
|
|
589
|
+
try:
|
|
590
|
+
return models.OutputDynatraceHTTPQueueFullBehavior(value)
|
|
591
|
+
except ValueError:
|
|
592
|
+
return value
|
|
593
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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 utils
|
|
4
|
+
from cribl_control_plane import models, 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
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -532,3 +533,93 @@ class OutputDynatraceOtlp(BaseModel):
|
|
|
532
533
|
pq_controls: Annotated[
|
|
533
534
|
Optional[OutputDynatraceOtlpPqControls], pydantic.Field(alias="pqControls")
|
|
534
535
|
] = None
|
|
536
|
+
|
|
537
|
+
@field_serializer("protocol")
|
|
538
|
+
def serialize_protocol(self, value):
|
|
539
|
+
if isinstance(value, str):
|
|
540
|
+
try:
|
|
541
|
+
return models.OutputDynatraceOtlpProtocol(value)
|
|
542
|
+
except ValueError:
|
|
543
|
+
return value
|
|
544
|
+
return value
|
|
545
|
+
|
|
546
|
+
@field_serializer("otlp_version")
|
|
547
|
+
def serialize_otlp_version(self, value):
|
|
548
|
+
if isinstance(value, str):
|
|
549
|
+
try:
|
|
550
|
+
return models.OutputDynatraceOTLPOTLPVersion(value)
|
|
551
|
+
except ValueError:
|
|
552
|
+
return value
|
|
553
|
+
return value
|
|
554
|
+
|
|
555
|
+
@field_serializer("compress")
|
|
556
|
+
def serialize_compress(self, value):
|
|
557
|
+
if isinstance(value, str):
|
|
558
|
+
try:
|
|
559
|
+
return models.OutputDynatraceOtlpCompressCompression(value)
|
|
560
|
+
except ValueError:
|
|
561
|
+
return value
|
|
562
|
+
return value
|
|
563
|
+
|
|
564
|
+
@field_serializer("http_compress")
|
|
565
|
+
def serialize_http_compress(self, value):
|
|
566
|
+
if isinstance(value, str):
|
|
567
|
+
try:
|
|
568
|
+
return models.OutputDynatraceOtlpHTTPCompressCompression(value)
|
|
569
|
+
except ValueError:
|
|
570
|
+
return value
|
|
571
|
+
return value
|
|
572
|
+
|
|
573
|
+
@field_serializer("failed_request_logging_mode")
|
|
574
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
575
|
+
if isinstance(value, str):
|
|
576
|
+
try:
|
|
577
|
+
return models.OutputDynatraceOtlpFailedRequestLoggingMode(value)
|
|
578
|
+
except ValueError:
|
|
579
|
+
return value
|
|
580
|
+
return value
|
|
581
|
+
|
|
582
|
+
@field_serializer("endpoint_type")
|
|
583
|
+
def serialize_endpoint_type(self, value):
|
|
584
|
+
if isinstance(value, str):
|
|
585
|
+
try:
|
|
586
|
+
return models.EndpointType(value)
|
|
587
|
+
except ValueError:
|
|
588
|
+
return value
|
|
589
|
+
return value
|
|
590
|
+
|
|
591
|
+
@field_serializer("on_backpressure")
|
|
592
|
+
def serialize_on_backpressure(self, value):
|
|
593
|
+
if isinstance(value, str):
|
|
594
|
+
try:
|
|
595
|
+
return models.OutputDynatraceOtlpBackpressureBehavior(value)
|
|
596
|
+
except ValueError:
|
|
597
|
+
return value
|
|
598
|
+
return value
|
|
599
|
+
|
|
600
|
+
@field_serializer("pq_mode")
|
|
601
|
+
def serialize_pq_mode(self, value):
|
|
602
|
+
if isinstance(value, str):
|
|
603
|
+
try:
|
|
604
|
+
return models.OutputDynatraceOtlpMode(value)
|
|
605
|
+
except ValueError:
|
|
606
|
+
return value
|
|
607
|
+
return value
|
|
608
|
+
|
|
609
|
+
@field_serializer("pq_compress")
|
|
610
|
+
def serialize_pq_compress(self, value):
|
|
611
|
+
if isinstance(value, str):
|
|
612
|
+
try:
|
|
613
|
+
return models.OutputDynatraceOtlpPqCompressCompression(value)
|
|
614
|
+
except ValueError:
|
|
615
|
+
return value
|
|
616
|
+
return value
|
|
617
|
+
|
|
618
|
+
@field_serializer("pq_on_backpressure")
|
|
619
|
+
def serialize_pq_on_backpressure(self, value):
|
|
620
|
+
if isinstance(value, str):
|
|
621
|
+
try:
|
|
622
|
+
return models.OutputDynatraceOtlpQueueFullBehavior(value)
|
|
623
|
+
except ValueError:
|
|
624
|
+
return value
|
|
625
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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 utils
|
|
4
|
+
from cribl_control_plane import models, 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
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -154,6 +155,15 @@ class OutputElasticAuth(BaseModel):
|
|
|
154
155
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
155
156
|
r"""Select or create a stored text secret"""
|
|
156
157
|
|
|
158
|
+
@field_serializer("auth_type")
|
|
159
|
+
def serialize_auth_type(self, value):
|
|
160
|
+
if isinstance(value, str):
|
|
161
|
+
try:
|
|
162
|
+
return models.OutputElasticAuthenticationMethod(value)
|
|
163
|
+
except ValueError:
|
|
164
|
+
return value
|
|
165
|
+
return value
|
|
166
|
+
|
|
157
167
|
|
|
158
168
|
class ElasticVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
159
169
|
r"""Optional Elasticsearch version, used to format events. If not specified, will auto-discover version."""
|
|
@@ -563,3 +573,66 @@ class OutputElastic(BaseModel):
|
|
|
563
573
|
pq_controls: Annotated[
|
|
564
574
|
Optional[OutputElasticPqControls], pydantic.Field(alias="pqControls")
|
|
565
575
|
] = None
|
|
576
|
+
|
|
577
|
+
@field_serializer("failed_request_logging_mode")
|
|
578
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
579
|
+
if isinstance(value, str):
|
|
580
|
+
try:
|
|
581
|
+
return models.OutputElasticFailedRequestLoggingMode(value)
|
|
582
|
+
except ValueError:
|
|
583
|
+
return value
|
|
584
|
+
return value
|
|
585
|
+
|
|
586
|
+
@field_serializer("elastic_version")
|
|
587
|
+
def serialize_elastic_version(self, value):
|
|
588
|
+
if isinstance(value, str):
|
|
589
|
+
try:
|
|
590
|
+
return models.ElasticVersion(value)
|
|
591
|
+
except ValueError:
|
|
592
|
+
return value
|
|
593
|
+
return value
|
|
594
|
+
|
|
595
|
+
@field_serializer("write_action")
|
|
596
|
+
def serialize_write_action(self, value):
|
|
597
|
+
if isinstance(value, str):
|
|
598
|
+
try:
|
|
599
|
+
return models.WriteAction(value)
|
|
600
|
+
except ValueError:
|
|
601
|
+
return value
|
|
602
|
+
return value
|
|
603
|
+
|
|
604
|
+
@field_serializer("on_backpressure")
|
|
605
|
+
def serialize_on_backpressure(self, value):
|
|
606
|
+
if isinstance(value, str):
|
|
607
|
+
try:
|
|
608
|
+
return models.OutputElasticBackpressureBehavior(value)
|
|
609
|
+
except ValueError:
|
|
610
|
+
return value
|
|
611
|
+
return value
|
|
612
|
+
|
|
613
|
+
@field_serializer("pq_mode")
|
|
614
|
+
def serialize_pq_mode(self, value):
|
|
615
|
+
if isinstance(value, str):
|
|
616
|
+
try:
|
|
617
|
+
return models.OutputElasticMode(value)
|
|
618
|
+
except ValueError:
|
|
619
|
+
return value
|
|
620
|
+
return value
|
|
621
|
+
|
|
622
|
+
@field_serializer("pq_compress")
|
|
623
|
+
def serialize_pq_compress(self, value):
|
|
624
|
+
if isinstance(value, str):
|
|
625
|
+
try:
|
|
626
|
+
return models.OutputElasticCompression(value)
|
|
627
|
+
except ValueError:
|
|
628
|
+
return value
|
|
629
|
+
return value
|
|
630
|
+
|
|
631
|
+
@field_serializer("pq_on_backpressure")
|
|
632
|
+
def serialize_pq_on_backpressure(self, value):
|
|
633
|
+
if isinstance(value, str):
|
|
634
|
+
try:
|
|
635
|
+
return models.OutputElasticQueueFullBehavior(value)
|
|
636
|
+
except ValueError:
|
|
637
|
+
return value
|
|
638
|
+
return value
|