cribl-control-plane 0.2.1rc4__py3-none-any.whl → 0.2.1rc11__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/acl.py +4 -4
- cribl_control_plane/branches.py +4 -4
- cribl_control_plane/commits.py +28 -28
- cribl_control_plane/commits_files.py +8 -8
- cribl_control_plane/configs_versions.py +4 -8
- cribl_control_plane/destinations.py +20 -20
- cribl_control_plane/destinations_pq.py +8 -8
- cribl_control_plane/groups_sdk.py +26 -50
- cribl_control_plane/hectokens.py +8 -16
- cribl_control_plane/lakedatasets.py +48 -40
- cribl_control_plane/models/__init__.py +260 -393
- 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/{getversionbranchop.py → countedlistbranchinfo.py} +2 -6
- cribl_control_plane/models/countedlistconfiggroup.py +20 -0
- cribl_control_plane/models/countedlistcribllakedataset.py +20 -0
- cribl_control_plane/models/countedlistdistributedsummary.py +20 -0
- cribl_control_plane/models/countedlistgitcommitsummary.py +20 -0
- cribl_control_plane/models/countedlistgitcountresult.py +20 -0
- cribl_control_plane/models/{createinputop.py → countedlistgitdiffresult.py} +5 -9
- cribl_control_plane/models/countedlistgitfilesresponse.py +20 -0
- cribl_control_plane/models/{getversioninfoop.py → countedlistgitinfo.py} +2 -6
- cribl_control_plane/models/countedlistgitlogresult.py +20 -0
- cribl_control_plane/models/countedlistgitrevertresult.py +20 -0
- cribl_control_plane/models/countedlistgitshowresult.py +20 -0
- cribl_control_plane/models/countedlistgitstatusresult.py +20 -0
- cribl_control_plane/models/{listinputop.py → countedlistinput.py} +2 -6
- cribl_control_plane/models/countedlistinputsplunkhec.py +20 -0
- cribl_control_plane/models/countedlistjobinfo.py +20 -0
- cribl_control_plane/models/countedlistmasterworkerentry.py +20 -0
- cribl_control_plane/models/countedlistnumber.py +19 -0
- cribl_control_plane/models/countedlistobject.py +19 -0
- cribl_control_plane/models/{listoutputop.py → countedlistoutput.py} +2 -6
- cribl_control_plane/models/{createoutputop.py → countedlistoutputsamplesresponse.py} +5 -9
- cribl_control_plane/models/countedlistoutputtestresponse.py +20 -0
- cribl_control_plane/models/countedlistpackinfo.py +20 -0
- cribl_control_plane/models/{createpacksop.py → countedlistpackinstallinfo.py} +2 -6
- cribl_control_plane/models/{listpipelineop.py → countedlistpipeline.py} +2 -6
- cribl_control_plane/models/{listroutesop.py → countedlistroutes.py} +2 -6
- cribl_control_plane/models/{createversionpushop.py → countedliststring.py} +2 -6
- cribl_control_plane/models/{createpipelineop.py → countedlistteamaccesscontrollist.py} +5 -9
- cribl_control_plane/models/countedlistuseraccesscontrollist.py +20 -0
- cribl_control_plane/models/createconfiggroupbyproductop.py +13 -21
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +1 -19
- cribl_control_plane/models/createinputhectokenbyidop.py +1 -20
- cribl_control_plane/models/createoutputtestbyidop.py +1 -20
- cribl_control_plane/models/createroutesappendbyidop.py +2 -20
- cribl_control_plane/models/createversioncommitop.py +1 -19
- cribl_control_plane/models/createversionrevertop.py +1 -19
- cribl_control_plane/models/createversionundoop.py +1 -18
- cribl_control_plane/models/cribllakedataset.py +15 -1
- cribl_control_plane/models/cribllakedatasetupdate.py +15 -1
- cribl_control_plane/models/datasetmetadata.py +11 -1
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +11 -19
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/deleteinputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputpqbyidop.py +1 -19
- cribl_control_plane/models/deletepacksbyidop.py +1 -20
- cribl_control_plane/models/deletepipelinebyidop.py +1 -20
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +20 -18
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +20 -18
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +11 -18
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +11 -18
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +1 -20
- cribl_control_plane/models/getinputbyidop.py +1 -20
- cribl_control_plane/models/getmasterworkerentryop.py +1 -18
- cribl_control_plane/models/getoutputbyidop.py +1 -20
- cribl_control_plane/models/getoutputpqbyidop.py +1 -20
- cribl_control_plane/models/getoutputsamplesbyidop.py +1 -20
- cribl_control_plane/models/getpacksbyidop.py +1 -20
- cribl_control_plane/models/getpacksop.py +1 -19
- cribl_control_plane/models/getpipelinebyidop.py +1 -20
- cribl_control_plane/models/getroutesbyidop.py +1 -20
- cribl_control_plane/models/getsummaryop.py +11 -18
- cribl_control_plane/models/getversioncountop.py +1 -19
- cribl_control_plane/models/getversiondiffop.py +1 -19
- cribl_control_plane/models/getversionfilesop.py +1 -19
- cribl_control_plane/models/getversionop.py +1 -19
- cribl_control_plane/models/getversionshowop.py +1 -19
- cribl_control_plane/models/getversionstatusop.py +1 -19
- 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/input.py +2 -2
- 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 +62 -7
- cribl_control_plane/models/inputcribllakehttp.py +38 -1
- cribl_control_plane/models/inputcriblmetrics.py +20 -1
- cribl_control_plane/models/inputcribltcp.py +63 -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 +40 -7
- 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/jobinfo.py +10 -4
- cribl_control_plane/models/jobstatus.py +34 -3
- cribl_control_plane/models/lakedatasetmetrics.py +17 -0
- cribl_control_plane/models/listconfiggroupbyproductop.py +11 -18
- cribl_control_plane/models/listmasterworkerentryop.py +1 -19
- cribl_control_plane/models/masterworkerentry.py +11 -1
- cribl_control_plane/models/nodeupgradestatus.py +38 -0
- cribl_control_plane/models/output.py +13 -13
- 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 +125 -1
- cribl_control_plane/models/outputcriblhttp.py +97 -1
- cribl_control_plane/models/outputcribllake.py +76 -1
- cribl_control_plane/models/outputcribltcp.py +99 -1
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +67 -1
- cribl_control_plane/models/outputdatabricks.py +69 -5
- 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 +121 -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 +121 -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 +149 -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 +64 -1
- cribl_control_plane/models/runnablejobexecutor.py +24 -1
- cribl_control_plane/models/runnablejobscheduledsearch.py +15 -1
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +11 -18
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +11 -19
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/updateinputbyidop.py +1 -19
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +1 -20
- cribl_control_plane/models/updateoutputbyidop.py +1 -19
- cribl_control_plane/models/updatepacksbyidop.py +1 -20
- cribl_control_plane/models/updatepipelinebyidop.py +1 -19
- cribl_control_plane/models/updateroutesbyidop.py +1 -19
- cribl_control_plane/nodes.py +8 -12
- cribl_control_plane/packs.py +20 -20
- cribl_control_plane/pipelines.py +20 -20
- cribl_control_plane/routes_sdk.py +16 -20
- cribl_control_plane/samples.py +8 -8
- cribl_control_plane/sdk.py +2 -2
- cribl_control_plane/sources.py +20 -20
- cribl_control_plane/statuses.py +4 -4
- cribl_control_plane/summaries.py +8 -4
- cribl_control_plane/teams.py +4 -4
- cribl_control_plane/versions_configs.py +4 -4
- {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/METADATA +25 -7
- cribl_control_plane-0.2.1rc11.dist-info/RECORD +350 -0
- cribl_control_plane-0.2.1rc4.dist-info/RECORD +0 -331
- {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc11.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
|
|
@@ -428,3 +429,66 @@ class OutputHumioHec(BaseModel):
|
|
|
428
429
|
pq_controls: Annotated[
|
|
429
430
|
Optional[OutputHumioHecPqControls], pydantic.Field(alias="pqControls")
|
|
430
431
|
] = None
|
|
432
|
+
|
|
433
|
+
@field_serializer("failed_request_logging_mode")
|
|
434
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
435
|
+
if isinstance(value, str):
|
|
436
|
+
try:
|
|
437
|
+
return models.OutputHumioHecFailedRequestLoggingMode(value)
|
|
438
|
+
except ValueError:
|
|
439
|
+
return value
|
|
440
|
+
return value
|
|
441
|
+
|
|
442
|
+
@field_serializer("format_")
|
|
443
|
+
def serialize_format_(self, value):
|
|
444
|
+
if isinstance(value, str):
|
|
445
|
+
try:
|
|
446
|
+
return models.OutputHumioHecRequestFormat(value)
|
|
447
|
+
except ValueError:
|
|
448
|
+
return value
|
|
449
|
+
return value
|
|
450
|
+
|
|
451
|
+
@field_serializer("auth_type")
|
|
452
|
+
def serialize_auth_type(self, value):
|
|
453
|
+
if isinstance(value, str):
|
|
454
|
+
try:
|
|
455
|
+
return models.OutputHumioHecAuthenticationMethod(value)
|
|
456
|
+
except ValueError:
|
|
457
|
+
return value
|
|
458
|
+
return value
|
|
459
|
+
|
|
460
|
+
@field_serializer("on_backpressure")
|
|
461
|
+
def serialize_on_backpressure(self, value):
|
|
462
|
+
if isinstance(value, str):
|
|
463
|
+
try:
|
|
464
|
+
return models.OutputHumioHecBackpressureBehavior(value)
|
|
465
|
+
except ValueError:
|
|
466
|
+
return value
|
|
467
|
+
return value
|
|
468
|
+
|
|
469
|
+
@field_serializer("pq_mode")
|
|
470
|
+
def serialize_pq_mode(self, value):
|
|
471
|
+
if isinstance(value, str):
|
|
472
|
+
try:
|
|
473
|
+
return models.OutputHumioHecMode(value)
|
|
474
|
+
except ValueError:
|
|
475
|
+
return value
|
|
476
|
+
return value
|
|
477
|
+
|
|
478
|
+
@field_serializer("pq_compress")
|
|
479
|
+
def serialize_pq_compress(self, value):
|
|
480
|
+
if isinstance(value, str):
|
|
481
|
+
try:
|
|
482
|
+
return models.OutputHumioHecCompression(value)
|
|
483
|
+
except ValueError:
|
|
484
|
+
return value
|
|
485
|
+
return value
|
|
486
|
+
|
|
487
|
+
@field_serializer("pq_on_backpressure")
|
|
488
|
+
def serialize_pq_on_backpressure(self, value):
|
|
489
|
+
if isinstance(value, str):
|
|
490
|
+
try:
|
|
491
|
+
return models.OutputHumioHecQueueFullBehavior(value)
|
|
492
|
+
except ValueError:
|
|
493
|
+
return value
|
|
494
|
+
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
|
|
@@ -568,3 +569,66 @@ class OutputInfluxdb(BaseModel):
|
|
|
568
569
|
Optional[List[OutputInfluxdbOauthHeader]], pydantic.Field(alias="oauthHeaders")
|
|
569
570
|
] = None
|
|
570
571
|
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."""
|
|
572
|
+
|
|
573
|
+
@field_serializer("timestamp_precision")
|
|
574
|
+
def serialize_timestamp_precision(self, value):
|
|
575
|
+
if isinstance(value, str):
|
|
576
|
+
try:
|
|
577
|
+
return models.TimestampPrecision(value)
|
|
578
|
+
except ValueError:
|
|
579
|
+
return value
|
|
580
|
+
return value
|
|
581
|
+
|
|
582
|
+
@field_serializer("failed_request_logging_mode")
|
|
583
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
584
|
+
if isinstance(value, str):
|
|
585
|
+
try:
|
|
586
|
+
return models.OutputInfluxdbFailedRequestLoggingMode(value)
|
|
587
|
+
except ValueError:
|
|
588
|
+
return value
|
|
589
|
+
return value
|
|
590
|
+
|
|
591
|
+
@field_serializer("on_backpressure")
|
|
592
|
+
def serialize_on_backpressure(self, value):
|
|
593
|
+
if isinstance(value, str):
|
|
594
|
+
try:
|
|
595
|
+
return models.OutputInfluxdbBackpressureBehavior(value)
|
|
596
|
+
except ValueError:
|
|
597
|
+
return value
|
|
598
|
+
return value
|
|
599
|
+
|
|
600
|
+
@field_serializer("auth_type")
|
|
601
|
+
def serialize_auth_type(self, value):
|
|
602
|
+
if isinstance(value, str):
|
|
603
|
+
try:
|
|
604
|
+
return models.OutputInfluxdbAuthenticationType(value)
|
|
605
|
+
except ValueError:
|
|
606
|
+
return value
|
|
607
|
+
return value
|
|
608
|
+
|
|
609
|
+
@field_serializer("pq_mode")
|
|
610
|
+
def serialize_pq_mode(self, value):
|
|
611
|
+
if isinstance(value, str):
|
|
612
|
+
try:
|
|
613
|
+
return models.OutputInfluxdbMode(value)
|
|
614
|
+
except ValueError:
|
|
615
|
+
return value
|
|
616
|
+
return value
|
|
617
|
+
|
|
618
|
+
@field_serializer("pq_compress")
|
|
619
|
+
def serialize_pq_compress(self, value):
|
|
620
|
+
if isinstance(value, str):
|
|
621
|
+
try:
|
|
622
|
+
return models.OutputInfluxdbCompression(value)
|
|
623
|
+
except ValueError:
|
|
624
|
+
return value
|
|
625
|
+
return value
|
|
626
|
+
|
|
627
|
+
@field_serializer("pq_on_backpressure")
|
|
628
|
+
def serialize_pq_on_backpressure(self, value):
|
|
629
|
+
if isinstance(value, str):
|
|
630
|
+
try:
|
|
631
|
+
return models.OutputInfluxdbQueueFullBehavior(value)
|
|
632
|
+
except ValueError:
|
|
633
|
+
return value
|
|
634
|
+
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
|
|
@@ -48,6 +49,8 @@ class OutputKafkaCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
48
49
|
SNAPPY = "snappy"
|
|
49
50
|
# LZ4
|
|
50
51
|
LZ4 = "lz4"
|
|
52
|
+
# ZSTD
|
|
53
|
+
ZSTD = "zstd"
|
|
51
54
|
|
|
52
55
|
|
|
53
56
|
class OutputKafkaAuthTypedDict(TypedDict):
|
|
@@ -155,6 +158,24 @@ class OutputKafkaKafkaSchemaRegistryTLSSettingsClientSide(BaseModel):
|
|
|
155
158
|
pydantic.Field(alias="maxVersion"),
|
|
156
159
|
] = None
|
|
157
160
|
|
|
161
|
+
@field_serializer("min_version")
|
|
162
|
+
def serialize_min_version(self, value):
|
|
163
|
+
if isinstance(value, str):
|
|
164
|
+
try:
|
|
165
|
+
return models.OutputKafkaKafkaSchemaRegistryMinimumTLSVersion(value)
|
|
166
|
+
except ValueError:
|
|
167
|
+
return value
|
|
168
|
+
return value
|
|
169
|
+
|
|
170
|
+
@field_serializer("max_version")
|
|
171
|
+
def serialize_max_version(self, value):
|
|
172
|
+
if isinstance(value, str):
|
|
173
|
+
try:
|
|
174
|
+
return models.OutputKafkaKafkaSchemaRegistryMaximumTLSVersion(value)
|
|
175
|
+
except ValueError:
|
|
176
|
+
return value
|
|
177
|
+
return value
|
|
178
|
+
|
|
158
179
|
|
|
159
180
|
class OutputKafkaKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
|
|
160
181
|
disabled: NotRequired[bool]
|
|
@@ -354,6 +375,24 @@ class OutputKafkaAuthentication(BaseModel):
|
|
|
354
375
|
] = None
|
|
355
376
|
r"""Additional SASL extension fields, such as Confluent's logicalCluster or identityPoolId"""
|
|
356
377
|
|
|
378
|
+
@field_serializer("auth_type")
|
|
379
|
+
def serialize_auth_type(self, value):
|
|
380
|
+
if isinstance(value, str):
|
|
381
|
+
try:
|
|
382
|
+
return models.OutputKafkaAuthenticationMethod(value)
|
|
383
|
+
except ValueError:
|
|
384
|
+
return value
|
|
385
|
+
return value
|
|
386
|
+
|
|
387
|
+
@field_serializer("mechanism")
|
|
388
|
+
def serialize_mechanism(self, value):
|
|
389
|
+
if isinstance(value, str):
|
|
390
|
+
try:
|
|
391
|
+
return models.OutputKafkaSASLMechanism(value)
|
|
392
|
+
except ValueError:
|
|
393
|
+
return value
|
|
394
|
+
return value
|
|
395
|
+
|
|
357
396
|
|
|
358
397
|
class OutputKafkaMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
359
398
|
TL_SV1 = "TLSv1"
|
|
@@ -437,6 +476,24 @@ class OutputKafkaTLSSettingsClientSide(BaseModel):
|
|
|
437
476
|
pydantic.Field(alias="maxVersion"),
|
|
438
477
|
] = None
|
|
439
478
|
|
|
479
|
+
@field_serializer("min_version")
|
|
480
|
+
def serialize_min_version(self, value):
|
|
481
|
+
if isinstance(value, str):
|
|
482
|
+
try:
|
|
483
|
+
return models.OutputKafkaMinimumTLSVersion(value)
|
|
484
|
+
except ValueError:
|
|
485
|
+
return value
|
|
486
|
+
return value
|
|
487
|
+
|
|
488
|
+
@field_serializer("max_version")
|
|
489
|
+
def serialize_max_version(self, value):
|
|
490
|
+
if isinstance(value, str):
|
|
491
|
+
try:
|
|
492
|
+
return models.OutputKafkaMaximumTLSVersion(value)
|
|
493
|
+
except ValueError:
|
|
494
|
+
return value
|
|
495
|
+
return value
|
|
496
|
+
|
|
440
497
|
|
|
441
498
|
class OutputKafkaBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
442
499
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
@@ -751,3 +808,66 @@ class OutputKafka(BaseModel):
|
|
|
751
808
|
pq_controls: Annotated[
|
|
752
809
|
Optional[OutputKafkaPqControls], pydantic.Field(alias="pqControls")
|
|
753
810
|
] = None
|
|
811
|
+
|
|
812
|
+
@field_serializer("ack")
|
|
813
|
+
def serialize_ack(self, value):
|
|
814
|
+
if isinstance(value, str):
|
|
815
|
+
try:
|
|
816
|
+
return models.OutputKafkaAcknowledgments(value)
|
|
817
|
+
except ValueError:
|
|
818
|
+
return value
|
|
819
|
+
return value
|
|
820
|
+
|
|
821
|
+
@field_serializer("format_")
|
|
822
|
+
def serialize_format_(self, value):
|
|
823
|
+
if isinstance(value, str):
|
|
824
|
+
try:
|
|
825
|
+
return models.OutputKafkaRecordDataFormat(value)
|
|
826
|
+
except ValueError:
|
|
827
|
+
return value
|
|
828
|
+
return value
|
|
829
|
+
|
|
830
|
+
@field_serializer("compression")
|
|
831
|
+
def serialize_compression(self, value):
|
|
832
|
+
if isinstance(value, str):
|
|
833
|
+
try:
|
|
834
|
+
return models.OutputKafkaCompression(value)
|
|
835
|
+
except ValueError:
|
|
836
|
+
return value
|
|
837
|
+
return value
|
|
838
|
+
|
|
839
|
+
@field_serializer("on_backpressure")
|
|
840
|
+
def serialize_on_backpressure(self, value):
|
|
841
|
+
if isinstance(value, str):
|
|
842
|
+
try:
|
|
843
|
+
return models.OutputKafkaBackpressureBehavior(value)
|
|
844
|
+
except ValueError:
|
|
845
|
+
return value
|
|
846
|
+
return value
|
|
847
|
+
|
|
848
|
+
@field_serializer("pq_mode")
|
|
849
|
+
def serialize_pq_mode(self, value):
|
|
850
|
+
if isinstance(value, str):
|
|
851
|
+
try:
|
|
852
|
+
return models.OutputKafkaMode(value)
|
|
853
|
+
except ValueError:
|
|
854
|
+
return value
|
|
855
|
+
return value
|
|
856
|
+
|
|
857
|
+
@field_serializer("pq_compress")
|
|
858
|
+
def serialize_pq_compress(self, value):
|
|
859
|
+
if isinstance(value, str):
|
|
860
|
+
try:
|
|
861
|
+
return models.OutputKafkaPqCompressCompression(value)
|
|
862
|
+
except ValueError:
|
|
863
|
+
return value
|
|
864
|
+
return value
|
|
865
|
+
|
|
866
|
+
@field_serializer("pq_on_backpressure")
|
|
867
|
+
def serialize_pq_on_backpressure(self, value):
|
|
868
|
+
if isinstance(value, str):
|
|
869
|
+
try:
|
|
870
|
+
return models.OutputKafkaQueueFullBehavior(value)
|
|
871
|
+
except ValueError:
|
|
872
|
+
return value
|
|
873
|
+
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
|
|
@@ -358,3 +359,66 @@ class OutputKinesis(BaseModel):
|
|
|
358
359
|
pq_controls: Annotated[
|
|
359
360
|
Optional[OutputKinesisPqControls], pydantic.Field(alias="pqControls")
|
|
360
361
|
] = 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,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
|
|
@@ -478,3 +479,66 @@ class OutputLoki(BaseModel):
|
|
|
478
479
|
pq_controls: Annotated[
|
|
479
480
|
Optional[OutputLokiPqControls], pydantic.Field(alias="pqControls")
|
|
480
481
|
] = 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,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
|
|
@@ -543,3 +544,111 @@ class OutputMinio(BaseModel):
|
|
|
543
544
|
|
|
544
545
|
max_retry_num: Annotated[Optional[float], pydantic.Field(alias="maxRetryNum")] = 20
|
|
545
546
|
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
|