cribl-control-plane 0.3.0b6__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 +3 -3
- 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 +0 -11
- 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.0b6.dist-info → cribl_control_plane-0.3.0b7.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.3.0b6.dist-info → cribl_control_plane-0.3.0b7.dist-info}/RECORD +149 -149
- {cribl_control_plane-0.3.0b6.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
|
|
@@ -274,24 +273,6 @@ class OutputOpenTelemetryTLSSettingsClientSide(BaseModel):
|
|
|
274
273
|
pydantic.Field(alias="maxVersion"),
|
|
275
274
|
] = None
|
|
276
275
|
|
|
277
|
-
@field_serializer("min_version")
|
|
278
|
-
def serialize_min_version(self, value):
|
|
279
|
-
if isinstance(value, str):
|
|
280
|
-
try:
|
|
281
|
-
return models.OutputOpenTelemetryMinimumTLSVersion(value)
|
|
282
|
-
except ValueError:
|
|
283
|
-
return value
|
|
284
|
-
return value
|
|
285
|
-
|
|
286
|
-
@field_serializer("max_version")
|
|
287
|
-
def serialize_max_version(self, value):
|
|
288
|
-
if isinstance(value, str):
|
|
289
|
-
try:
|
|
290
|
-
return models.OutputOpenTelemetryMaximumTLSVersion(value)
|
|
291
|
-
except ValueError:
|
|
292
|
-
return value
|
|
293
|
-
return value
|
|
294
|
-
|
|
295
276
|
|
|
296
277
|
class OutputOpenTelemetryMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
297
278
|
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."""
|
|
@@ -736,93 +717,3 @@ class OutputOpenTelemetry(BaseModel):
|
|
|
736
717
|
pq_controls: Annotated[
|
|
737
718
|
Optional[OutputOpenTelemetryPqControls], pydantic.Field(alias="pqControls")
|
|
738
719
|
] = None
|
|
739
|
-
|
|
740
|
-
@field_serializer("protocol")
|
|
741
|
-
def serialize_protocol(self, value):
|
|
742
|
-
if isinstance(value, str):
|
|
743
|
-
try:
|
|
744
|
-
return models.OutputOpenTelemetryProtocol(value)
|
|
745
|
-
except ValueError:
|
|
746
|
-
return value
|
|
747
|
-
return value
|
|
748
|
-
|
|
749
|
-
@field_serializer("otlp_version")
|
|
750
|
-
def serialize_otlp_version(self, value):
|
|
751
|
-
if isinstance(value, str):
|
|
752
|
-
try:
|
|
753
|
-
return models.OutputOpenTelemetryOTLPVersion(value)
|
|
754
|
-
except ValueError:
|
|
755
|
-
return value
|
|
756
|
-
return value
|
|
757
|
-
|
|
758
|
-
@field_serializer("compress")
|
|
759
|
-
def serialize_compress(self, value):
|
|
760
|
-
if isinstance(value, str):
|
|
761
|
-
try:
|
|
762
|
-
return models.OutputOpenTelemetryCompressCompression(value)
|
|
763
|
-
except ValueError:
|
|
764
|
-
return value
|
|
765
|
-
return value
|
|
766
|
-
|
|
767
|
-
@field_serializer("http_compress")
|
|
768
|
-
def serialize_http_compress(self, value):
|
|
769
|
-
if isinstance(value, str):
|
|
770
|
-
try:
|
|
771
|
-
return models.OutputOpenTelemetryHTTPCompressCompression(value)
|
|
772
|
-
except ValueError:
|
|
773
|
-
return value
|
|
774
|
-
return value
|
|
775
|
-
|
|
776
|
-
@field_serializer("auth_type")
|
|
777
|
-
def serialize_auth_type(self, value):
|
|
778
|
-
if isinstance(value, str):
|
|
779
|
-
try:
|
|
780
|
-
return models.OutputOpenTelemetryAuthenticationType(value)
|
|
781
|
-
except ValueError:
|
|
782
|
-
return value
|
|
783
|
-
return value
|
|
784
|
-
|
|
785
|
-
@field_serializer("failed_request_logging_mode")
|
|
786
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
787
|
-
if isinstance(value, str):
|
|
788
|
-
try:
|
|
789
|
-
return models.OutputOpenTelemetryFailedRequestLoggingMode(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.OutputOpenTelemetryBackpressureBehavior(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.OutputOpenTelemetryMode(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.OutputOpenTelemetryPqCompressCompression(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.OutputOpenTelemetryQueueFullBehavior(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
|
|
@@ -525,57 +524,3 @@ class OutputPrometheus(BaseModel):
|
|
|
525
524
|
pydantic.Field(alias="oauthHeaders"),
|
|
526
525
|
] = None
|
|
527
526
|
r"""Additional headers to send in the OAuth login request. @{product} will automatically add the content-type header 'application/x-www-form-urlencoded' when sending this request."""
|
|
528
|
-
|
|
529
|
-
@field_serializer("failed_request_logging_mode")
|
|
530
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
531
|
-
if isinstance(value, str):
|
|
532
|
-
try:
|
|
533
|
-
return models.OutputPrometheusFailedRequestLoggingMode(value)
|
|
534
|
-
except ValueError:
|
|
535
|
-
return value
|
|
536
|
-
return value
|
|
537
|
-
|
|
538
|
-
@field_serializer("on_backpressure")
|
|
539
|
-
def serialize_on_backpressure(self, value):
|
|
540
|
-
if isinstance(value, str):
|
|
541
|
-
try:
|
|
542
|
-
return models.OutputPrometheusBackpressureBehavior(value)
|
|
543
|
-
except ValueError:
|
|
544
|
-
return value
|
|
545
|
-
return value
|
|
546
|
-
|
|
547
|
-
@field_serializer("auth_type")
|
|
548
|
-
def serialize_auth_type(self, value):
|
|
549
|
-
if isinstance(value, str):
|
|
550
|
-
try:
|
|
551
|
-
return models.OutputPrometheusAuthenticationType(value)
|
|
552
|
-
except ValueError:
|
|
553
|
-
return value
|
|
554
|
-
return value
|
|
555
|
-
|
|
556
|
-
@field_serializer("pq_mode")
|
|
557
|
-
def serialize_pq_mode(self, value):
|
|
558
|
-
if isinstance(value, str):
|
|
559
|
-
try:
|
|
560
|
-
return models.OutputPrometheusMode(value)
|
|
561
|
-
except ValueError:
|
|
562
|
-
return value
|
|
563
|
-
return value
|
|
564
|
-
|
|
565
|
-
@field_serializer("pq_compress")
|
|
566
|
-
def serialize_pq_compress(self, value):
|
|
567
|
-
if isinstance(value, str):
|
|
568
|
-
try:
|
|
569
|
-
return models.OutputPrometheusCompression(value)
|
|
570
|
-
except ValueError:
|
|
571
|
-
return value
|
|
572
|
-
return value
|
|
573
|
-
|
|
574
|
-
@field_serializer("pq_on_backpressure")
|
|
575
|
-
def serialize_pq_on_backpressure(self, value):
|
|
576
|
-
if isinstance(value, str):
|
|
577
|
-
try:
|
|
578
|
-
return models.OutputPrometheusQueueFullBehavior(value)
|
|
579
|
-
except ValueError:
|
|
580
|
-
return value
|
|
581
|
-
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
|
|
@@ -122,30 +121,3 @@ class OutputRing(BaseModel):
|
|
|
122
121
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
123
122
|
|
|
124
123
|
description: Optional[str] = None
|
|
125
|
-
|
|
126
|
-
@field_serializer("format_")
|
|
127
|
-
def serialize_format_(self, value):
|
|
128
|
-
if isinstance(value, str):
|
|
129
|
-
try:
|
|
130
|
-
return models.OutputRingDataFormat(value)
|
|
131
|
-
except ValueError:
|
|
132
|
-
return value
|
|
133
|
-
return value
|
|
134
|
-
|
|
135
|
-
@field_serializer("compress")
|
|
136
|
-
def serialize_compress(self, value):
|
|
137
|
-
if isinstance(value, str):
|
|
138
|
-
try:
|
|
139
|
-
return models.OutputRingDataCompressionFormat(value)
|
|
140
|
-
except ValueError:
|
|
141
|
-
return value
|
|
142
|
-
return value
|
|
143
|
-
|
|
144
|
-
@field_serializer("on_backpressure")
|
|
145
|
-
def serialize_on_backpressure(self, value):
|
|
146
|
-
if isinstance(value, str):
|
|
147
|
-
try:
|
|
148
|
-
return models.OutputRingBackpressureBehavior(value)
|
|
149
|
-
except ValueError:
|
|
150
|
-
return value
|
|
151
|
-
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
|
|
@@ -595,111 +594,3 @@ class OutputS3(BaseModel):
|
|
|
595
594
|
|
|
596
595
|
max_retry_num: Annotated[Optional[float], pydantic.Field(alias="maxRetryNum")] = 20
|
|
597
596
|
r"""The maximum number of times a file will attempt to move to its final destination before being dead-lettered"""
|
|
598
|
-
|
|
599
|
-
@field_serializer("aws_authentication_method")
|
|
600
|
-
def serialize_aws_authentication_method(self, value):
|
|
601
|
-
if isinstance(value, str):
|
|
602
|
-
try:
|
|
603
|
-
return models.OutputS3AuthenticationMethod(value)
|
|
604
|
-
except ValueError:
|
|
605
|
-
return value
|
|
606
|
-
return value
|
|
607
|
-
|
|
608
|
-
@field_serializer("signature_version")
|
|
609
|
-
def serialize_signature_version(self, value):
|
|
610
|
-
if isinstance(value, str):
|
|
611
|
-
try:
|
|
612
|
-
return models.OutputS3SignatureVersion(value)
|
|
613
|
-
except ValueError:
|
|
614
|
-
return value
|
|
615
|
-
return value
|
|
616
|
-
|
|
617
|
-
@field_serializer("object_acl")
|
|
618
|
-
def serialize_object_acl(self, value):
|
|
619
|
-
if isinstance(value, str):
|
|
620
|
-
try:
|
|
621
|
-
return models.OutputS3ObjectACL(value)
|
|
622
|
-
except ValueError:
|
|
623
|
-
return value
|
|
624
|
-
return value
|
|
625
|
-
|
|
626
|
-
@field_serializer("storage_class")
|
|
627
|
-
def serialize_storage_class(self, value):
|
|
628
|
-
if isinstance(value, str):
|
|
629
|
-
try:
|
|
630
|
-
return models.OutputS3StorageClass(value)
|
|
631
|
-
except ValueError:
|
|
632
|
-
return value
|
|
633
|
-
return value
|
|
634
|
-
|
|
635
|
-
@field_serializer("server_side_encryption")
|
|
636
|
-
def serialize_server_side_encryption(self, value):
|
|
637
|
-
if isinstance(value, str):
|
|
638
|
-
try:
|
|
639
|
-
return models.OutputS3ServerSideEncryptionForUploadedObjects(value)
|
|
640
|
-
except ValueError:
|
|
641
|
-
return value
|
|
642
|
-
return value
|
|
643
|
-
|
|
644
|
-
@field_serializer("format_")
|
|
645
|
-
def serialize_format_(self, value):
|
|
646
|
-
if isinstance(value, str):
|
|
647
|
-
try:
|
|
648
|
-
return models.OutputS3DataFormat(value)
|
|
649
|
-
except ValueError:
|
|
650
|
-
return value
|
|
651
|
-
return value
|
|
652
|
-
|
|
653
|
-
@field_serializer("on_backpressure")
|
|
654
|
-
def serialize_on_backpressure(self, value):
|
|
655
|
-
if isinstance(value, str):
|
|
656
|
-
try:
|
|
657
|
-
return models.OutputS3BackpressureBehavior(value)
|
|
658
|
-
except ValueError:
|
|
659
|
-
return value
|
|
660
|
-
return value
|
|
661
|
-
|
|
662
|
-
@field_serializer("on_disk_full_backpressure")
|
|
663
|
-
def serialize_on_disk_full_backpressure(self, value):
|
|
664
|
-
if isinstance(value, str):
|
|
665
|
-
try:
|
|
666
|
-
return models.OutputS3DiskSpaceProtection(value)
|
|
667
|
-
except ValueError:
|
|
668
|
-
return value
|
|
669
|
-
return value
|
|
670
|
-
|
|
671
|
-
@field_serializer("compress")
|
|
672
|
-
def serialize_compress(self, value):
|
|
673
|
-
if isinstance(value, str):
|
|
674
|
-
try:
|
|
675
|
-
return models.OutputS3Compression(value)
|
|
676
|
-
except ValueError:
|
|
677
|
-
return value
|
|
678
|
-
return value
|
|
679
|
-
|
|
680
|
-
@field_serializer("compression_level")
|
|
681
|
-
def serialize_compression_level(self, value):
|
|
682
|
-
if isinstance(value, str):
|
|
683
|
-
try:
|
|
684
|
-
return models.OutputS3CompressionLevel(value)
|
|
685
|
-
except ValueError:
|
|
686
|
-
return value
|
|
687
|
-
return value
|
|
688
|
-
|
|
689
|
-
@field_serializer("parquet_version")
|
|
690
|
-
def serialize_parquet_version(self, value):
|
|
691
|
-
if isinstance(value, str):
|
|
692
|
-
try:
|
|
693
|
-
return models.OutputS3ParquetVersion(value)
|
|
694
|
-
except ValueError:
|
|
695
|
-
return value
|
|
696
|
-
return value
|
|
697
|
-
|
|
698
|
-
@field_serializer("parquet_data_page_version")
|
|
699
|
-
def serialize_parquet_data_page_version(self, value):
|
|
700
|
-
if isinstance(value, str):
|
|
701
|
-
try:
|
|
702
|
-
return models.OutputS3DataPageVersion(value)
|
|
703
|
-
except ValueError:
|
|
704
|
-
return value
|
|
705
|
-
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
|
|
@@ -531,86 +530,3 @@ class OutputSecurityLake(BaseModel):
|
|
|
531
530
|
|
|
532
531
|
max_retry_num: Annotated[Optional[float], pydantic.Field(alias="maxRetryNum")] = 20
|
|
533
532
|
r"""The maximum number of times a file will attempt to move to its final destination before being dead-lettered"""
|
|
534
|
-
|
|
535
|
-
@field_serializer("aws_authentication_method")
|
|
536
|
-
def serialize_aws_authentication_method(self, value):
|
|
537
|
-
if isinstance(value, str):
|
|
538
|
-
try:
|
|
539
|
-
return models.OutputSecurityLakeAuthenticationMethod(value)
|
|
540
|
-
except ValueError:
|
|
541
|
-
return value
|
|
542
|
-
return value
|
|
543
|
-
|
|
544
|
-
@field_serializer("signature_version")
|
|
545
|
-
def serialize_signature_version(self, value):
|
|
546
|
-
if isinstance(value, str):
|
|
547
|
-
try:
|
|
548
|
-
return models.OutputSecurityLakeSignatureVersion(value)
|
|
549
|
-
except ValueError:
|
|
550
|
-
return value
|
|
551
|
-
return value
|
|
552
|
-
|
|
553
|
-
@field_serializer("object_acl")
|
|
554
|
-
def serialize_object_acl(self, value):
|
|
555
|
-
if isinstance(value, str):
|
|
556
|
-
try:
|
|
557
|
-
return models.OutputSecurityLakeObjectACL(value)
|
|
558
|
-
except ValueError:
|
|
559
|
-
return value
|
|
560
|
-
return value
|
|
561
|
-
|
|
562
|
-
@field_serializer("storage_class")
|
|
563
|
-
def serialize_storage_class(self, value):
|
|
564
|
-
if isinstance(value, str):
|
|
565
|
-
try:
|
|
566
|
-
return models.OutputSecurityLakeStorageClass(value)
|
|
567
|
-
except ValueError:
|
|
568
|
-
return value
|
|
569
|
-
return value
|
|
570
|
-
|
|
571
|
-
@field_serializer("server_side_encryption")
|
|
572
|
-
def serialize_server_side_encryption(self, value):
|
|
573
|
-
if isinstance(value, str):
|
|
574
|
-
try:
|
|
575
|
-
return models.OutputSecurityLakeServerSideEncryptionForUploadedObjects(
|
|
576
|
-
value
|
|
577
|
-
)
|
|
578
|
-
except ValueError:
|
|
579
|
-
return value
|
|
580
|
-
return value
|
|
581
|
-
|
|
582
|
-
@field_serializer("on_backpressure")
|
|
583
|
-
def serialize_on_backpressure(self, value):
|
|
584
|
-
if isinstance(value, str):
|
|
585
|
-
try:
|
|
586
|
-
return models.OutputSecurityLakeBackpressureBehavior(value)
|
|
587
|
-
except ValueError:
|
|
588
|
-
return value
|
|
589
|
-
return value
|
|
590
|
-
|
|
591
|
-
@field_serializer("on_disk_full_backpressure")
|
|
592
|
-
def serialize_on_disk_full_backpressure(self, value):
|
|
593
|
-
if isinstance(value, str):
|
|
594
|
-
try:
|
|
595
|
-
return models.OutputSecurityLakeDiskSpaceProtection(value)
|
|
596
|
-
except ValueError:
|
|
597
|
-
return value
|
|
598
|
-
return value
|
|
599
|
-
|
|
600
|
-
@field_serializer("parquet_version")
|
|
601
|
-
def serialize_parquet_version(self, value):
|
|
602
|
-
if isinstance(value, str):
|
|
603
|
-
try:
|
|
604
|
-
return models.OutputSecurityLakeParquetVersion(value)
|
|
605
|
-
except ValueError:
|
|
606
|
-
return value
|
|
607
|
-
return value
|
|
608
|
-
|
|
609
|
-
@field_serializer("parquet_data_page_version")
|
|
610
|
-
def serialize_parquet_data_page_version(self, value):
|
|
611
|
-
if isinstance(value, str):
|
|
612
|
-
try:
|
|
613
|
-
return models.OutputSecurityLakeDataPageVersion(value)
|
|
614
|
-
except ValueError:
|
|
615
|
-
return value
|
|
616
|
-
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
|
|
@@ -528,75 +527,3 @@ class OutputSentinel(BaseModel):
|
|
|
528
527
|
|
|
529
528
|
stream_name: Annotated[Optional[str], pydantic.Field(alias="streamName")] = None
|
|
530
529
|
r"""The name of the stream (Sentinel table) in which to store the events"""
|
|
531
|
-
|
|
532
|
-
@field_serializer("failed_request_logging_mode")
|
|
533
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
534
|
-
if isinstance(value, str):
|
|
535
|
-
try:
|
|
536
|
-
return models.OutputSentinelFailedRequestLoggingMode(value)
|
|
537
|
-
except ValueError:
|
|
538
|
-
return value
|
|
539
|
-
return value
|
|
540
|
-
|
|
541
|
-
@field_serializer("on_backpressure")
|
|
542
|
-
def serialize_on_backpressure(self, value):
|
|
543
|
-
if isinstance(value, str):
|
|
544
|
-
try:
|
|
545
|
-
return models.OutputSentinelBackpressureBehavior(value)
|
|
546
|
-
except ValueError:
|
|
547
|
-
return value
|
|
548
|
-
return value
|
|
549
|
-
|
|
550
|
-
@field_serializer("auth_type")
|
|
551
|
-
def serialize_auth_type(self, value):
|
|
552
|
-
if isinstance(value, str):
|
|
553
|
-
try:
|
|
554
|
-
return models.AuthType(value)
|
|
555
|
-
except ValueError:
|
|
556
|
-
return value
|
|
557
|
-
return value
|
|
558
|
-
|
|
559
|
-
@field_serializer("endpoint_url_configuration")
|
|
560
|
-
def serialize_endpoint_url_configuration(self, value):
|
|
561
|
-
if isinstance(value, str):
|
|
562
|
-
try:
|
|
563
|
-
return models.EndpointConfiguration(value)
|
|
564
|
-
except ValueError:
|
|
565
|
-
return value
|
|
566
|
-
return value
|
|
567
|
-
|
|
568
|
-
@field_serializer("format_")
|
|
569
|
-
def serialize_format_(self, value):
|
|
570
|
-
if isinstance(value, str):
|
|
571
|
-
try:
|
|
572
|
-
return models.OutputSentinelFormat(value)
|
|
573
|
-
except ValueError:
|
|
574
|
-
return value
|
|
575
|
-
return value
|
|
576
|
-
|
|
577
|
-
@field_serializer("pq_mode")
|
|
578
|
-
def serialize_pq_mode(self, value):
|
|
579
|
-
if isinstance(value, str):
|
|
580
|
-
try:
|
|
581
|
-
return models.OutputSentinelMode(value)
|
|
582
|
-
except ValueError:
|
|
583
|
-
return value
|
|
584
|
-
return value
|
|
585
|
-
|
|
586
|
-
@field_serializer("pq_compress")
|
|
587
|
-
def serialize_pq_compress(self, value):
|
|
588
|
-
if isinstance(value, str):
|
|
589
|
-
try:
|
|
590
|
-
return models.OutputSentinelCompression(value)
|
|
591
|
-
except ValueError:
|
|
592
|
-
return value
|
|
593
|
-
return value
|
|
594
|
-
|
|
595
|
-
@field_serializer("pq_on_backpressure")
|
|
596
|
-
def serialize_pq_on_backpressure(self, value):
|
|
597
|
-
if isinstance(value, str):
|
|
598
|
-
try:
|
|
599
|
-
return models.OutputSentinelQueueFullBehavior(value)
|
|
600
|
-
except ValueError:
|
|
601
|
-
return value
|
|
602
|
-
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
|
|
@@ -543,75 +542,3 @@ class OutputSentinelOneAiSiem(BaseModel):
|
|
|
543
542
|
pq_controls: Annotated[
|
|
544
543
|
Optional[OutputSentinelOneAiSiemPqControls], pydantic.Field(alias="pqControls")
|
|
545
544
|
] = None
|
|
546
|
-
|
|
547
|
-
@field_serializer("region")
|
|
548
|
-
def serialize_region(self, value):
|
|
549
|
-
if isinstance(value, str):
|
|
550
|
-
try:
|
|
551
|
-
return models.OutputSentinelOneAiSiemRegion(value)
|
|
552
|
-
except ValueError:
|
|
553
|
-
return value
|
|
554
|
-
return value
|
|
555
|
-
|
|
556
|
-
@field_serializer("endpoint")
|
|
557
|
-
def serialize_endpoint(self, value):
|
|
558
|
-
if isinstance(value, str):
|
|
559
|
-
try:
|
|
560
|
-
return models.AISIEMEndpointPath(value)
|
|
561
|
-
except ValueError:
|
|
562
|
-
return value
|
|
563
|
-
return value
|
|
564
|
-
|
|
565
|
-
@field_serializer("failed_request_logging_mode")
|
|
566
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
567
|
-
if isinstance(value, str):
|
|
568
|
-
try:
|
|
569
|
-
return models.OutputSentinelOneAiSiemFailedRequestLoggingMode(value)
|
|
570
|
-
except ValueError:
|
|
571
|
-
return value
|
|
572
|
-
return value
|
|
573
|
-
|
|
574
|
-
@field_serializer("auth_type")
|
|
575
|
-
def serialize_auth_type(self, value):
|
|
576
|
-
if isinstance(value, str):
|
|
577
|
-
try:
|
|
578
|
-
return models.OutputSentinelOneAiSiemAuthenticationMethod(value)
|
|
579
|
-
except ValueError:
|
|
580
|
-
return value
|
|
581
|
-
return value
|
|
582
|
-
|
|
583
|
-
@field_serializer("on_backpressure")
|
|
584
|
-
def serialize_on_backpressure(self, value):
|
|
585
|
-
if isinstance(value, str):
|
|
586
|
-
try:
|
|
587
|
-
return models.OutputSentinelOneAiSiemBackpressureBehavior(value)
|
|
588
|
-
except ValueError:
|
|
589
|
-
return value
|
|
590
|
-
return value
|
|
591
|
-
|
|
592
|
-
@field_serializer("pq_mode")
|
|
593
|
-
def serialize_pq_mode(self, value):
|
|
594
|
-
if isinstance(value, str):
|
|
595
|
-
try:
|
|
596
|
-
return models.OutputSentinelOneAiSiemMode(value)
|
|
597
|
-
except ValueError:
|
|
598
|
-
return value
|
|
599
|
-
return value
|
|
600
|
-
|
|
601
|
-
@field_serializer("pq_compress")
|
|
602
|
-
def serialize_pq_compress(self, value):
|
|
603
|
-
if isinstance(value, str):
|
|
604
|
-
try:
|
|
605
|
-
return models.OutputSentinelOneAiSiemCompression(value)
|
|
606
|
-
except ValueError:
|
|
607
|
-
return value
|
|
608
|
-
return value
|
|
609
|
-
|
|
610
|
-
@field_serializer("pq_on_backpressure")
|
|
611
|
-
def serialize_pq_on_backpressure(self, value):
|
|
612
|
-
if isinstance(value, str):
|
|
613
|
-
try:
|
|
614
|
-
return models.OutputSentinelOneAiSiemQueueFullBehavior(value)
|
|
615
|
-
except ValueError:
|
|
616
|
-
return value
|
|
617
|
-
return value
|