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
|
|
@@ -48,6 +49,8 @@ class OutputMskCompression(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 OutputMskAuthTypedDict(TypedDict):
|
|
@@ -155,6 +158,24 @@ class OutputMskKafkaSchemaRegistryTLSSettingsClientSide(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.OutputMskKafkaSchemaRegistryMinimumTLSVersion(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.OutputMskKafkaSchemaRegistryMaximumTLSVersion(value)
|
|
175
|
+
except ValueError:
|
|
176
|
+
return value
|
|
177
|
+
return value
|
|
178
|
+
|
|
158
179
|
|
|
159
180
|
class OutputMskKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
|
|
160
181
|
disabled: NotRequired[bool]
|
|
@@ -312,6 +333,24 @@ class OutputMskTLSSettingsClientSide(BaseModel):
|
|
|
312
333
|
pydantic.Field(alias="maxVersion"),
|
|
313
334
|
] = None
|
|
314
335
|
|
|
336
|
+
@field_serializer("min_version")
|
|
337
|
+
def serialize_min_version(self, value):
|
|
338
|
+
if isinstance(value, str):
|
|
339
|
+
try:
|
|
340
|
+
return models.OutputMskMinimumTLSVersion(value)
|
|
341
|
+
except ValueError:
|
|
342
|
+
return value
|
|
343
|
+
return value
|
|
344
|
+
|
|
345
|
+
@field_serializer("max_version")
|
|
346
|
+
def serialize_max_version(self, value):
|
|
347
|
+
if isinstance(value, str):
|
|
348
|
+
try:
|
|
349
|
+
return models.OutputMskMaximumTLSVersion(value)
|
|
350
|
+
except ValueError:
|
|
351
|
+
return value
|
|
352
|
+
return value
|
|
353
|
+
|
|
315
354
|
|
|
316
355
|
class OutputMskBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
317
356
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
@@ -708,3 +747,84 @@ class OutputMsk(BaseModel):
|
|
|
708
747
|
pq_controls: Annotated[
|
|
709
748
|
Optional[OutputMskPqControls], pydantic.Field(alias="pqControls")
|
|
710
749
|
] = None
|
|
750
|
+
|
|
751
|
+
@field_serializer("ack")
|
|
752
|
+
def serialize_ack(self, value):
|
|
753
|
+
if isinstance(value, str):
|
|
754
|
+
try:
|
|
755
|
+
return models.OutputMskAcknowledgments(value)
|
|
756
|
+
except ValueError:
|
|
757
|
+
return value
|
|
758
|
+
return value
|
|
759
|
+
|
|
760
|
+
@field_serializer("format_")
|
|
761
|
+
def serialize_format_(self, value):
|
|
762
|
+
if isinstance(value, str):
|
|
763
|
+
try:
|
|
764
|
+
return models.OutputMskRecordDataFormat(value)
|
|
765
|
+
except ValueError:
|
|
766
|
+
return value
|
|
767
|
+
return value
|
|
768
|
+
|
|
769
|
+
@field_serializer("compression")
|
|
770
|
+
def serialize_compression(self, value):
|
|
771
|
+
if isinstance(value, str):
|
|
772
|
+
try:
|
|
773
|
+
return models.OutputMskCompression(value)
|
|
774
|
+
except ValueError:
|
|
775
|
+
return value
|
|
776
|
+
return value
|
|
777
|
+
|
|
778
|
+
@field_serializer("aws_authentication_method")
|
|
779
|
+
def serialize_aws_authentication_method(self, value):
|
|
780
|
+
if isinstance(value, str):
|
|
781
|
+
try:
|
|
782
|
+
return models.OutputMskAuthenticationMethod(value)
|
|
783
|
+
except ValueError:
|
|
784
|
+
return value
|
|
785
|
+
return value
|
|
786
|
+
|
|
787
|
+
@field_serializer("signature_version")
|
|
788
|
+
def serialize_signature_version(self, value):
|
|
789
|
+
if isinstance(value, str):
|
|
790
|
+
try:
|
|
791
|
+
return models.OutputMskSignatureVersion(value)
|
|
792
|
+
except ValueError:
|
|
793
|
+
return value
|
|
794
|
+
return value
|
|
795
|
+
|
|
796
|
+
@field_serializer("on_backpressure")
|
|
797
|
+
def serialize_on_backpressure(self, value):
|
|
798
|
+
if isinstance(value, str):
|
|
799
|
+
try:
|
|
800
|
+
return models.OutputMskBackpressureBehavior(value)
|
|
801
|
+
except ValueError:
|
|
802
|
+
return value
|
|
803
|
+
return value
|
|
804
|
+
|
|
805
|
+
@field_serializer("pq_mode")
|
|
806
|
+
def serialize_pq_mode(self, value):
|
|
807
|
+
if isinstance(value, str):
|
|
808
|
+
try:
|
|
809
|
+
return models.OutputMskMode(value)
|
|
810
|
+
except ValueError:
|
|
811
|
+
return value
|
|
812
|
+
return value
|
|
813
|
+
|
|
814
|
+
@field_serializer("pq_compress")
|
|
815
|
+
def serialize_pq_compress(self, value):
|
|
816
|
+
if isinstance(value, str):
|
|
817
|
+
try:
|
|
818
|
+
return models.OutputMskPqCompressCompression(value)
|
|
819
|
+
except ValueError:
|
|
820
|
+
return value
|
|
821
|
+
return value
|
|
822
|
+
|
|
823
|
+
@field_serializer("pq_on_backpressure")
|
|
824
|
+
def serialize_pq_on_backpressure(self, value):
|
|
825
|
+
if isinstance(value, str):
|
|
826
|
+
try:
|
|
827
|
+
return models.OutputMskQueueFullBehavior(value)
|
|
828
|
+
except ValueError:
|
|
829
|
+
return value
|
|
830
|
+
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
|
|
@@ -45,6 +46,15 @@ class OutputNewrelicMetadatum(BaseModel):
|
|
|
45
46
|
value: str
|
|
46
47
|
r"""JavaScript expression to compute field's value, enclosed in quotes or backticks. (Can evaluate to a constant.)"""
|
|
47
48
|
|
|
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
|
+
|
|
48
58
|
|
|
49
59
|
class OutputNewrelicExtraHTTPHeaderTypedDict(TypedDict):
|
|
50
60
|
value: str
|
|
@@ -466,3 +476,66 @@ class OutputNewrelic(BaseModel):
|
|
|
466
476
|
|
|
467
477
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
468
478
|
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
|
|
@@ -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
|
|
@@ -441,3 +442,66 @@ class OutputNewrelicEvents(BaseModel):
|
|
|
441
442
|
|
|
442
443
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
443
444
|
r"""Select or create a stored text secret"""
|
|
445
|
+
|
|
446
|
+
@field_serializer("region")
|
|
447
|
+
def serialize_region(self, value):
|
|
448
|
+
if isinstance(value, str):
|
|
449
|
+
try:
|
|
450
|
+
return models.OutputNewrelicEventsRegion(value)
|
|
451
|
+
except ValueError:
|
|
452
|
+
return value
|
|
453
|
+
return value
|
|
454
|
+
|
|
455
|
+
@field_serializer("failed_request_logging_mode")
|
|
456
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
457
|
+
if isinstance(value, str):
|
|
458
|
+
try:
|
|
459
|
+
return models.OutputNewrelicEventsFailedRequestLoggingMode(value)
|
|
460
|
+
except ValueError:
|
|
461
|
+
return value
|
|
462
|
+
return value
|
|
463
|
+
|
|
464
|
+
@field_serializer("on_backpressure")
|
|
465
|
+
def serialize_on_backpressure(self, value):
|
|
466
|
+
if isinstance(value, str):
|
|
467
|
+
try:
|
|
468
|
+
return models.OutputNewrelicEventsBackpressureBehavior(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.OutputNewrelicEventsAuthenticationMethod(value)
|
|
478
|
+
except ValueError:
|
|
479
|
+
return value
|
|
480
|
+
return value
|
|
481
|
+
|
|
482
|
+
@field_serializer("pq_mode")
|
|
483
|
+
def serialize_pq_mode(self, value):
|
|
484
|
+
if isinstance(value, str):
|
|
485
|
+
try:
|
|
486
|
+
return models.OutputNewrelicEventsMode(value)
|
|
487
|
+
except ValueError:
|
|
488
|
+
return value
|
|
489
|
+
return value
|
|
490
|
+
|
|
491
|
+
@field_serializer("pq_compress")
|
|
492
|
+
def serialize_pq_compress(self, value):
|
|
493
|
+
if isinstance(value, str):
|
|
494
|
+
try:
|
|
495
|
+
return models.OutputNewrelicEventsCompression(value)
|
|
496
|
+
except ValueError:
|
|
497
|
+
return value
|
|
498
|
+
return value
|
|
499
|
+
|
|
500
|
+
@field_serializer("pq_on_backpressure")
|
|
501
|
+
def serialize_pq_on_backpressure(self, value):
|
|
502
|
+
if isinstance(value, str):
|
|
503
|
+
try:
|
|
504
|
+
return models.OutputNewrelicEventsQueueFullBehavior(value)
|
|
505
|
+
except ValueError:
|
|
506
|
+
return value
|
|
507
|
+
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
|
|
@@ -273,6 +274,24 @@ class OutputOpenTelemetryTLSSettingsClientSide(BaseModel):
|
|
|
273
274
|
pydantic.Field(alias="maxVersion"),
|
|
274
275
|
] = None
|
|
275
276
|
|
|
277
|
+
@field_serializer("min_version")
|
|
278
|
+
def serialize_min_version(self, value):
|
|
279
|
+
if isinstance(value, str):
|
|
280
|
+
try:
|
|
281
|
+
return models.OutputOpenTelemetryMinimumTLSVersion(value)
|
|
282
|
+
except ValueError:
|
|
283
|
+
return value
|
|
284
|
+
return value
|
|
285
|
+
|
|
286
|
+
@field_serializer("max_version")
|
|
287
|
+
def serialize_max_version(self, value):
|
|
288
|
+
if isinstance(value, str):
|
|
289
|
+
try:
|
|
290
|
+
return models.OutputOpenTelemetryMaximumTLSVersion(value)
|
|
291
|
+
except ValueError:
|
|
292
|
+
return value
|
|
293
|
+
return value
|
|
294
|
+
|
|
276
295
|
|
|
277
296
|
class OutputOpenTelemetryMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
278
297
|
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."""
|
|
@@ -717,3 +736,93 @@ class OutputOpenTelemetry(BaseModel):
|
|
|
717
736
|
pq_controls: Annotated[
|
|
718
737
|
Optional[OutputOpenTelemetryPqControls], pydantic.Field(alias="pqControls")
|
|
719
738
|
] = None
|
|
739
|
+
|
|
740
|
+
@field_serializer("protocol")
|
|
741
|
+
def serialize_protocol(self, value):
|
|
742
|
+
if isinstance(value, str):
|
|
743
|
+
try:
|
|
744
|
+
return models.OutputOpenTelemetryProtocol(value)
|
|
745
|
+
except ValueError:
|
|
746
|
+
return value
|
|
747
|
+
return value
|
|
748
|
+
|
|
749
|
+
@field_serializer("otlp_version")
|
|
750
|
+
def serialize_otlp_version(self, value):
|
|
751
|
+
if isinstance(value, str):
|
|
752
|
+
try:
|
|
753
|
+
return models.OutputOpenTelemetryOTLPVersion(value)
|
|
754
|
+
except ValueError:
|
|
755
|
+
return value
|
|
756
|
+
return value
|
|
757
|
+
|
|
758
|
+
@field_serializer("compress")
|
|
759
|
+
def serialize_compress(self, value):
|
|
760
|
+
if isinstance(value, str):
|
|
761
|
+
try:
|
|
762
|
+
return models.OutputOpenTelemetryCompressCompression(value)
|
|
763
|
+
except ValueError:
|
|
764
|
+
return value
|
|
765
|
+
return value
|
|
766
|
+
|
|
767
|
+
@field_serializer("http_compress")
|
|
768
|
+
def serialize_http_compress(self, value):
|
|
769
|
+
if isinstance(value, str):
|
|
770
|
+
try:
|
|
771
|
+
return models.OutputOpenTelemetryHTTPCompressCompression(value)
|
|
772
|
+
except ValueError:
|
|
773
|
+
return value
|
|
774
|
+
return value
|
|
775
|
+
|
|
776
|
+
@field_serializer("auth_type")
|
|
777
|
+
def serialize_auth_type(self, value):
|
|
778
|
+
if isinstance(value, str):
|
|
779
|
+
try:
|
|
780
|
+
return models.OutputOpenTelemetryAuthenticationType(value)
|
|
781
|
+
except ValueError:
|
|
782
|
+
return value
|
|
783
|
+
return value
|
|
784
|
+
|
|
785
|
+
@field_serializer("failed_request_logging_mode")
|
|
786
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
787
|
+
if isinstance(value, str):
|
|
788
|
+
try:
|
|
789
|
+
return models.OutputOpenTelemetryFailedRequestLoggingMode(value)
|
|
790
|
+
except ValueError:
|
|
791
|
+
return value
|
|
792
|
+
return value
|
|
793
|
+
|
|
794
|
+
@field_serializer("on_backpressure")
|
|
795
|
+
def serialize_on_backpressure(self, value):
|
|
796
|
+
if isinstance(value, str):
|
|
797
|
+
try:
|
|
798
|
+
return models.OutputOpenTelemetryBackpressureBehavior(value)
|
|
799
|
+
except ValueError:
|
|
800
|
+
return value
|
|
801
|
+
return value
|
|
802
|
+
|
|
803
|
+
@field_serializer("pq_mode")
|
|
804
|
+
def serialize_pq_mode(self, value):
|
|
805
|
+
if isinstance(value, str):
|
|
806
|
+
try:
|
|
807
|
+
return models.OutputOpenTelemetryMode(value)
|
|
808
|
+
except ValueError:
|
|
809
|
+
return value
|
|
810
|
+
return value
|
|
811
|
+
|
|
812
|
+
@field_serializer("pq_compress")
|
|
813
|
+
def serialize_pq_compress(self, value):
|
|
814
|
+
if isinstance(value, str):
|
|
815
|
+
try:
|
|
816
|
+
return models.OutputOpenTelemetryPqCompressCompression(value)
|
|
817
|
+
except ValueError:
|
|
818
|
+
return value
|
|
819
|
+
return value
|
|
820
|
+
|
|
821
|
+
@field_serializer("pq_on_backpressure")
|
|
822
|
+
def serialize_pq_on_backpressure(self, value):
|
|
823
|
+
if isinstance(value, str):
|
|
824
|
+
try:
|
|
825
|
+
return models.OutputOpenTelemetryQueueFullBehavior(value)
|
|
826
|
+
except ValueError:
|
|
827
|
+
return value
|
|
828
|
+
return value
|
|
@@ -1,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
|
|
@@ -524,3 +525,57 @@ class OutputPrometheus(BaseModel):
|
|
|
524
525
|
pydantic.Field(alias="oauthHeaders"),
|
|
525
526
|
] = None
|
|
526
527
|
r"""Additional headers to send in the OAuth login request. @{product} will automatically add the content-type header 'application/x-www-form-urlencoded' when sending this request."""
|
|
528
|
+
|
|
529
|
+
@field_serializer("failed_request_logging_mode")
|
|
530
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
531
|
+
if isinstance(value, str):
|
|
532
|
+
try:
|
|
533
|
+
return models.OutputPrometheusFailedRequestLoggingMode(value)
|
|
534
|
+
except ValueError:
|
|
535
|
+
return value
|
|
536
|
+
return value
|
|
537
|
+
|
|
538
|
+
@field_serializer("on_backpressure")
|
|
539
|
+
def serialize_on_backpressure(self, value):
|
|
540
|
+
if isinstance(value, str):
|
|
541
|
+
try:
|
|
542
|
+
return models.OutputPrometheusBackpressureBehavior(value)
|
|
543
|
+
except ValueError:
|
|
544
|
+
return value
|
|
545
|
+
return value
|
|
546
|
+
|
|
547
|
+
@field_serializer("auth_type")
|
|
548
|
+
def serialize_auth_type(self, value):
|
|
549
|
+
if isinstance(value, str):
|
|
550
|
+
try:
|
|
551
|
+
return models.OutputPrometheusAuthenticationType(value)
|
|
552
|
+
except ValueError:
|
|
553
|
+
return value
|
|
554
|
+
return value
|
|
555
|
+
|
|
556
|
+
@field_serializer("pq_mode")
|
|
557
|
+
def serialize_pq_mode(self, value):
|
|
558
|
+
if isinstance(value, str):
|
|
559
|
+
try:
|
|
560
|
+
return models.OutputPrometheusMode(value)
|
|
561
|
+
except ValueError:
|
|
562
|
+
return value
|
|
563
|
+
return value
|
|
564
|
+
|
|
565
|
+
@field_serializer("pq_compress")
|
|
566
|
+
def serialize_pq_compress(self, value):
|
|
567
|
+
if isinstance(value, str):
|
|
568
|
+
try:
|
|
569
|
+
return models.OutputPrometheusCompression(value)
|
|
570
|
+
except ValueError:
|
|
571
|
+
return value
|
|
572
|
+
return value
|
|
573
|
+
|
|
574
|
+
@field_serializer("pq_on_backpressure")
|
|
575
|
+
def serialize_pq_on_backpressure(self, value):
|
|
576
|
+
if isinstance(value, str):
|
|
577
|
+
try:
|
|
578
|
+
return models.OutputPrometheusQueueFullBehavior(value)
|
|
579
|
+
except ValueError:
|
|
580
|
+
return value
|
|
581
|
+
return value
|
|
@@ -1,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
|
|
@@ -121,3 +122,30 @@ class OutputRing(BaseModel):
|
|
|
121
122
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
122
123
|
|
|
123
124
|
description: Optional[str] = None
|
|
125
|
+
|
|
126
|
+
@field_serializer("format_")
|
|
127
|
+
def serialize_format_(self, value):
|
|
128
|
+
if isinstance(value, str):
|
|
129
|
+
try:
|
|
130
|
+
return models.OutputRingDataFormat(value)
|
|
131
|
+
except ValueError:
|
|
132
|
+
return value
|
|
133
|
+
return value
|
|
134
|
+
|
|
135
|
+
@field_serializer("compress")
|
|
136
|
+
def serialize_compress(self, value):
|
|
137
|
+
if isinstance(value, str):
|
|
138
|
+
try:
|
|
139
|
+
return models.OutputRingDataCompressionFormat(value)
|
|
140
|
+
except ValueError:
|
|
141
|
+
return value
|
|
142
|
+
return value
|
|
143
|
+
|
|
144
|
+
@field_serializer("on_backpressure")
|
|
145
|
+
def serialize_on_backpressure(self, value):
|
|
146
|
+
if isinstance(value, str):
|
|
147
|
+
try:
|
|
148
|
+
return models.OutputRingBackpressureBehavior(value)
|
|
149
|
+
except ValueError:
|
|
150
|
+
return value
|
|
151
|
+
return value
|