cribl-control-plane 0.3.0b4__py3-none-any.whl → 0.3.0b5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +3 -3
- cribl_control_plane/models/cacheconnection.py +20 -0
- cribl_control_plane/models/configgroup.py +20 -1
- cribl_control_plane/models/configgroupcloud.py +11 -1
- cribl_control_plane/models/createconfiggroupbyproductop.py +11 -0
- cribl_control_plane/models/cribllakedataset.py +11 -1
- cribl_control_plane/models/cribllakedatasetupdate.py +11 -1
- cribl_control_plane/models/datasetmetadata.py +11 -1
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +11 -0
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +20 -0
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +20 -0
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +11 -0
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +11 -0
- cribl_control_plane/models/getsummaryop.py +11 -0
- cribl_control_plane/models/groupcreaterequest.py +20 -1
- cribl_control_plane/models/hbcriblinfo.py +11 -1
- cribl_control_plane/models/healthserverstatus.py +20 -1
- cribl_control_plane/models/inputappscope.py +56 -1
- cribl_control_plane/models/inputazureblob.py +29 -1
- cribl_control_plane/models/inputcollection.py +20 -1
- cribl_control_plane/models/inputconfluentcloud.py +78 -1
- cribl_control_plane/models/inputcribl.py +20 -1
- cribl_control_plane/models/inputcriblhttp.py +38 -1
- cribl_control_plane/models/inputcribllakehttp.py +38 -1
- cribl_control_plane/models/inputcriblmetrics.py +20 -1
- cribl_control_plane/models/inputcribltcp.py +38 -1
- cribl_control_plane/models/inputcrowdstrike.py +47 -1
- cribl_control_plane/models/inputdatadogagent.py +38 -1
- cribl_control_plane/models/inputdatagen.py +20 -1
- cribl_control_plane/models/inputedgeprometheus.py +94 -1
- cribl_control_plane/models/inputelastic.py +65 -1
- cribl_control_plane/models/inputeventhub.py +58 -1
- cribl_control_plane/models/inputexec.py +29 -1
- cribl_control_plane/models/inputfile.py +29 -1
- cribl_control_plane/models/inputfirehose.py +38 -1
- cribl_control_plane/models/inputgooglepubsub.py +29 -1
- cribl_control_plane/models/inputgrafana.py +110 -1
- cribl_control_plane/models/inputhttp.py +38 -1
- cribl_control_plane/models/inputhttpraw.py +38 -1
- cribl_control_plane/models/inputjournalfiles.py +20 -1
- cribl_control_plane/models/inputkafka.py +74 -1
- cribl_control_plane/models/inputkinesis.py +65 -1
- cribl_control_plane/models/inputkubeevents.py +20 -1
- cribl_control_plane/models/inputkubelogs.py +29 -1
- cribl_control_plane/models/inputkubemetrics.py +29 -1
- cribl_control_plane/models/inputloki.py +47 -1
- cribl_control_plane/models/inputmetrics.py +38 -1
- cribl_control_plane/models/inputmodeldriventelemetry.py +38 -1
- cribl_control_plane/models/inputmsk.py +74 -1
- cribl_control_plane/models/inputnetflow.py +20 -1
- cribl_control_plane/models/inputoffice365mgmt.py +56 -1
- cribl_control_plane/models/inputoffice365msgtrace.py +56 -1
- cribl_control_plane/models/inputoffice365service.py +56 -1
- cribl_control_plane/models/inputopentelemetry.py +65 -1
- cribl_control_plane/models/inputprometheus.py +87 -1
- cribl_control_plane/models/inputprometheusrw.py +47 -1
- cribl_control_plane/models/inputrawudp.py +20 -1
- cribl_control_plane/models/inputs3.py +38 -1
- cribl_control_plane/models/inputs3inventory.py +47 -1
- cribl_control_plane/models/inputsecuritylake.py +47 -1
- cribl_control_plane/models/inputsnmp.py +29 -1
- cribl_control_plane/models/inputsplunk.py +56 -1
- cribl_control_plane/models/inputsplunkhec.py +47 -1
- cribl_control_plane/models/inputsplunksearch.py +56 -1
- cribl_control_plane/models/inputsqs.py +47 -1
- cribl_control_plane/models/inputsyslog.py +74 -1
- cribl_control_plane/models/inputsystemmetrics.py +92 -1
- cribl_control_plane/models/inputsystemstate.py +29 -1
- cribl_control_plane/models/inputtcp.py +47 -1
- cribl_control_plane/models/inputtcpjson.py +47 -1
- cribl_control_plane/models/inputwef.py +65 -1
- cribl_control_plane/models/inputwindowsmetrics.py +83 -1
- cribl_control_plane/models/inputwineventlogs.py +38 -1
- cribl_control_plane/models/inputwiz.py +38 -1
- cribl_control_plane/models/inputwizwebhook.py +38 -1
- cribl_control_plane/models/inputzscalerhec.py +47 -1
- cribl_control_plane/models/listconfiggroupbyproductop.py +11 -0
- cribl_control_plane/models/masterworkerentry.py +11 -1
- cribl_control_plane/models/nodeupgradestatus.py +38 -0
- cribl_control_plane/models/outputazureblob.py +83 -1
- cribl_control_plane/models/outputazuredataexplorer.py +148 -1
- cribl_control_plane/models/outputazureeventhub.py +98 -1
- cribl_control_plane/models/outputazurelogs.py +56 -1
- cribl_control_plane/models/outputchronicle.py +56 -1
- cribl_control_plane/models/outputclickhouse.py +92 -1
- cribl_control_plane/models/outputcloudwatch.py +47 -1
- cribl_control_plane/models/outputconfluentcloud.py +123 -1
- cribl_control_plane/models/outputcriblhttp.py +74 -1
- cribl_control_plane/models/outputcribllake.py +76 -1
- cribl_control_plane/models/outputcribltcp.py +74 -1
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +67 -1
- cribl_control_plane/models/outputdatabricks.py +65 -1
- cribl_control_plane/models/outputdatadog.py +83 -1
- cribl_control_plane/models/outputdataset.py +74 -1
- cribl_control_plane/models/outputdiskspool.py +11 -1
- cribl_control_plane/models/outputdls3.py +110 -1
- cribl_control_plane/models/outputdynatracehttp.py +92 -1
- cribl_control_plane/models/outputdynatraceotlp.py +92 -1
- cribl_control_plane/models/outputelastic.py +74 -1
- cribl_control_plane/models/outputelasticcloud.py +56 -1
- cribl_control_plane/models/outputexabeam.py +47 -1
- cribl_control_plane/models/outputfilesystem.py +65 -1
- cribl_control_plane/models/outputgooglechronicle.py +83 -1
- cribl_control_plane/models/outputgooglecloudlogging.py +65 -1
- cribl_control_plane/models/outputgooglecloudstorage.py +101 -1
- cribl_control_plane/models/outputgooglepubsub.py +47 -1
- cribl_control_plane/models/outputgrafanacloud.py +146 -1
- cribl_control_plane/models/outputgraphite.py +47 -1
- cribl_control_plane/models/outputhoneycomb.py +56 -1
- cribl_control_plane/models/outputhumiohec.py +65 -1
- cribl_control_plane/models/outputinfluxdb.py +65 -1
- cribl_control_plane/models/outputkafka.py +119 -1
- cribl_control_plane/models/outputkinesis.py +65 -1
- cribl_control_plane/models/outputloki.py +65 -1
- cribl_control_plane/models/outputminio.py +110 -1
- cribl_control_plane/models/outputmsk.py +119 -1
- cribl_control_plane/models/outputnewrelic.py +74 -1
- cribl_control_plane/models/outputnewrelicevents.py +65 -1
- cribl_control_plane/models/outputopentelemetry.py +110 -1
- cribl_control_plane/models/outputprometheus.py +56 -1
- cribl_control_plane/models/outputring.py +29 -1
- cribl_control_plane/models/outputs3.py +110 -1
- cribl_control_plane/models/outputsecuritylake.py +85 -1
- cribl_control_plane/models/outputsentinel.py +74 -1
- cribl_control_plane/models/outputsentineloneaisiem.py +74 -1
- cribl_control_plane/models/outputservicenow.py +101 -1
- cribl_control_plane/models/outputsignalfx.py +56 -1
- cribl_control_plane/models/outputsns.py +56 -1
- cribl_control_plane/models/outputsplunk.py +92 -1
- cribl_control_plane/models/outputsplunkhec.py +74 -1
- cribl_control_plane/models/outputsplunklb.py +121 -1
- cribl_control_plane/models/outputsqs.py +65 -1
- cribl_control_plane/models/outputstatsd.py +47 -1
- cribl_control_plane/models/outputstatsdext.py +47 -1
- cribl_control_plane/models/outputsumologic.py +56 -1
- cribl_control_plane/models/outputsyslog.py +110 -1
- cribl_control_plane/models/outputtcpjson.py +83 -1
- cribl_control_plane/models/outputwavefront.py +56 -1
- cribl_control_plane/models/outputwebhook.py +92 -1
- cribl_control_plane/models/outputxsiam.py +56 -1
- cribl_control_plane/models/resourcepolicy.py +11 -0
- cribl_control_plane/models/runnablejobcollection.py +56 -1
- cribl_control_plane/models/runnablejobexecutor.py +20 -1
- cribl_control_plane/models/runnablejobscheduledsearch.py +11 -1
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +11 -0
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +11 -0
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b5.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b5.dist-info}/RECORD +149 -149
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b5.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, Union
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
|
@@ -106,6 +107,24 @@ class InputGrafanaPq2(BaseModel):
|
|
|
106
107
|
Optional[InputGrafanaPqControls2], pydantic.Field(alias="pqControls")
|
|
107
108
|
] = None
|
|
108
109
|
|
|
110
|
+
@field_serializer("mode")
|
|
111
|
+
def serialize_mode(self, value):
|
|
112
|
+
if isinstance(value, str):
|
|
113
|
+
try:
|
|
114
|
+
return models.InputGrafanaMode2(value)
|
|
115
|
+
except ValueError:
|
|
116
|
+
return value
|
|
117
|
+
return value
|
|
118
|
+
|
|
119
|
+
@field_serializer("compress")
|
|
120
|
+
def serialize_compress(self, value):
|
|
121
|
+
if isinstance(value, str):
|
|
122
|
+
try:
|
|
123
|
+
return models.InputGrafanaCompression2(value)
|
|
124
|
+
except ValueError:
|
|
125
|
+
return value
|
|
126
|
+
return value
|
|
127
|
+
|
|
109
128
|
|
|
110
129
|
class InputGrafanaMinimumTLSVersion2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
111
130
|
TL_SV1 = "TLSv1"
|
|
@@ -192,6 +211,24 @@ class InputGrafanaTLSSettingsServerSide2(BaseModel):
|
|
|
192
211
|
pydantic.Field(alias="maxVersion"),
|
|
193
212
|
] = None
|
|
194
213
|
|
|
214
|
+
@field_serializer("min_version")
|
|
215
|
+
def serialize_min_version(self, value):
|
|
216
|
+
if isinstance(value, str):
|
|
217
|
+
try:
|
|
218
|
+
return models.InputGrafanaMinimumTLSVersion2(value)
|
|
219
|
+
except ValueError:
|
|
220
|
+
return value
|
|
221
|
+
return value
|
|
222
|
+
|
|
223
|
+
@field_serializer("max_version")
|
|
224
|
+
def serialize_max_version(self, value):
|
|
225
|
+
if isinstance(value, str):
|
|
226
|
+
try:
|
|
227
|
+
return models.InputGrafanaMaximumTLSVersion2(value)
|
|
228
|
+
except ValueError:
|
|
229
|
+
return value
|
|
230
|
+
return value
|
|
231
|
+
|
|
195
232
|
|
|
196
233
|
class InputGrafanaPrometheusAuthAuthenticationType2(
|
|
197
234
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
@@ -326,6 +363,15 @@ class InputGrafanaPrometheusAuth2(BaseModel):
|
|
|
326
363
|
] = None
|
|
327
364
|
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."""
|
|
328
365
|
|
|
366
|
+
@field_serializer("auth_type")
|
|
367
|
+
def serialize_auth_type(self, value):
|
|
368
|
+
if isinstance(value, str):
|
|
369
|
+
try:
|
|
370
|
+
return models.InputGrafanaPrometheusAuthAuthenticationType2(value)
|
|
371
|
+
except ValueError:
|
|
372
|
+
return value
|
|
373
|
+
return value
|
|
374
|
+
|
|
329
375
|
|
|
330
376
|
class InputGrafanaLokiAuthAuthenticationType2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
331
377
|
r"""Loki logs authentication type"""
|
|
@@ -458,6 +504,15 @@ class InputGrafanaLokiAuth2(BaseModel):
|
|
|
458
504
|
] = None
|
|
459
505
|
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."""
|
|
460
506
|
|
|
507
|
+
@field_serializer("auth_type")
|
|
508
|
+
def serialize_auth_type(self, value):
|
|
509
|
+
if isinstance(value, str):
|
|
510
|
+
try:
|
|
511
|
+
return models.InputGrafanaLokiAuthAuthenticationType2(value)
|
|
512
|
+
except ValueError:
|
|
513
|
+
return value
|
|
514
|
+
return value
|
|
515
|
+
|
|
461
516
|
|
|
462
517
|
class InputGrafanaMetadatum2TypedDict(TypedDict):
|
|
463
518
|
name: str
|
|
@@ -740,6 +795,24 @@ class InputGrafanaPq1(BaseModel):
|
|
|
740
795
|
Optional[InputGrafanaPqControls1], pydantic.Field(alias="pqControls")
|
|
741
796
|
] = None
|
|
742
797
|
|
|
798
|
+
@field_serializer("mode")
|
|
799
|
+
def serialize_mode(self, value):
|
|
800
|
+
if isinstance(value, str):
|
|
801
|
+
try:
|
|
802
|
+
return models.InputGrafanaMode1(value)
|
|
803
|
+
except ValueError:
|
|
804
|
+
return value
|
|
805
|
+
return value
|
|
806
|
+
|
|
807
|
+
@field_serializer("compress")
|
|
808
|
+
def serialize_compress(self, value):
|
|
809
|
+
if isinstance(value, str):
|
|
810
|
+
try:
|
|
811
|
+
return models.InputGrafanaCompression1(value)
|
|
812
|
+
except ValueError:
|
|
813
|
+
return value
|
|
814
|
+
return value
|
|
815
|
+
|
|
743
816
|
|
|
744
817
|
class InputGrafanaMinimumTLSVersion1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
745
818
|
TL_SV1 = "TLSv1"
|
|
@@ -826,6 +899,24 @@ class InputGrafanaTLSSettingsServerSide1(BaseModel):
|
|
|
826
899
|
pydantic.Field(alias="maxVersion"),
|
|
827
900
|
] = None
|
|
828
901
|
|
|
902
|
+
@field_serializer("min_version")
|
|
903
|
+
def serialize_min_version(self, value):
|
|
904
|
+
if isinstance(value, str):
|
|
905
|
+
try:
|
|
906
|
+
return models.InputGrafanaMinimumTLSVersion1(value)
|
|
907
|
+
except ValueError:
|
|
908
|
+
return value
|
|
909
|
+
return value
|
|
910
|
+
|
|
911
|
+
@field_serializer("max_version")
|
|
912
|
+
def serialize_max_version(self, value):
|
|
913
|
+
if isinstance(value, str):
|
|
914
|
+
try:
|
|
915
|
+
return models.InputGrafanaMaximumTLSVersion1(value)
|
|
916
|
+
except ValueError:
|
|
917
|
+
return value
|
|
918
|
+
return value
|
|
919
|
+
|
|
829
920
|
|
|
830
921
|
class InputGrafanaPrometheusAuthAuthenticationType1(
|
|
831
922
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
@@ -960,6 +1051,15 @@ class InputGrafanaPrometheusAuth1(BaseModel):
|
|
|
960
1051
|
] = None
|
|
961
1052
|
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."""
|
|
962
1053
|
|
|
1054
|
+
@field_serializer("auth_type")
|
|
1055
|
+
def serialize_auth_type(self, value):
|
|
1056
|
+
if isinstance(value, str):
|
|
1057
|
+
try:
|
|
1058
|
+
return models.InputGrafanaPrometheusAuthAuthenticationType1(value)
|
|
1059
|
+
except ValueError:
|
|
1060
|
+
return value
|
|
1061
|
+
return value
|
|
1062
|
+
|
|
963
1063
|
|
|
964
1064
|
class InputGrafanaLokiAuthAuthenticationType1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
965
1065
|
r"""Loki logs authentication type"""
|
|
@@ -1092,6 +1192,15 @@ class InputGrafanaLokiAuth1(BaseModel):
|
|
|
1092
1192
|
] = None
|
|
1093
1193
|
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."""
|
|
1094
1194
|
|
|
1195
|
+
@field_serializer("auth_type")
|
|
1196
|
+
def serialize_auth_type(self, value):
|
|
1197
|
+
if isinstance(value, str):
|
|
1198
|
+
try:
|
|
1199
|
+
return models.InputGrafanaLokiAuthAuthenticationType1(value)
|
|
1200
|
+
except ValueError:
|
|
1201
|
+
return value
|
|
1202
|
+
return value
|
|
1203
|
+
|
|
1095
1204
|
|
|
1096
1205
|
class InputGrafanaMetadatum1TypedDict(TypedDict):
|
|
1097
1206
|
name: str
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
4
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -106,6 +107,24 @@ class InputHTTPPq(BaseModel):
|
|
|
106
107
|
Optional[InputHTTPPqControls], pydantic.Field(alias="pqControls")
|
|
107
108
|
] = None
|
|
108
109
|
|
|
110
|
+
@field_serializer("mode")
|
|
111
|
+
def serialize_mode(self, value):
|
|
112
|
+
if isinstance(value, str):
|
|
113
|
+
try:
|
|
114
|
+
return models.InputHTTPMode(value)
|
|
115
|
+
except ValueError:
|
|
116
|
+
return value
|
|
117
|
+
return value
|
|
118
|
+
|
|
119
|
+
@field_serializer("compress")
|
|
120
|
+
def serialize_compress(self, value):
|
|
121
|
+
if isinstance(value, str):
|
|
122
|
+
try:
|
|
123
|
+
return models.InputHTTPCompression(value)
|
|
124
|
+
except ValueError:
|
|
125
|
+
return value
|
|
126
|
+
return value
|
|
127
|
+
|
|
109
128
|
|
|
110
129
|
class InputHTTPMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
111
130
|
TL_SV1 = "TLSv1"
|
|
@@ -192,6 +211,24 @@ class InputHTTPTLSSettingsServerSide(BaseModel):
|
|
|
192
211
|
pydantic.Field(alias="maxVersion"),
|
|
193
212
|
] = None
|
|
194
213
|
|
|
214
|
+
@field_serializer("min_version")
|
|
215
|
+
def serialize_min_version(self, value):
|
|
216
|
+
if isinstance(value, str):
|
|
217
|
+
try:
|
|
218
|
+
return models.InputHTTPMinimumTLSVersion(value)
|
|
219
|
+
except ValueError:
|
|
220
|
+
return value
|
|
221
|
+
return value
|
|
222
|
+
|
|
223
|
+
@field_serializer("max_version")
|
|
224
|
+
def serialize_max_version(self, value):
|
|
225
|
+
if isinstance(value, str):
|
|
226
|
+
try:
|
|
227
|
+
return models.InputHTTPMaximumTLSVersion(value)
|
|
228
|
+
except ValueError:
|
|
229
|
+
return value
|
|
230
|
+
return value
|
|
231
|
+
|
|
195
232
|
|
|
196
233
|
class InputHTTPMetadatumTypedDict(TypedDict):
|
|
197
234
|
name: str
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
4
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -106,6 +107,24 @@ class InputHTTPRawPq(BaseModel):
|
|
|
106
107
|
Optional[InputHTTPRawPqControls], pydantic.Field(alias="pqControls")
|
|
107
108
|
] = None
|
|
108
109
|
|
|
110
|
+
@field_serializer("mode")
|
|
111
|
+
def serialize_mode(self, value):
|
|
112
|
+
if isinstance(value, str):
|
|
113
|
+
try:
|
|
114
|
+
return models.InputHTTPRawMode(value)
|
|
115
|
+
except ValueError:
|
|
116
|
+
return value
|
|
117
|
+
return value
|
|
118
|
+
|
|
119
|
+
@field_serializer("compress")
|
|
120
|
+
def serialize_compress(self, value):
|
|
121
|
+
if isinstance(value, str):
|
|
122
|
+
try:
|
|
123
|
+
return models.InputHTTPRawCompression(value)
|
|
124
|
+
except ValueError:
|
|
125
|
+
return value
|
|
126
|
+
return value
|
|
127
|
+
|
|
109
128
|
|
|
110
129
|
class InputHTTPRawMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
111
130
|
TL_SV1 = "TLSv1"
|
|
@@ -192,6 +211,24 @@ class InputHTTPRawTLSSettingsServerSide(BaseModel):
|
|
|
192
211
|
pydantic.Field(alias="maxVersion"),
|
|
193
212
|
] = None
|
|
194
213
|
|
|
214
|
+
@field_serializer("min_version")
|
|
215
|
+
def serialize_min_version(self, value):
|
|
216
|
+
if isinstance(value, str):
|
|
217
|
+
try:
|
|
218
|
+
return models.InputHTTPRawMinimumTLSVersion(value)
|
|
219
|
+
except ValueError:
|
|
220
|
+
return value
|
|
221
|
+
return value
|
|
222
|
+
|
|
223
|
+
@field_serializer("max_version")
|
|
224
|
+
def serialize_max_version(self, value):
|
|
225
|
+
if isinstance(value, str):
|
|
226
|
+
try:
|
|
227
|
+
return models.InputHTTPRawMaximumTLSVersion(value)
|
|
228
|
+
except ValueError:
|
|
229
|
+
return value
|
|
230
|
+
return value
|
|
231
|
+
|
|
195
232
|
|
|
196
233
|
class InputHTTPRawMetadatumTypedDict(TypedDict):
|
|
197
234
|
name: str
|
|
@@ -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
|
|
@@ -107,6 +108,24 @@ class InputJournalFilesPq(BaseModel):
|
|
|
107
108
|
Optional[InputJournalFilesPqControls], pydantic.Field(alias="pqControls")
|
|
108
109
|
] = None
|
|
109
110
|
|
|
111
|
+
@field_serializer("mode")
|
|
112
|
+
def serialize_mode(self, value):
|
|
113
|
+
if isinstance(value, str):
|
|
114
|
+
try:
|
|
115
|
+
return models.InputJournalFilesMode(value)
|
|
116
|
+
except ValueError:
|
|
117
|
+
return value
|
|
118
|
+
return value
|
|
119
|
+
|
|
120
|
+
@field_serializer("compress")
|
|
121
|
+
def serialize_compress(self, value):
|
|
122
|
+
if isinstance(value, str):
|
|
123
|
+
try:
|
|
124
|
+
return models.InputJournalFilesCompression(value)
|
|
125
|
+
except ValueError:
|
|
126
|
+
return value
|
|
127
|
+
return value
|
|
128
|
+
|
|
110
129
|
|
|
111
130
|
class InputJournalFilesRuleTypedDict(TypedDict):
|
|
112
131
|
filter_: str
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
4
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -106,6 +107,24 @@ class InputKafkaPq(BaseModel):
|
|
|
106
107
|
Optional[InputKafkaPqControls], pydantic.Field(alias="pqControls")
|
|
107
108
|
] = None
|
|
108
109
|
|
|
110
|
+
@field_serializer("mode")
|
|
111
|
+
def serialize_mode(self, value):
|
|
112
|
+
if isinstance(value, str):
|
|
113
|
+
try:
|
|
114
|
+
return models.InputKafkaMode(value)
|
|
115
|
+
except ValueError:
|
|
116
|
+
return value
|
|
117
|
+
return value
|
|
118
|
+
|
|
119
|
+
@field_serializer("compress")
|
|
120
|
+
def serialize_compress(self, value):
|
|
121
|
+
if isinstance(value, str):
|
|
122
|
+
try:
|
|
123
|
+
return models.InputKafkaCompression(value)
|
|
124
|
+
except ValueError:
|
|
125
|
+
return value
|
|
126
|
+
return value
|
|
127
|
+
|
|
109
128
|
|
|
110
129
|
class InputKafkaAuthTypedDict(TypedDict):
|
|
111
130
|
r"""Credentials to use when authenticating with the schema registry using basic HTTP authentication"""
|
|
@@ -212,6 +231,24 @@ class InputKafkaKafkaSchemaRegistryTLSSettingsClientSide(BaseModel):
|
|
|
212
231
|
pydantic.Field(alias="maxVersion"),
|
|
213
232
|
] = None
|
|
214
233
|
|
|
234
|
+
@field_serializer("min_version")
|
|
235
|
+
def serialize_min_version(self, value):
|
|
236
|
+
if isinstance(value, str):
|
|
237
|
+
try:
|
|
238
|
+
return models.InputKafkaKafkaSchemaRegistryMinimumTLSVersion(value)
|
|
239
|
+
except ValueError:
|
|
240
|
+
return value
|
|
241
|
+
return value
|
|
242
|
+
|
|
243
|
+
@field_serializer("max_version")
|
|
244
|
+
def serialize_max_version(self, value):
|
|
245
|
+
if isinstance(value, str):
|
|
246
|
+
try:
|
|
247
|
+
return models.InputKafkaKafkaSchemaRegistryMaximumTLSVersion(value)
|
|
248
|
+
except ValueError:
|
|
249
|
+
return value
|
|
250
|
+
return value
|
|
251
|
+
|
|
215
252
|
|
|
216
253
|
class InputKafkaKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
|
|
217
254
|
disabled: NotRequired[bool]
|
|
@@ -397,6 +434,24 @@ class InputKafkaAuthentication(BaseModel):
|
|
|
397
434
|
] = None
|
|
398
435
|
r"""Additional SASL extension fields, such as Confluent's logicalCluster or identityPoolId"""
|
|
399
436
|
|
|
437
|
+
@field_serializer("auth_type")
|
|
438
|
+
def serialize_auth_type(self, value):
|
|
439
|
+
if isinstance(value, str):
|
|
440
|
+
try:
|
|
441
|
+
return models.InputKafkaAuthenticationMethod(value)
|
|
442
|
+
except ValueError:
|
|
443
|
+
return value
|
|
444
|
+
return value
|
|
445
|
+
|
|
446
|
+
@field_serializer("mechanism")
|
|
447
|
+
def serialize_mechanism(self, value):
|
|
448
|
+
if isinstance(value, str):
|
|
449
|
+
try:
|
|
450
|
+
return models.InputKafkaSASLMechanism(value)
|
|
451
|
+
except ValueError:
|
|
452
|
+
return value
|
|
453
|
+
return value
|
|
454
|
+
|
|
400
455
|
|
|
401
456
|
class InputKafkaMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
402
457
|
TL_SV1 = "TLSv1"
|
|
@@ -480,6 +535,24 @@ class InputKafkaTLSSettingsClientSide(BaseModel):
|
|
|
480
535
|
pydantic.Field(alias="maxVersion"),
|
|
481
536
|
] = None
|
|
482
537
|
|
|
538
|
+
@field_serializer("min_version")
|
|
539
|
+
def serialize_min_version(self, value):
|
|
540
|
+
if isinstance(value, str):
|
|
541
|
+
try:
|
|
542
|
+
return models.InputKafkaMinimumTLSVersion(value)
|
|
543
|
+
except ValueError:
|
|
544
|
+
return value
|
|
545
|
+
return value
|
|
546
|
+
|
|
547
|
+
@field_serializer("max_version")
|
|
548
|
+
def serialize_max_version(self, value):
|
|
549
|
+
if isinstance(value, str):
|
|
550
|
+
try:
|
|
551
|
+
return models.InputKafkaMaximumTLSVersion(value)
|
|
552
|
+
except ValueError:
|
|
553
|
+
return value
|
|
554
|
+
return value
|
|
555
|
+
|
|
483
556
|
|
|
484
557
|
class InputKafkaMetadatumTypedDict(TypedDict):
|
|
485
558
|
name: str
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
4
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -106,6 +107,24 @@ class InputKinesisPq(BaseModel):
|
|
|
106
107
|
Optional[InputKinesisPqControls], pydantic.Field(alias="pqControls")
|
|
107
108
|
] = None
|
|
108
109
|
|
|
110
|
+
@field_serializer("mode")
|
|
111
|
+
def serialize_mode(self, value):
|
|
112
|
+
if isinstance(value, str):
|
|
113
|
+
try:
|
|
114
|
+
return models.InputKinesisMode(value)
|
|
115
|
+
except ValueError:
|
|
116
|
+
return value
|
|
117
|
+
return value
|
|
118
|
+
|
|
119
|
+
@field_serializer("compress")
|
|
120
|
+
def serialize_compress(self, value):
|
|
121
|
+
if isinstance(value, str):
|
|
122
|
+
try:
|
|
123
|
+
return models.InputKinesisCompression(value)
|
|
124
|
+
except ValueError:
|
|
125
|
+
return value
|
|
126
|
+
return value
|
|
127
|
+
|
|
109
128
|
|
|
110
129
|
class ShardIteratorStart(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
111
130
|
r"""Location at which to start reading a shard for the first time"""
|
|
@@ -389,3 +408,48 @@ class InputKinesis(BaseModel):
|
|
|
389
408
|
|
|
390
409
|
aws_secret: Annotated[Optional[str], pydantic.Field(alias="awsSecret")] = None
|
|
391
410
|
r"""Select or create a stored secret that references your access key and secret key"""
|
|
411
|
+
|
|
412
|
+
@field_serializer("shard_iterator_type")
|
|
413
|
+
def serialize_shard_iterator_type(self, value):
|
|
414
|
+
if isinstance(value, str):
|
|
415
|
+
try:
|
|
416
|
+
return models.ShardIteratorStart(value)
|
|
417
|
+
except ValueError:
|
|
418
|
+
return value
|
|
419
|
+
return value
|
|
420
|
+
|
|
421
|
+
@field_serializer("payload_format")
|
|
422
|
+
def serialize_payload_format(self, value):
|
|
423
|
+
if isinstance(value, str):
|
|
424
|
+
try:
|
|
425
|
+
return models.InputKinesisRecordDataFormat(value)
|
|
426
|
+
except ValueError:
|
|
427
|
+
return value
|
|
428
|
+
return value
|
|
429
|
+
|
|
430
|
+
@field_serializer("load_balancing_algorithm")
|
|
431
|
+
def serialize_load_balancing_algorithm(self, value):
|
|
432
|
+
if isinstance(value, str):
|
|
433
|
+
try:
|
|
434
|
+
return models.ShardLoadBalancing(value)
|
|
435
|
+
except ValueError:
|
|
436
|
+
return value
|
|
437
|
+
return value
|
|
438
|
+
|
|
439
|
+
@field_serializer("aws_authentication_method")
|
|
440
|
+
def serialize_aws_authentication_method(self, value):
|
|
441
|
+
if isinstance(value, str):
|
|
442
|
+
try:
|
|
443
|
+
return models.InputKinesisAuthenticationMethod(value)
|
|
444
|
+
except ValueError:
|
|
445
|
+
return value
|
|
446
|
+
return value
|
|
447
|
+
|
|
448
|
+
@field_serializer("signature_version")
|
|
449
|
+
def serialize_signature_version(self, value):
|
|
450
|
+
if isinstance(value, str):
|
|
451
|
+
try:
|
|
452
|
+
return models.InputKinesisSignatureVersion(value)
|
|
453
|
+
except ValueError:
|
|
454
|
+
return value
|
|
455
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
4
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -106,6 +107,24 @@ class InputKubeEventsPq(BaseModel):
|
|
|
106
107
|
Optional[InputKubeEventsPqControls], pydantic.Field(alias="pqControls")
|
|
107
108
|
] = None
|
|
108
109
|
|
|
110
|
+
@field_serializer("mode")
|
|
111
|
+
def serialize_mode(self, value):
|
|
112
|
+
if isinstance(value, str):
|
|
113
|
+
try:
|
|
114
|
+
return models.InputKubeEventsMode(value)
|
|
115
|
+
except ValueError:
|
|
116
|
+
return value
|
|
117
|
+
return value
|
|
118
|
+
|
|
119
|
+
@field_serializer("compress")
|
|
120
|
+
def serialize_compress(self, value):
|
|
121
|
+
if isinstance(value, str):
|
|
122
|
+
try:
|
|
123
|
+
return models.InputKubeEventsCompression(value)
|
|
124
|
+
except ValueError:
|
|
125
|
+
return value
|
|
126
|
+
return value
|
|
127
|
+
|
|
109
128
|
|
|
110
129
|
class InputKubeEventsRuleTypedDict(TypedDict):
|
|
111
130
|
filter_: str
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
4
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -106,6 +107,24 @@ class InputKubeLogsPq(BaseModel):
|
|
|
106
107
|
Optional[InputKubeLogsPqControls], pydantic.Field(alias="pqControls")
|
|
107
108
|
] = None
|
|
108
109
|
|
|
110
|
+
@field_serializer("mode")
|
|
111
|
+
def serialize_mode(self, value):
|
|
112
|
+
if isinstance(value, str):
|
|
113
|
+
try:
|
|
114
|
+
return models.InputKubeLogsMode(value)
|
|
115
|
+
except ValueError:
|
|
116
|
+
return value
|
|
117
|
+
return value
|
|
118
|
+
|
|
119
|
+
@field_serializer("compress")
|
|
120
|
+
def serialize_compress(self, value):
|
|
121
|
+
if isinstance(value, str):
|
|
122
|
+
try:
|
|
123
|
+
return models.InputKubeLogsPqCompression(value)
|
|
124
|
+
except ValueError:
|
|
125
|
+
return value
|
|
126
|
+
return value
|
|
127
|
+
|
|
109
128
|
|
|
110
129
|
class InputKubeLogsRuleTypedDict(TypedDict):
|
|
111
130
|
filter_: str
|
|
@@ -174,6 +193,15 @@ class InputKubeLogsDiskSpooling(BaseModel):
|
|
|
174
193
|
] = InputKubeLogsPersistenceCompression.GZIP
|
|
175
194
|
r"""Data compression format. Default is gzip."""
|
|
176
195
|
|
|
196
|
+
@field_serializer("compress")
|
|
197
|
+
def serialize_compress(self, value):
|
|
198
|
+
if isinstance(value, str):
|
|
199
|
+
try:
|
|
200
|
+
return models.InputKubeLogsPersistenceCompression(value)
|
|
201
|
+
except ValueError:
|
|
202
|
+
return value
|
|
203
|
+
return value
|
|
204
|
+
|
|
177
205
|
|
|
178
206
|
class InputKubeLogsTypedDict(TypedDict):
|
|
179
207
|
type: InputKubeLogsType
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
4
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -106,6 +107,24 @@ class InputKubeMetricsPq(BaseModel):
|
|
|
106
107
|
Optional[InputKubeMetricsPqControls], pydantic.Field(alias="pqControls")
|
|
107
108
|
] = None
|
|
108
109
|
|
|
110
|
+
@field_serializer("mode")
|
|
111
|
+
def serialize_mode(self, value):
|
|
112
|
+
if isinstance(value, str):
|
|
113
|
+
try:
|
|
114
|
+
return models.InputKubeMetricsMode(value)
|
|
115
|
+
except ValueError:
|
|
116
|
+
return value
|
|
117
|
+
return value
|
|
118
|
+
|
|
119
|
+
@field_serializer("compress")
|
|
120
|
+
def serialize_compress(self, value):
|
|
121
|
+
if isinstance(value, str):
|
|
122
|
+
try:
|
|
123
|
+
return models.InputKubeMetricsCompression(value)
|
|
124
|
+
except ValueError:
|
|
125
|
+
return value
|
|
126
|
+
return value
|
|
127
|
+
|
|
109
128
|
|
|
110
129
|
class InputKubeMetricsRuleTypedDict(TypedDict):
|
|
111
130
|
filter_: str
|
|
@@ -177,6 +196,15 @@ class InputKubeMetricsPersistence(BaseModel):
|
|
|
177
196
|
)
|
|
178
197
|
r"""Path to use to write metrics. Defaults to $CRIBL_HOME/state/<id>"""
|
|
179
198
|
|
|
199
|
+
@field_serializer("compress")
|
|
200
|
+
def serialize_compress(self, value):
|
|
201
|
+
if isinstance(value, str):
|
|
202
|
+
try:
|
|
203
|
+
return models.InputKubeMetricsDataCompressionFormat(value)
|
|
204
|
+
except ValueError:
|
|
205
|
+
return value
|
|
206
|
+
return value
|
|
207
|
+
|
|
180
208
|
|
|
181
209
|
class InputKubeMetricsTypedDict(TypedDict):
|
|
182
210
|
type: InputKubeMetricsType
|