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
|
|
@@ -310,3 +311,48 @@ class OutputCloudwatch(BaseModel):
|
|
|
310
311
|
pq_controls: Annotated[
|
|
311
312
|
Optional[OutputCloudwatchPqControls], pydantic.Field(alias="pqControls")
|
|
312
313
|
] = None
|
|
314
|
+
|
|
315
|
+
@field_serializer("aws_authentication_method")
|
|
316
|
+
def serialize_aws_authentication_method(self, value):
|
|
317
|
+
if isinstance(value, str):
|
|
318
|
+
try:
|
|
319
|
+
return models.OutputCloudwatchAuthenticationMethod(value)
|
|
320
|
+
except ValueError:
|
|
321
|
+
return value
|
|
322
|
+
return value
|
|
323
|
+
|
|
324
|
+
@field_serializer("on_backpressure")
|
|
325
|
+
def serialize_on_backpressure(self, value):
|
|
326
|
+
if isinstance(value, str):
|
|
327
|
+
try:
|
|
328
|
+
return models.OutputCloudwatchBackpressureBehavior(value)
|
|
329
|
+
except ValueError:
|
|
330
|
+
return value
|
|
331
|
+
return value
|
|
332
|
+
|
|
333
|
+
@field_serializer("pq_mode")
|
|
334
|
+
def serialize_pq_mode(self, value):
|
|
335
|
+
if isinstance(value, str):
|
|
336
|
+
try:
|
|
337
|
+
return models.OutputCloudwatchMode(value)
|
|
338
|
+
except ValueError:
|
|
339
|
+
return value
|
|
340
|
+
return value
|
|
341
|
+
|
|
342
|
+
@field_serializer("pq_compress")
|
|
343
|
+
def serialize_pq_compress(self, value):
|
|
344
|
+
if isinstance(value, str):
|
|
345
|
+
try:
|
|
346
|
+
return models.OutputCloudwatchCompression(value)
|
|
347
|
+
except ValueError:
|
|
348
|
+
return value
|
|
349
|
+
return value
|
|
350
|
+
|
|
351
|
+
@field_serializer("pq_on_backpressure")
|
|
352
|
+
def serialize_pq_on_backpressure(self, value):
|
|
353
|
+
if isinstance(value, str):
|
|
354
|
+
try:
|
|
355
|
+
return models.OutputCloudwatchQueueFullBehavior(value)
|
|
356
|
+
except ValueError:
|
|
357
|
+
return value
|
|
358
|
+
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
|
|
@@ -97,6 +98,24 @@ class OutputConfluentCloudTLSSettingsClientSide(BaseModel):
|
|
|
97
98
|
pydantic.Field(alias="maxVersion"),
|
|
98
99
|
] = None
|
|
99
100
|
|
|
101
|
+
@field_serializer("min_version")
|
|
102
|
+
def serialize_min_version(self, value):
|
|
103
|
+
if isinstance(value, str):
|
|
104
|
+
try:
|
|
105
|
+
return models.OutputConfluentCloudMinimumTLSVersion(value)
|
|
106
|
+
except ValueError:
|
|
107
|
+
return value
|
|
108
|
+
return value
|
|
109
|
+
|
|
110
|
+
@field_serializer("max_version")
|
|
111
|
+
def serialize_max_version(self, value):
|
|
112
|
+
if isinstance(value, str):
|
|
113
|
+
try:
|
|
114
|
+
return models.OutputConfluentCloudMaximumTLSVersion(value)
|
|
115
|
+
except ValueError:
|
|
116
|
+
return value
|
|
117
|
+
return value
|
|
118
|
+
|
|
100
119
|
|
|
101
120
|
class OutputConfluentCloudAcknowledgments(int, Enum, metaclass=utils.OpenEnumMeta):
|
|
102
121
|
r"""Control the number of required acknowledgments."""
|
|
@@ -238,6 +257,28 @@ class OutputConfluentCloudKafkaSchemaRegistryTLSSettingsClientSide(BaseModel):
|
|
|
238
257
|
pydantic.Field(alias="maxVersion"),
|
|
239
258
|
] = None
|
|
240
259
|
|
|
260
|
+
@field_serializer("min_version")
|
|
261
|
+
def serialize_min_version(self, value):
|
|
262
|
+
if isinstance(value, str):
|
|
263
|
+
try:
|
|
264
|
+
return models.OutputConfluentCloudKafkaSchemaRegistryMinimumTLSVersion(
|
|
265
|
+
value
|
|
266
|
+
)
|
|
267
|
+
except ValueError:
|
|
268
|
+
return value
|
|
269
|
+
return value
|
|
270
|
+
|
|
271
|
+
@field_serializer("max_version")
|
|
272
|
+
def serialize_max_version(self, value):
|
|
273
|
+
if isinstance(value, str):
|
|
274
|
+
try:
|
|
275
|
+
return models.OutputConfluentCloudKafkaSchemaRegistryMaximumTLSVersion(
|
|
276
|
+
value
|
|
277
|
+
)
|
|
278
|
+
except ValueError:
|
|
279
|
+
return value
|
|
280
|
+
return value
|
|
281
|
+
|
|
241
282
|
|
|
242
283
|
class OutputConfluentCloudKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
|
|
243
284
|
disabled: NotRequired[bool]
|
|
@@ -442,6 +483,24 @@ class OutputConfluentCloudAuthentication(BaseModel):
|
|
|
442
483
|
] = None
|
|
443
484
|
r"""Additional SASL extension fields, such as Confluent's logicalCluster or identityPoolId"""
|
|
444
485
|
|
|
486
|
+
@field_serializer("auth_type")
|
|
487
|
+
def serialize_auth_type(self, value):
|
|
488
|
+
if isinstance(value, str):
|
|
489
|
+
try:
|
|
490
|
+
return models.OutputConfluentCloudAuthenticationMethod(value)
|
|
491
|
+
except ValueError:
|
|
492
|
+
return value
|
|
493
|
+
return value
|
|
494
|
+
|
|
495
|
+
@field_serializer("mechanism")
|
|
496
|
+
def serialize_mechanism(self, value):
|
|
497
|
+
if isinstance(value, str):
|
|
498
|
+
try:
|
|
499
|
+
return models.OutputConfluentCloudSASLMechanism(value)
|
|
500
|
+
except ValueError:
|
|
501
|
+
return value
|
|
502
|
+
return value
|
|
503
|
+
|
|
445
504
|
|
|
446
505
|
class OutputConfluentCloudBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
447
506
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
@@ -763,3 +822,66 @@ class OutputConfluentCloud(BaseModel):
|
|
|
763
822
|
pq_controls: Annotated[
|
|
764
823
|
Optional[OutputConfluentCloudPqControls], pydantic.Field(alias="pqControls")
|
|
765
824
|
] = None
|
|
825
|
+
|
|
826
|
+
@field_serializer("ack")
|
|
827
|
+
def serialize_ack(self, value):
|
|
828
|
+
if isinstance(value, str):
|
|
829
|
+
try:
|
|
830
|
+
return models.OutputConfluentCloudAcknowledgments(value)
|
|
831
|
+
except ValueError:
|
|
832
|
+
return value
|
|
833
|
+
return value
|
|
834
|
+
|
|
835
|
+
@field_serializer("format_")
|
|
836
|
+
def serialize_format_(self, value):
|
|
837
|
+
if isinstance(value, str):
|
|
838
|
+
try:
|
|
839
|
+
return models.OutputConfluentCloudRecordDataFormat(value)
|
|
840
|
+
except ValueError:
|
|
841
|
+
return value
|
|
842
|
+
return value
|
|
843
|
+
|
|
844
|
+
@field_serializer("compression")
|
|
845
|
+
def serialize_compression(self, value):
|
|
846
|
+
if isinstance(value, str):
|
|
847
|
+
try:
|
|
848
|
+
return models.OutputConfluentCloudCompression(value)
|
|
849
|
+
except ValueError:
|
|
850
|
+
return value
|
|
851
|
+
return value
|
|
852
|
+
|
|
853
|
+
@field_serializer("on_backpressure")
|
|
854
|
+
def serialize_on_backpressure(self, value):
|
|
855
|
+
if isinstance(value, str):
|
|
856
|
+
try:
|
|
857
|
+
return models.OutputConfluentCloudBackpressureBehavior(value)
|
|
858
|
+
except ValueError:
|
|
859
|
+
return value
|
|
860
|
+
return value
|
|
861
|
+
|
|
862
|
+
@field_serializer("pq_mode")
|
|
863
|
+
def serialize_pq_mode(self, value):
|
|
864
|
+
if isinstance(value, str):
|
|
865
|
+
try:
|
|
866
|
+
return models.OutputConfluentCloudMode(value)
|
|
867
|
+
except ValueError:
|
|
868
|
+
return value
|
|
869
|
+
return value
|
|
870
|
+
|
|
871
|
+
@field_serializer("pq_compress")
|
|
872
|
+
def serialize_pq_compress(self, value):
|
|
873
|
+
if isinstance(value, str):
|
|
874
|
+
try:
|
|
875
|
+
return models.OutputConfluentCloudPqCompressCompression(value)
|
|
876
|
+
except ValueError:
|
|
877
|
+
return value
|
|
878
|
+
return value
|
|
879
|
+
|
|
880
|
+
@field_serializer("pq_on_backpressure")
|
|
881
|
+
def serialize_pq_on_backpressure(self, value):
|
|
882
|
+
if isinstance(value, str):
|
|
883
|
+
try:
|
|
884
|
+
return models.OutputConfluentCloudQueueFullBehavior(value)
|
|
885
|
+
except ValueError:
|
|
886
|
+
return value
|
|
887
|
+
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
|
|
@@ -97,6 +98,24 @@ class OutputCriblHTTPTLSSettingsClientSide(BaseModel):
|
|
|
97
98
|
pydantic.Field(alias="maxVersion"),
|
|
98
99
|
] = None
|
|
99
100
|
|
|
101
|
+
@field_serializer("min_version")
|
|
102
|
+
def serialize_min_version(self, value):
|
|
103
|
+
if isinstance(value, str):
|
|
104
|
+
try:
|
|
105
|
+
return models.OutputCriblHTTPMinimumTLSVersion(value)
|
|
106
|
+
except ValueError:
|
|
107
|
+
return value
|
|
108
|
+
return value
|
|
109
|
+
|
|
110
|
+
@field_serializer("max_version")
|
|
111
|
+
def serialize_max_version(self, value):
|
|
112
|
+
if isinstance(value, str):
|
|
113
|
+
try:
|
|
114
|
+
return models.OutputCriblHTTPMaximumTLSVersion(value)
|
|
115
|
+
except ValueError:
|
|
116
|
+
return value
|
|
117
|
+
return value
|
|
118
|
+
|
|
100
119
|
|
|
101
120
|
class OutputCriblHTTPCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
102
121
|
r"""Codec to use to compress the data before sending"""
|
|
@@ -535,3 +554,57 @@ class OutputCriblHTTP(BaseModel):
|
|
|
535
554
|
pq_controls: Annotated[
|
|
536
555
|
Optional[OutputCriblHTTPPqControls], pydantic.Field(alias="pqControls")
|
|
537
556
|
] = None
|
|
557
|
+
|
|
558
|
+
@field_serializer("compression")
|
|
559
|
+
def serialize_compression(self, value):
|
|
560
|
+
if isinstance(value, str):
|
|
561
|
+
try:
|
|
562
|
+
return models.OutputCriblHTTPCompression(value)
|
|
563
|
+
except ValueError:
|
|
564
|
+
return value
|
|
565
|
+
return value
|
|
566
|
+
|
|
567
|
+
@field_serializer("failed_request_logging_mode")
|
|
568
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
569
|
+
if isinstance(value, str):
|
|
570
|
+
try:
|
|
571
|
+
return models.OutputCriblHTTPFailedRequestLoggingMode(value)
|
|
572
|
+
except ValueError:
|
|
573
|
+
return value
|
|
574
|
+
return value
|
|
575
|
+
|
|
576
|
+
@field_serializer("on_backpressure")
|
|
577
|
+
def serialize_on_backpressure(self, value):
|
|
578
|
+
if isinstance(value, str):
|
|
579
|
+
try:
|
|
580
|
+
return models.OutputCriblHTTPBackpressureBehavior(value)
|
|
581
|
+
except ValueError:
|
|
582
|
+
return value
|
|
583
|
+
return value
|
|
584
|
+
|
|
585
|
+
@field_serializer("pq_mode")
|
|
586
|
+
def serialize_pq_mode(self, value):
|
|
587
|
+
if isinstance(value, str):
|
|
588
|
+
try:
|
|
589
|
+
return models.OutputCriblHTTPMode(value)
|
|
590
|
+
except ValueError:
|
|
591
|
+
return value
|
|
592
|
+
return value
|
|
593
|
+
|
|
594
|
+
@field_serializer("pq_compress")
|
|
595
|
+
def serialize_pq_compress(self, value):
|
|
596
|
+
if isinstance(value, str):
|
|
597
|
+
try:
|
|
598
|
+
return models.OutputCriblHTTPPqCompressCompression(value)
|
|
599
|
+
except ValueError:
|
|
600
|
+
return value
|
|
601
|
+
return value
|
|
602
|
+
|
|
603
|
+
@field_serializer("pq_on_backpressure")
|
|
604
|
+
def serialize_pq_on_backpressure(self, value):
|
|
605
|
+
if isinstance(value, str):
|
|
606
|
+
try:
|
|
607
|
+
return models.OutputCriblHTTPQueueFullBehavior(value)
|
|
608
|
+
except ValueError:
|
|
609
|
+
return value
|
|
610
|
+
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
|
|
@@ -415,3 +416,77 @@ class OutputCriblLake(BaseModel):
|
|
|
415
416
|
|
|
416
417
|
max_retry_num: Annotated[Optional[float], pydantic.Field(alias="maxRetryNum")] = 20
|
|
417
418
|
r"""The maximum number of times a file will attempt to move to its final destination before being dead-lettered"""
|
|
419
|
+
|
|
420
|
+
@field_serializer("signature_version")
|
|
421
|
+
def serialize_signature_version(self, value):
|
|
422
|
+
if isinstance(value, str):
|
|
423
|
+
try:
|
|
424
|
+
return models.OutputCriblLakeSignatureVersion(value)
|
|
425
|
+
except ValueError:
|
|
426
|
+
return value
|
|
427
|
+
return value
|
|
428
|
+
|
|
429
|
+
@field_serializer("object_acl")
|
|
430
|
+
def serialize_object_acl(self, value):
|
|
431
|
+
if isinstance(value, str):
|
|
432
|
+
try:
|
|
433
|
+
return models.OutputCriblLakeObjectACL(value)
|
|
434
|
+
except ValueError:
|
|
435
|
+
return value
|
|
436
|
+
return value
|
|
437
|
+
|
|
438
|
+
@field_serializer("storage_class")
|
|
439
|
+
def serialize_storage_class(self, value):
|
|
440
|
+
if isinstance(value, str):
|
|
441
|
+
try:
|
|
442
|
+
return models.OutputCriblLakeStorageClass(value)
|
|
443
|
+
except ValueError:
|
|
444
|
+
return value
|
|
445
|
+
return value
|
|
446
|
+
|
|
447
|
+
@field_serializer("server_side_encryption")
|
|
448
|
+
def serialize_server_side_encryption(self, value):
|
|
449
|
+
if isinstance(value, str):
|
|
450
|
+
try:
|
|
451
|
+
return models.OutputCriblLakeServerSideEncryptionForUploadedObjects(
|
|
452
|
+
value
|
|
453
|
+
)
|
|
454
|
+
except ValueError:
|
|
455
|
+
return value
|
|
456
|
+
return value
|
|
457
|
+
|
|
458
|
+
@field_serializer("on_backpressure")
|
|
459
|
+
def serialize_on_backpressure(self, value):
|
|
460
|
+
if isinstance(value, str):
|
|
461
|
+
try:
|
|
462
|
+
return models.OutputCriblLakeBackpressureBehavior(value)
|
|
463
|
+
except ValueError:
|
|
464
|
+
return value
|
|
465
|
+
return value
|
|
466
|
+
|
|
467
|
+
@field_serializer("on_disk_full_backpressure")
|
|
468
|
+
def serialize_on_disk_full_backpressure(self, value):
|
|
469
|
+
if isinstance(value, str):
|
|
470
|
+
try:
|
|
471
|
+
return models.OutputCriblLakeDiskSpaceProtection(value)
|
|
472
|
+
except ValueError:
|
|
473
|
+
return value
|
|
474
|
+
return value
|
|
475
|
+
|
|
476
|
+
@field_serializer("aws_authentication_method")
|
|
477
|
+
def serialize_aws_authentication_method(self, value):
|
|
478
|
+
if isinstance(value, str):
|
|
479
|
+
try:
|
|
480
|
+
return models.AwsAuthenticationMethod(value)
|
|
481
|
+
except ValueError:
|
|
482
|
+
return value
|
|
483
|
+
return value
|
|
484
|
+
|
|
485
|
+
@field_serializer("format_")
|
|
486
|
+
def serialize_format_(self, value):
|
|
487
|
+
if isinstance(value, str):
|
|
488
|
+
try:
|
|
489
|
+
return models.OutputCriblLakeFormat(value)
|
|
490
|
+
except ValueError:
|
|
491
|
+
return value
|
|
492
|
+
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
|
|
@@ -106,6 +107,24 @@ class OutputCriblTCPTLSSettingsClientSide(BaseModel):
|
|
|
106
107
|
pydantic.Field(alias="maxVersion"),
|
|
107
108
|
] = None
|
|
108
109
|
|
|
110
|
+
@field_serializer("min_version")
|
|
111
|
+
def serialize_min_version(self, value):
|
|
112
|
+
if isinstance(value, str):
|
|
113
|
+
try:
|
|
114
|
+
return models.OutputCriblTCPMinimumTLSVersion(value)
|
|
115
|
+
except ValueError:
|
|
116
|
+
return value
|
|
117
|
+
return value
|
|
118
|
+
|
|
119
|
+
@field_serializer("max_version")
|
|
120
|
+
def serialize_max_version(self, value):
|
|
121
|
+
if isinstance(value, str):
|
|
122
|
+
try:
|
|
123
|
+
return models.OutputCriblTCPMaximumTLSVersion(value)
|
|
124
|
+
except ValueError:
|
|
125
|
+
return value
|
|
126
|
+
return value
|
|
127
|
+
|
|
109
128
|
|
|
110
129
|
class OutputCriblTCPBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
111
130
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
@@ -156,6 +175,15 @@ class OutputCriblTCPHost(BaseModel):
|
|
|
156
175
|
weight: Optional[float] = 1
|
|
157
176
|
r"""Assign a weight (>0) to each endpoint to indicate its traffic-handling capability"""
|
|
158
177
|
|
|
178
|
+
@field_serializer("tls")
|
|
179
|
+
def serialize_tls(self, value):
|
|
180
|
+
if isinstance(value, str):
|
|
181
|
+
try:
|
|
182
|
+
return models.OutputCriblTCPTLS(value)
|
|
183
|
+
except ValueError:
|
|
184
|
+
return value
|
|
185
|
+
return value
|
|
186
|
+
|
|
159
187
|
|
|
160
188
|
class OutputCriblTCPMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
161
189
|
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."""
|
|
@@ -425,3 +453,48 @@ class OutputCriblTCP(BaseModel):
|
|
|
425
453
|
pq_controls: Annotated[
|
|
426
454
|
Optional[OutputCriblTCPPqControls], pydantic.Field(alias="pqControls")
|
|
427
455
|
] = None
|
|
456
|
+
|
|
457
|
+
@field_serializer("compression")
|
|
458
|
+
def serialize_compression(self, value):
|
|
459
|
+
if isinstance(value, str):
|
|
460
|
+
try:
|
|
461
|
+
return models.OutputCriblTCPCompression(value)
|
|
462
|
+
except ValueError:
|
|
463
|
+
return value
|
|
464
|
+
return value
|
|
465
|
+
|
|
466
|
+
@field_serializer("on_backpressure")
|
|
467
|
+
def serialize_on_backpressure(self, value):
|
|
468
|
+
if isinstance(value, str):
|
|
469
|
+
try:
|
|
470
|
+
return models.OutputCriblTCPBackpressureBehavior(value)
|
|
471
|
+
except ValueError:
|
|
472
|
+
return value
|
|
473
|
+
return value
|
|
474
|
+
|
|
475
|
+
@field_serializer("pq_mode")
|
|
476
|
+
def serialize_pq_mode(self, value):
|
|
477
|
+
if isinstance(value, str):
|
|
478
|
+
try:
|
|
479
|
+
return models.OutputCriblTCPMode(value)
|
|
480
|
+
except ValueError:
|
|
481
|
+
return value
|
|
482
|
+
return value
|
|
483
|
+
|
|
484
|
+
@field_serializer("pq_compress")
|
|
485
|
+
def serialize_pq_compress(self, value):
|
|
486
|
+
if isinstance(value, str):
|
|
487
|
+
try:
|
|
488
|
+
return models.OutputCriblTCPPqCompressCompression(value)
|
|
489
|
+
except ValueError:
|
|
490
|
+
return value
|
|
491
|
+
return value
|
|
492
|
+
|
|
493
|
+
@field_serializer("pq_on_backpressure")
|
|
494
|
+
def serialize_pq_on_backpressure(self, value):
|
|
495
|
+
if isinstance(value, str):
|
|
496
|
+
try:
|
|
497
|
+
return models.OutputCriblTCPQueueFullBehavior(value)
|
|
498
|
+
except ValueError:
|
|
499
|
+
return value
|
|
500
|
+
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
|
|
@@ -448,3 +449,68 @@ class OutputCrowdstrikeNextGenSiem(BaseModel):
|
|
|
448
449
|
Optional[OutputCrowdstrikeNextGenSiemPqControls],
|
|
449
450
|
pydantic.Field(alias="pqControls"),
|
|
450
451
|
] = None
|
|
452
|
+
|
|
453
|
+
@field_serializer("failed_request_logging_mode")
|
|
454
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
455
|
+
if isinstance(value, str):
|
|
456
|
+
try:
|
|
457
|
+
return models.OutputCrowdstrikeNextGenSiemFailedRequestLoggingMode(
|
|
458
|
+
value
|
|
459
|
+
)
|
|
460
|
+
except ValueError:
|
|
461
|
+
return value
|
|
462
|
+
return value
|
|
463
|
+
|
|
464
|
+
@field_serializer("format_")
|
|
465
|
+
def serialize_format_(self, value):
|
|
466
|
+
if isinstance(value, str):
|
|
467
|
+
try:
|
|
468
|
+
return models.OutputCrowdstrikeNextGenSiemRequestFormat(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.OutputCrowdstrikeNextGenSiemAuthenticationMethod(value)
|
|
478
|
+
except ValueError:
|
|
479
|
+
return value
|
|
480
|
+
return value
|
|
481
|
+
|
|
482
|
+
@field_serializer("on_backpressure")
|
|
483
|
+
def serialize_on_backpressure(self, value):
|
|
484
|
+
if isinstance(value, str):
|
|
485
|
+
try:
|
|
486
|
+
return models.OutputCrowdstrikeNextGenSiemBackpressureBehavior(value)
|
|
487
|
+
except ValueError:
|
|
488
|
+
return value
|
|
489
|
+
return value
|
|
490
|
+
|
|
491
|
+
@field_serializer("pq_mode")
|
|
492
|
+
def serialize_pq_mode(self, value):
|
|
493
|
+
if isinstance(value, str):
|
|
494
|
+
try:
|
|
495
|
+
return models.OutputCrowdstrikeNextGenSiemMode(value)
|
|
496
|
+
except ValueError:
|
|
497
|
+
return value
|
|
498
|
+
return value
|
|
499
|
+
|
|
500
|
+
@field_serializer("pq_compress")
|
|
501
|
+
def serialize_pq_compress(self, value):
|
|
502
|
+
if isinstance(value, str):
|
|
503
|
+
try:
|
|
504
|
+
return models.OutputCrowdstrikeNextGenSiemCompression(value)
|
|
505
|
+
except ValueError:
|
|
506
|
+
return value
|
|
507
|
+
return value
|
|
508
|
+
|
|
509
|
+
@field_serializer("pq_on_backpressure")
|
|
510
|
+
def serialize_pq_on_backpressure(self, value):
|
|
511
|
+
if isinstance(value, str):
|
|
512
|
+
try:
|
|
513
|
+
return models.OutputCrowdstrikeNextGenSiemQueueFullBehavior(value)
|
|
514
|
+
except ValueError:
|
|
515
|
+
return value
|
|
516
|
+
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
|
|
@@ -416,3 +417,66 @@ class OutputDatabricks(BaseModel):
|
|
|
416
417
|
|
|
417
418
|
max_retry_num: Annotated[Optional[float], pydantic.Field(alias="maxRetryNum")] = 20
|
|
418
419
|
r"""The maximum number of times a file will attempt to move to its final destination before being dead-lettered"""
|
|
420
|
+
|
|
421
|
+
@field_serializer("format_")
|
|
422
|
+
def serialize_format_(self, value):
|
|
423
|
+
if isinstance(value, str):
|
|
424
|
+
try:
|
|
425
|
+
return models.OutputDatabricksDataFormat(value)
|
|
426
|
+
except ValueError:
|
|
427
|
+
return value
|
|
428
|
+
return value
|
|
429
|
+
|
|
430
|
+
@field_serializer("on_backpressure")
|
|
431
|
+
def serialize_on_backpressure(self, value):
|
|
432
|
+
if isinstance(value, str):
|
|
433
|
+
try:
|
|
434
|
+
return models.OutputDatabricksBackpressureBehavior(value)
|
|
435
|
+
except ValueError:
|
|
436
|
+
return value
|
|
437
|
+
return value
|
|
438
|
+
|
|
439
|
+
@field_serializer("on_disk_full_backpressure")
|
|
440
|
+
def serialize_on_disk_full_backpressure(self, value):
|
|
441
|
+
if isinstance(value, str):
|
|
442
|
+
try:
|
|
443
|
+
return models.OutputDatabricksDiskSpaceProtection(value)
|
|
444
|
+
except ValueError:
|
|
445
|
+
return value
|
|
446
|
+
return value
|
|
447
|
+
|
|
448
|
+
@field_serializer("compress")
|
|
449
|
+
def serialize_compress(self, value):
|
|
450
|
+
if isinstance(value, str):
|
|
451
|
+
try:
|
|
452
|
+
return models.OutputDatabricksCompression(value)
|
|
453
|
+
except ValueError:
|
|
454
|
+
return value
|
|
455
|
+
return value
|
|
456
|
+
|
|
457
|
+
@field_serializer("compression_level")
|
|
458
|
+
def serialize_compression_level(self, value):
|
|
459
|
+
if isinstance(value, str):
|
|
460
|
+
try:
|
|
461
|
+
return models.OutputDatabricksCompressionLevel(value)
|
|
462
|
+
except ValueError:
|
|
463
|
+
return value
|
|
464
|
+
return value
|
|
465
|
+
|
|
466
|
+
@field_serializer("parquet_version")
|
|
467
|
+
def serialize_parquet_version(self, value):
|
|
468
|
+
if isinstance(value, str):
|
|
469
|
+
try:
|
|
470
|
+
return models.OutputDatabricksParquetVersion(value)
|
|
471
|
+
except ValueError:
|
|
472
|
+
return value
|
|
473
|
+
return value
|
|
474
|
+
|
|
475
|
+
@field_serializer("parquet_data_page_version")
|
|
476
|
+
def serialize_parquet_data_page_version(self, value):
|
|
477
|
+
if isinstance(value, str):
|
|
478
|
+
try:
|
|
479
|
+
return models.OutputDatabricksDataPageVersion(value)
|
|
480
|
+
except ValueError:
|
|
481
|
+
return value
|
|
482
|
+
return value
|