cribl-control-plane 0.2.1rc7__py3-none-any.whl → 0.2.1rc8__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/lakedatasets.py +28 -0
- cribl_control_plane/models/__init__.py +10 -1
- cribl_control_plane/models/cacheconnection.py +0 -20
- cribl_control_plane/models/configgroup.py +1 -20
- cribl_control_plane/models/configgroupcloud.py +1 -11
- cribl_control_plane/models/createconfiggroupbyproductop.py +2 -13
- cribl_control_plane/models/cribllakedataset.py +5 -11
- cribl_control_plane/models/cribllakedatasetupdate.py +5 -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 +4 -32
- 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/jobinfo.py +10 -4
- cribl_control_plane/models/jobstatus.py +1 -11
- cribl_control_plane/models/lakedatasetmetrics.py +17 -0
- 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 +3 -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 +3 -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 +3 -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.2.1rc7.dist-info → cribl_control_plane-0.2.1rc8.dist-info}/METADATA +25 -7
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc8.dist-info}/RECORD +155 -154
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc8.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
|
|
@@ -49,6 +48,8 @@ class OutputKafkaCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
49
48
|
SNAPPY = "snappy"
|
|
50
49
|
# LZ4
|
|
51
50
|
LZ4 = "lz4"
|
|
51
|
+
# ZSTD
|
|
52
|
+
ZSTD = "zstd"
|
|
52
53
|
|
|
53
54
|
|
|
54
55
|
class OutputKafkaAuthTypedDict(TypedDict):
|
|
@@ -156,24 +157,6 @@ class OutputKafkaKafkaSchemaRegistryTLSSettingsClientSide(BaseModel):
|
|
|
156
157
|
pydantic.Field(alias="maxVersion"),
|
|
157
158
|
] = None
|
|
158
159
|
|
|
159
|
-
@field_serializer("min_version")
|
|
160
|
-
def serialize_min_version(self, value):
|
|
161
|
-
if isinstance(value, str):
|
|
162
|
-
try:
|
|
163
|
-
return models.OutputKafkaKafkaSchemaRegistryMinimumTLSVersion(value)
|
|
164
|
-
except ValueError:
|
|
165
|
-
return value
|
|
166
|
-
return value
|
|
167
|
-
|
|
168
|
-
@field_serializer("max_version")
|
|
169
|
-
def serialize_max_version(self, value):
|
|
170
|
-
if isinstance(value, str):
|
|
171
|
-
try:
|
|
172
|
-
return models.OutputKafkaKafkaSchemaRegistryMaximumTLSVersion(value)
|
|
173
|
-
except ValueError:
|
|
174
|
-
return value
|
|
175
|
-
return value
|
|
176
|
-
|
|
177
160
|
|
|
178
161
|
class OutputKafkaKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
|
|
179
162
|
disabled: NotRequired[bool]
|
|
@@ -373,24 +356,6 @@ class OutputKafkaAuthentication(BaseModel):
|
|
|
373
356
|
] = None
|
|
374
357
|
r"""Additional SASL extension fields, such as Confluent's logicalCluster or identityPoolId"""
|
|
375
358
|
|
|
376
|
-
@field_serializer("auth_type")
|
|
377
|
-
def serialize_auth_type(self, value):
|
|
378
|
-
if isinstance(value, str):
|
|
379
|
-
try:
|
|
380
|
-
return models.OutputKafkaAuthenticationMethod(value)
|
|
381
|
-
except ValueError:
|
|
382
|
-
return value
|
|
383
|
-
return value
|
|
384
|
-
|
|
385
|
-
@field_serializer("mechanism")
|
|
386
|
-
def serialize_mechanism(self, value):
|
|
387
|
-
if isinstance(value, str):
|
|
388
|
-
try:
|
|
389
|
-
return models.OutputKafkaSASLMechanism(value)
|
|
390
|
-
except ValueError:
|
|
391
|
-
return value
|
|
392
|
-
return value
|
|
393
|
-
|
|
394
359
|
|
|
395
360
|
class OutputKafkaMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
396
361
|
TL_SV1 = "TLSv1"
|
|
@@ -474,24 +439,6 @@ class OutputKafkaTLSSettingsClientSide(BaseModel):
|
|
|
474
439
|
pydantic.Field(alias="maxVersion"),
|
|
475
440
|
] = None
|
|
476
441
|
|
|
477
|
-
@field_serializer("min_version")
|
|
478
|
-
def serialize_min_version(self, value):
|
|
479
|
-
if isinstance(value, str):
|
|
480
|
-
try:
|
|
481
|
-
return models.OutputKafkaMinimumTLSVersion(value)
|
|
482
|
-
except ValueError:
|
|
483
|
-
return value
|
|
484
|
-
return value
|
|
485
|
-
|
|
486
|
-
@field_serializer("max_version")
|
|
487
|
-
def serialize_max_version(self, value):
|
|
488
|
-
if isinstance(value, str):
|
|
489
|
-
try:
|
|
490
|
-
return models.OutputKafkaMaximumTLSVersion(value)
|
|
491
|
-
except ValueError:
|
|
492
|
-
return value
|
|
493
|
-
return value
|
|
494
|
-
|
|
495
442
|
|
|
496
443
|
class OutputKafkaBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
497
444
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
@@ -806,66 +753,3 @@ class OutputKafka(BaseModel):
|
|
|
806
753
|
pq_controls: Annotated[
|
|
807
754
|
Optional[OutputKafkaPqControls], pydantic.Field(alias="pqControls")
|
|
808
755
|
] = None
|
|
809
|
-
|
|
810
|
-
@field_serializer("ack")
|
|
811
|
-
def serialize_ack(self, value):
|
|
812
|
-
if isinstance(value, str):
|
|
813
|
-
try:
|
|
814
|
-
return models.OutputKafkaAcknowledgments(value)
|
|
815
|
-
except ValueError:
|
|
816
|
-
return value
|
|
817
|
-
return value
|
|
818
|
-
|
|
819
|
-
@field_serializer("format_")
|
|
820
|
-
def serialize_format_(self, value):
|
|
821
|
-
if isinstance(value, str):
|
|
822
|
-
try:
|
|
823
|
-
return models.OutputKafkaRecordDataFormat(value)
|
|
824
|
-
except ValueError:
|
|
825
|
-
return value
|
|
826
|
-
return value
|
|
827
|
-
|
|
828
|
-
@field_serializer("compression")
|
|
829
|
-
def serialize_compression(self, value):
|
|
830
|
-
if isinstance(value, str):
|
|
831
|
-
try:
|
|
832
|
-
return models.OutputKafkaCompression(value)
|
|
833
|
-
except ValueError:
|
|
834
|
-
return value
|
|
835
|
-
return value
|
|
836
|
-
|
|
837
|
-
@field_serializer("on_backpressure")
|
|
838
|
-
def serialize_on_backpressure(self, value):
|
|
839
|
-
if isinstance(value, str):
|
|
840
|
-
try:
|
|
841
|
-
return models.OutputKafkaBackpressureBehavior(value)
|
|
842
|
-
except ValueError:
|
|
843
|
-
return value
|
|
844
|
-
return value
|
|
845
|
-
|
|
846
|
-
@field_serializer("pq_mode")
|
|
847
|
-
def serialize_pq_mode(self, value):
|
|
848
|
-
if isinstance(value, str):
|
|
849
|
-
try:
|
|
850
|
-
return models.OutputKafkaMode(value)
|
|
851
|
-
except ValueError:
|
|
852
|
-
return value
|
|
853
|
-
return value
|
|
854
|
-
|
|
855
|
-
@field_serializer("pq_compress")
|
|
856
|
-
def serialize_pq_compress(self, value):
|
|
857
|
-
if isinstance(value, str):
|
|
858
|
-
try:
|
|
859
|
-
return models.OutputKafkaPqCompressCompression(value)
|
|
860
|
-
except ValueError:
|
|
861
|
-
return value
|
|
862
|
-
return value
|
|
863
|
-
|
|
864
|
-
@field_serializer("pq_on_backpressure")
|
|
865
|
-
def serialize_pq_on_backpressure(self, value):
|
|
866
|
-
if isinstance(value, str):
|
|
867
|
-
try:
|
|
868
|
-
return models.OutputKafkaQueueFullBehavior(value)
|
|
869
|
-
except ValueError:
|
|
870
|
-
return value
|
|
871
|
-
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
|
|
@@ -359,66 +358,3 @@ class OutputKinesis(BaseModel):
|
|
|
359
358
|
pq_controls: Annotated[
|
|
360
359
|
Optional[OutputKinesisPqControls], pydantic.Field(alias="pqControls")
|
|
361
360
|
] = None
|
|
362
|
-
|
|
363
|
-
@field_serializer("aws_authentication_method")
|
|
364
|
-
def serialize_aws_authentication_method(self, value):
|
|
365
|
-
if isinstance(value, str):
|
|
366
|
-
try:
|
|
367
|
-
return models.OutputKinesisAuthenticationMethod(value)
|
|
368
|
-
except ValueError:
|
|
369
|
-
return value
|
|
370
|
-
return value
|
|
371
|
-
|
|
372
|
-
@field_serializer("signature_version")
|
|
373
|
-
def serialize_signature_version(self, value):
|
|
374
|
-
if isinstance(value, str):
|
|
375
|
-
try:
|
|
376
|
-
return models.OutputKinesisSignatureVersion(value)
|
|
377
|
-
except ValueError:
|
|
378
|
-
return value
|
|
379
|
-
return value
|
|
380
|
-
|
|
381
|
-
@field_serializer("compression")
|
|
382
|
-
def serialize_compression(self, value):
|
|
383
|
-
if isinstance(value, str):
|
|
384
|
-
try:
|
|
385
|
-
return models.OutputKinesisCompression(value)
|
|
386
|
-
except ValueError:
|
|
387
|
-
return value
|
|
388
|
-
return value
|
|
389
|
-
|
|
390
|
-
@field_serializer("on_backpressure")
|
|
391
|
-
def serialize_on_backpressure(self, value):
|
|
392
|
-
if isinstance(value, str):
|
|
393
|
-
try:
|
|
394
|
-
return models.OutputKinesisBackpressureBehavior(value)
|
|
395
|
-
except ValueError:
|
|
396
|
-
return value
|
|
397
|
-
return value
|
|
398
|
-
|
|
399
|
-
@field_serializer("pq_mode")
|
|
400
|
-
def serialize_pq_mode(self, value):
|
|
401
|
-
if isinstance(value, str):
|
|
402
|
-
try:
|
|
403
|
-
return models.OutputKinesisMode(value)
|
|
404
|
-
except ValueError:
|
|
405
|
-
return value
|
|
406
|
-
return value
|
|
407
|
-
|
|
408
|
-
@field_serializer("pq_compress")
|
|
409
|
-
def serialize_pq_compress(self, value):
|
|
410
|
-
if isinstance(value, str):
|
|
411
|
-
try:
|
|
412
|
-
return models.OutputKinesisPqCompressCompression(value)
|
|
413
|
-
except ValueError:
|
|
414
|
-
return value
|
|
415
|
-
return value
|
|
416
|
-
|
|
417
|
-
@field_serializer("pq_on_backpressure")
|
|
418
|
-
def serialize_pq_on_backpressure(self, value):
|
|
419
|
-
if isinstance(value, str):
|
|
420
|
-
try:
|
|
421
|
-
return models.OutputKinesisQueueFullBehavior(value)
|
|
422
|
-
except ValueError:
|
|
423
|
-
return value
|
|
424
|
-
return value
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -479,66 +478,3 @@ class OutputLoki(BaseModel):
|
|
|
479
478
|
pq_controls: Annotated[
|
|
480
479
|
Optional[OutputLokiPqControls], pydantic.Field(alias="pqControls")
|
|
481
480
|
] = None
|
|
482
|
-
|
|
483
|
-
@field_serializer("message_format")
|
|
484
|
-
def serialize_message_format(self, value):
|
|
485
|
-
if isinstance(value, str):
|
|
486
|
-
try:
|
|
487
|
-
return models.OutputLokiMessageFormat(value)
|
|
488
|
-
except ValueError:
|
|
489
|
-
return value
|
|
490
|
-
return value
|
|
491
|
-
|
|
492
|
-
@field_serializer("auth_type")
|
|
493
|
-
def serialize_auth_type(self, value):
|
|
494
|
-
if isinstance(value, str):
|
|
495
|
-
try:
|
|
496
|
-
return models.OutputLokiAuthenticationType(value)
|
|
497
|
-
except ValueError:
|
|
498
|
-
return value
|
|
499
|
-
return value
|
|
500
|
-
|
|
501
|
-
@field_serializer("failed_request_logging_mode")
|
|
502
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
503
|
-
if isinstance(value, str):
|
|
504
|
-
try:
|
|
505
|
-
return models.OutputLokiFailedRequestLoggingMode(value)
|
|
506
|
-
except ValueError:
|
|
507
|
-
return value
|
|
508
|
-
return value
|
|
509
|
-
|
|
510
|
-
@field_serializer("on_backpressure")
|
|
511
|
-
def serialize_on_backpressure(self, value):
|
|
512
|
-
if isinstance(value, str):
|
|
513
|
-
try:
|
|
514
|
-
return models.OutputLokiBackpressureBehavior(value)
|
|
515
|
-
except ValueError:
|
|
516
|
-
return value
|
|
517
|
-
return value
|
|
518
|
-
|
|
519
|
-
@field_serializer("pq_mode")
|
|
520
|
-
def serialize_pq_mode(self, value):
|
|
521
|
-
if isinstance(value, str):
|
|
522
|
-
try:
|
|
523
|
-
return models.OutputLokiMode(value)
|
|
524
|
-
except ValueError:
|
|
525
|
-
return value
|
|
526
|
-
return value
|
|
527
|
-
|
|
528
|
-
@field_serializer("pq_compress")
|
|
529
|
-
def serialize_pq_compress(self, value):
|
|
530
|
-
if isinstance(value, str):
|
|
531
|
-
try:
|
|
532
|
-
return models.OutputLokiCompression(value)
|
|
533
|
-
except ValueError:
|
|
534
|
-
return value
|
|
535
|
-
return value
|
|
536
|
-
|
|
537
|
-
@field_serializer("pq_on_backpressure")
|
|
538
|
-
def serialize_pq_on_backpressure(self, value):
|
|
539
|
-
if isinstance(value, str):
|
|
540
|
-
try:
|
|
541
|
-
return models.OutputLokiQueueFullBehavior(value)
|
|
542
|
-
except ValueError:
|
|
543
|
-
return value
|
|
544
|
-
return value
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -544,111 +543,3 @@ class OutputMinio(BaseModel):
|
|
|
544
543
|
|
|
545
544
|
max_retry_num: Annotated[Optional[float], pydantic.Field(alias="maxRetryNum")] = 20
|
|
546
545
|
r"""The maximum number of times a file will attempt to move to its final destination before being dead-lettered"""
|
|
547
|
-
|
|
548
|
-
@field_serializer("aws_authentication_method")
|
|
549
|
-
def serialize_aws_authentication_method(self, value):
|
|
550
|
-
if isinstance(value, str):
|
|
551
|
-
try:
|
|
552
|
-
return models.OutputMinioAuthenticationMethod(value)
|
|
553
|
-
except ValueError:
|
|
554
|
-
return value
|
|
555
|
-
return value
|
|
556
|
-
|
|
557
|
-
@field_serializer("signature_version")
|
|
558
|
-
def serialize_signature_version(self, value):
|
|
559
|
-
if isinstance(value, str):
|
|
560
|
-
try:
|
|
561
|
-
return models.OutputMinioSignatureVersion(value)
|
|
562
|
-
except ValueError:
|
|
563
|
-
return value
|
|
564
|
-
return value
|
|
565
|
-
|
|
566
|
-
@field_serializer("object_acl")
|
|
567
|
-
def serialize_object_acl(self, value):
|
|
568
|
-
if isinstance(value, str):
|
|
569
|
-
try:
|
|
570
|
-
return models.OutputMinioObjectACL(value)
|
|
571
|
-
except ValueError:
|
|
572
|
-
return value
|
|
573
|
-
return value
|
|
574
|
-
|
|
575
|
-
@field_serializer("storage_class")
|
|
576
|
-
def serialize_storage_class(self, value):
|
|
577
|
-
if isinstance(value, str):
|
|
578
|
-
try:
|
|
579
|
-
return models.OutputMinioStorageClass(value)
|
|
580
|
-
except ValueError:
|
|
581
|
-
return value
|
|
582
|
-
return value
|
|
583
|
-
|
|
584
|
-
@field_serializer("server_side_encryption")
|
|
585
|
-
def serialize_server_side_encryption(self, value):
|
|
586
|
-
if isinstance(value, str):
|
|
587
|
-
try:
|
|
588
|
-
return models.ServerSideEncryption(value)
|
|
589
|
-
except ValueError:
|
|
590
|
-
return value
|
|
591
|
-
return value
|
|
592
|
-
|
|
593
|
-
@field_serializer("format_")
|
|
594
|
-
def serialize_format_(self, value):
|
|
595
|
-
if isinstance(value, str):
|
|
596
|
-
try:
|
|
597
|
-
return models.OutputMinioDataFormat(value)
|
|
598
|
-
except ValueError:
|
|
599
|
-
return value
|
|
600
|
-
return value
|
|
601
|
-
|
|
602
|
-
@field_serializer("on_backpressure")
|
|
603
|
-
def serialize_on_backpressure(self, value):
|
|
604
|
-
if isinstance(value, str):
|
|
605
|
-
try:
|
|
606
|
-
return models.OutputMinioBackpressureBehavior(value)
|
|
607
|
-
except ValueError:
|
|
608
|
-
return value
|
|
609
|
-
return value
|
|
610
|
-
|
|
611
|
-
@field_serializer("on_disk_full_backpressure")
|
|
612
|
-
def serialize_on_disk_full_backpressure(self, value):
|
|
613
|
-
if isinstance(value, str):
|
|
614
|
-
try:
|
|
615
|
-
return models.OutputMinioDiskSpaceProtection(value)
|
|
616
|
-
except ValueError:
|
|
617
|
-
return value
|
|
618
|
-
return value
|
|
619
|
-
|
|
620
|
-
@field_serializer("compress")
|
|
621
|
-
def serialize_compress(self, value):
|
|
622
|
-
if isinstance(value, str):
|
|
623
|
-
try:
|
|
624
|
-
return models.OutputMinioCompression(value)
|
|
625
|
-
except ValueError:
|
|
626
|
-
return value
|
|
627
|
-
return value
|
|
628
|
-
|
|
629
|
-
@field_serializer("compression_level")
|
|
630
|
-
def serialize_compression_level(self, value):
|
|
631
|
-
if isinstance(value, str):
|
|
632
|
-
try:
|
|
633
|
-
return models.OutputMinioCompressionLevel(value)
|
|
634
|
-
except ValueError:
|
|
635
|
-
return value
|
|
636
|
-
return value
|
|
637
|
-
|
|
638
|
-
@field_serializer("parquet_version")
|
|
639
|
-
def serialize_parquet_version(self, value):
|
|
640
|
-
if isinstance(value, str):
|
|
641
|
-
try:
|
|
642
|
-
return models.OutputMinioParquetVersion(value)
|
|
643
|
-
except ValueError:
|
|
644
|
-
return value
|
|
645
|
-
return value
|
|
646
|
-
|
|
647
|
-
@field_serializer("parquet_data_page_version")
|
|
648
|
-
def serialize_parquet_data_page_version(self, value):
|
|
649
|
-
if isinstance(value, str):
|
|
650
|
-
try:
|
|
651
|
-
return models.OutputMinioDataPageVersion(value)
|
|
652
|
-
except ValueError:
|
|
653
|
-
return value
|
|
654
|
-
return value
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -49,6 +48,8 @@ class OutputMskCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
49
48
|
SNAPPY = "snappy"
|
|
50
49
|
# LZ4
|
|
51
50
|
LZ4 = "lz4"
|
|
51
|
+
# ZSTD
|
|
52
|
+
ZSTD = "zstd"
|
|
52
53
|
|
|
53
54
|
|
|
54
55
|
class OutputMskAuthTypedDict(TypedDict):
|
|
@@ -156,24 +157,6 @@ class OutputMskKafkaSchemaRegistryTLSSettingsClientSide(BaseModel):
|
|
|
156
157
|
pydantic.Field(alias="maxVersion"),
|
|
157
158
|
] = None
|
|
158
159
|
|
|
159
|
-
@field_serializer("min_version")
|
|
160
|
-
def serialize_min_version(self, value):
|
|
161
|
-
if isinstance(value, str):
|
|
162
|
-
try:
|
|
163
|
-
return models.OutputMskKafkaSchemaRegistryMinimumTLSVersion(value)
|
|
164
|
-
except ValueError:
|
|
165
|
-
return value
|
|
166
|
-
return value
|
|
167
|
-
|
|
168
|
-
@field_serializer("max_version")
|
|
169
|
-
def serialize_max_version(self, value):
|
|
170
|
-
if isinstance(value, str):
|
|
171
|
-
try:
|
|
172
|
-
return models.OutputMskKafkaSchemaRegistryMaximumTLSVersion(value)
|
|
173
|
-
except ValueError:
|
|
174
|
-
return value
|
|
175
|
-
return value
|
|
176
|
-
|
|
177
160
|
|
|
178
161
|
class OutputMskKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
|
|
179
162
|
disabled: NotRequired[bool]
|
|
@@ -331,24 +314,6 @@ class OutputMskTLSSettingsClientSide(BaseModel):
|
|
|
331
314
|
pydantic.Field(alias="maxVersion"),
|
|
332
315
|
] = None
|
|
333
316
|
|
|
334
|
-
@field_serializer("min_version")
|
|
335
|
-
def serialize_min_version(self, value):
|
|
336
|
-
if isinstance(value, str):
|
|
337
|
-
try:
|
|
338
|
-
return models.OutputMskMinimumTLSVersion(value)
|
|
339
|
-
except ValueError:
|
|
340
|
-
return value
|
|
341
|
-
return value
|
|
342
|
-
|
|
343
|
-
@field_serializer("max_version")
|
|
344
|
-
def serialize_max_version(self, value):
|
|
345
|
-
if isinstance(value, str):
|
|
346
|
-
try:
|
|
347
|
-
return models.OutputMskMaximumTLSVersion(value)
|
|
348
|
-
except ValueError:
|
|
349
|
-
return value
|
|
350
|
-
return value
|
|
351
|
-
|
|
352
317
|
|
|
353
318
|
class OutputMskBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
354
319
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
@@ -745,84 +710,3 @@ class OutputMsk(BaseModel):
|
|
|
745
710
|
pq_controls: Annotated[
|
|
746
711
|
Optional[OutputMskPqControls], pydantic.Field(alias="pqControls")
|
|
747
712
|
] = None
|
|
748
|
-
|
|
749
|
-
@field_serializer("ack")
|
|
750
|
-
def serialize_ack(self, value):
|
|
751
|
-
if isinstance(value, str):
|
|
752
|
-
try:
|
|
753
|
-
return models.OutputMskAcknowledgments(value)
|
|
754
|
-
except ValueError:
|
|
755
|
-
return value
|
|
756
|
-
return value
|
|
757
|
-
|
|
758
|
-
@field_serializer("format_")
|
|
759
|
-
def serialize_format_(self, value):
|
|
760
|
-
if isinstance(value, str):
|
|
761
|
-
try:
|
|
762
|
-
return models.OutputMskRecordDataFormat(value)
|
|
763
|
-
except ValueError:
|
|
764
|
-
return value
|
|
765
|
-
return value
|
|
766
|
-
|
|
767
|
-
@field_serializer("compression")
|
|
768
|
-
def serialize_compression(self, value):
|
|
769
|
-
if isinstance(value, str):
|
|
770
|
-
try:
|
|
771
|
-
return models.OutputMskCompression(value)
|
|
772
|
-
except ValueError:
|
|
773
|
-
return value
|
|
774
|
-
return value
|
|
775
|
-
|
|
776
|
-
@field_serializer("aws_authentication_method")
|
|
777
|
-
def serialize_aws_authentication_method(self, value):
|
|
778
|
-
if isinstance(value, str):
|
|
779
|
-
try:
|
|
780
|
-
return models.OutputMskAuthenticationMethod(value)
|
|
781
|
-
except ValueError:
|
|
782
|
-
return value
|
|
783
|
-
return value
|
|
784
|
-
|
|
785
|
-
@field_serializer("signature_version")
|
|
786
|
-
def serialize_signature_version(self, value):
|
|
787
|
-
if isinstance(value, str):
|
|
788
|
-
try:
|
|
789
|
-
return models.OutputMskSignatureVersion(value)
|
|
790
|
-
except ValueError:
|
|
791
|
-
return value
|
|
792
|
-
return value
|
|
793
|
-
|
|
794
|
-
@field_serializer("on_backpressure")
|
|
795
|
-
def serialize_on_backpressure(self, value):
|
|
796
|
-
if isinstance(value, str):
|
|
797
|
-
try:
|
|
798
|
-
return models.OutputMskBackpressureBehavior(value)
|
|
799
|
-
except ValueError:
|
|
800
|
-
return value
|
|
801
|
-
return value
|
|
802
|
-
|
|
803
|
-
@field_serializer("pq_mode")
|
|
804
|
-
def serialize_pq_mode(self, value):
|
|
805
|
-
if isinstance(value, str):
|
|
806
|
-
try:
|
|
807
|
-
return models.OutputMskMode(value)
|
|
808
|
-
except ValueError:
|
|
809
|
-
return value
|
|
810
|
-
return value
|
|
811
|
-
|
|
812
|
-
@field_serializer("pq_compress")
|
|
813
|
-
def serialize_pq_compress(self, value):
|
|
814
|
-
if isinstance(value, str):
|
|
815
|
-
try:
|
|
816
|
-
return models.OutputMskPqCompressCompression(value)
|
|
817
|
-
except ValueError:
|
|
818
|
-
return value
|
|
819
|
-
return value
|
|
820
|
-
|
|
821
|
-
@field_serializer("pq_on_backpressure")
|
|
822
|
-
def serialize_pq_on_backpressure(self, value):
|
|
823
|
-
if isinstance(value, str):
|
|
824
|
-
try:
|
|
825
|
-
return models.OutputMskQueueFullBehavior(value)
|
|
826
|
-
except ValueError:
|
|
827
|
-
return value
|
|
828
|
-
return value
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -46,15 +45,6 @@ class OutputNewrelicMetadatum(BaseModel):
|
|
|
46
45
|
value: str
|
|
47
46
|
r"""JavaScript expression to compute field's value, enclosed in quotes or backticks. (Can evaluate to a constant.)"""
|
|
48
47
|
|
|
49
|
-
@field_serializer("name")
|
|
50
|
-
def serialize_name(self, value):
|
|
51
|
-
if isinstance(value, str):
|
|
52
|
-
try:
|
|
53
|
-
return models.FieldName(value)
|
|
54
|
-
except ValueError:
|
|
55
|
-
return value
|
|
56
|
-
return value
|
|
57
|
-
|
|
58
48
|
|
|
59
49
|
class OutputNewrelicExtraHTTPHeaderTypedDict(TypedDict):
|
|
60
50
|
value: str
|
|
@@ -476,66 +466,3 @@ class OutputNewrelic(BaseModel):
|
|
|
476
466
|
|
|
477
467
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
478
468
|
r"""Select or create a stored text secret"""
|
|
479
|
-
|
|
480
|
-
@field_serializer("region")
|
|
481
|
-
def serialize_region(self, value):
|
|
482
|
-
if isinstance(value, str):
|
|
483
|
-
try:
|
|
484
|
-
return models.OutputNewrelicRegion(value)
|
|
485
|
-
except ValueError:
|
|
486
|
-
return value
|
|
487
|
-
return value
|
|
488
|
-
|
|
489
|
-
@field_serializer("failed_request_logging_mode")
|
|
490
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
491
|
-
if isinstance(value, str):
|
|
492
|
-
try:
|
|
493
|
-
return models.OutputNewrelicFailedRequestLoggingMode(value)
|
|
494
|
-
except ValueError:
|
|
495
|
-
return value
|
|
496
|
-
return value
|
|
497
|
-
|
|
498
|
-
@field_serializer("on_backpressure")
|
|
499
|
-
def serialize_on_backpressure(self, value):
|
|
500
|
-
if isinstance(value, str):
|
|
501
|
-
try:
|
|
502
|
-
return models.OutputNewrelicBackpressureBehavior(value)
|
|
503
|
-
except ValueError:
|
|
504
|
-
return value
|
|
505
|
-
return value
|
|
506
|
-
|
|
507
|
-
@field_serializer("auth_type")
|
|
508
|
-
def serialize_auth_type(self, value):
|
|
509
|
-
if isinstance(value, str):
|
|
510
|
-
try:
|
|
511
|
-
return models.OutputNewrelicAuthenticationMethod(value)
|
|
512
|
-
except ValueError:
|
|
513
|
-
return value
|
|
514
|
-
return value
|
|
515
|
-
|
|
516
|
-
@field_serializer("pq_mode")
|
|
517
|
-
def serialize_pq_mode(self, value):
|
|
518
|
-
if isinstance(value, str):
|
|
519
|
-
try:
|
|
520
|
-
return models.OutputNewrelicMode(value)
|
|
521
|
-
except ValueError:
|
|
522
|
-
return value
|
|
523
|
-
return value
|
|
524
|
-
|
|
525
|
-
@field_serializer("pq_compress")
|
|
526
|
-
def serialize_pq_compress(self, value):
|
|
527
|
-
if isinstance(value, str):
|
|
528
|
-
try:
|
|
529
|
-
return models.OutputNewrelicCompression(value)
|
|
530
|
-
except ValueError:
|
|
531
|
-
return value
|
|
532
|
-
return value
|
|
533
|
-
|
|
534
|
-
@field_serializer("pq_on_backpressure")
|
|
535
|
-
def serialize_pq_on_backpressure(self, value):
|
|
536
|
-
if isinstance(value, str):
|
|
537
|
-
try:
|
|
538
|
-
return models.OutputNewrelicQueueFullBehavior(value)
|
|
539
|
-
except ValueError:
|
|
540
|
-
return value
|
|
541
|
-
return value
|