cribl-control-plane 0.3.0b6__py3-none-any.whl → 0.3.0b7__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 +0 -20
- cribl_control_plane/models/configgroup.py +1 -20
- cribl_control_plane/models/configgroupcloud.py +1 -11
- cribl_control_plane/models/createconfiggroupbyproductop.py +0 -11
- cribl_control_plane/models/cribllakedataset.py +1 -11
- cribl_control_plane/models/cribllakedatasetupdate.py +1 -11
- cribl_control_plane/models/datasetmetadata.py +1 -11
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +0 -20
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +0 -20
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +0 -11
- cribl_control_plane/models/getsummaryop.py +0 -11
- cribl_control_plane/models/groupcreaterequest.py +1 -20
- cribl_control_plane/models/hbcriblinfo.py +1 -11
- cribl_control_plane/models/healthserverstatus.py +1 -20
- cribl_control_plane/models/inputappscope.py +1 -56
- cribl_control_plane/models/inputazureblob.py +1 -29
- cribl_control_plane/models/inputcollection.py +1 -20
- cribl_control_plane/models/inputconfluentcloud.py +1 -78
- cribl_control_plane/models/inputcribl.py +1 -20
- cribl_control_plane/models/inputcriblhttp.py +1 -38
- cribl_control_plane/models/inputcribllakehttp.py +1 -38
- cribl_control_plane/models/inputcriblmetrics.py +1 -20
- cribl_control_plane/models/inputcribltcp.py +1 -38
- cribl_control_plane/models/inputcrowdstrike.py +1 -47
- cribl_control_plane/models/inputdatadogagent.py +1 -38
- cribl_control_plane/models/inputdatagen.py +1 -20
- cribl_control_plane/models/inputedgeprometheus.py +1 -94
- cribl_control_plane/models/inputelastic.py +1 -65
- cribl_control_plane/models/inputeventhub.py +1 -58
- cribl_control_plane/models/inputexec.py +1 -29
- cribl_control_plane/models/inputfile.py +1 -29
- cribl_control_plane/models/inputfirehose.py +1 -38
- cribl_control_plane/models/inputgooglepubsub.py +1 -29
- cribl_control_plane/models/inputgrafana.py +1 -110
- cribl_control_plane/models/inputhttp.py +1 -38
- cribl_control_plane/models/inputhttpraw.py +1 -38
- cribl_control_plane/models/inputjournalfiles.py +1 -20
- cribl_control_plane/models/inputkafka.py +1 -74
- cribl_control_plane/models/inputkinesis.py +1 -65
- cribl_control_plane/models/inputkubeevents.py +1 -20
- cribl_control_plane/models/inputkubelogs.py +1 -29
- cribl_control_plane/models/inputkubemetrics.py +1 -29
- cribl_control_plane/models/inputloki.py +1 -47
- cribl_control_plane/models/inputmetrics.py +1 -38
- cribl_control_plane/models/inputmodeldriventelemetry.py +1 -38
- cribl_control_plane/models/inputmsk.py +1 -74
- cribl_control_plane/models/inputnetflow.py +1 -20
- cribl_control_plane/models/inputoffice365mgmt.py +1 -56
- cribl_control_plane/models/inputoffice365msgtrace.py +1 -56
- cribl_control_plane/models/inputoffice365service.py +1 -56
- cribl_control_plane/models/inputopentelemetry.py +1 -65
- cribl_control_plane/models/inputprometheus.py +1 -87
- cribl_control_plane/models/inputprometheusrw.py +1 -47
- cribl_control_plane/models/inputrawudp.py +1 -20
- cribl_control_plane/models/inputs3.py +1 -38
- cribl_control_plane/models/inputs3inventory.py +1 -47
- cribl_control_plane/models/inputsecuritylake.py +1 -47
- cribl_control_plane/models/inputsnmp.py +1 -29
- cribl_control_plane/models/inputsplunk.py +1 -56
- cribl_control_plane/models/inputsplunkhec.py +1 -47
- cribl_control_plane/models/inputsplunksearch.py +1 -56
- cribl_control_plane/models/inputsqs.py +1 -47
- cribl_control_plane/models/inputsyslog.py +1 -74
- cribl_control_plane/models/inputsystemmetrics.py +1 -92
- cribl_control_plane/models/inputsystemstate.py +1 -29
- cribl_control_plane/models/inputtcp.py +1 -47
- cribl_control_plane/models/inputtcpjson.py +1 -47
- cribl_control_plane/models/inputwef.py +1 -65
- cribl_control_plane/models/inputwindowsmetrics.py +1 -83
- cribl_control_plane/models/inputwineventlogs.py +1 -38
- cribl_control_plane/models/inputwiz.py +1 -38
- cribl_control_plane/models/inputwizwebhook.py +1 -38
- cribl_control_plane/models/inputzscalerhec.py +1 -47
- cribl_control_plane/models/listconfiggroupbyproductop.py +0 -11
- cribl_control_plane/models/masterworkerentry.py +1 -11
- cribl_control_plane/models/nodeupgradestatus.py +0 -38
- cribl_control_plane/models/outputazureblob.py +1 -83
- cribl_control_plane/models/outputazuredataexplorer.py +1 -148
- cribl_control_plane/models/outputazureeventhub.py +1 -98
- cribl_control_plane/models/outputazurelogs.py +1 -56
- cribl_control_plane/models/outputchronicle.py +1 -56
- cribl_control_plane/models/outputclickhouse.py +1 -92
- cribl_control_plane/models/outputcloudwatch.py +1 -47
- cribl_control_plane/models/outputconfluentcloud.py +1 -123
- cribl_control_plane/models/outputcriblhttp.py +1 -74
- cribl_control_plane/models/outputcribllake.py +1 -76
- cribl_control_plane/models/outputcribltcp.py +1 -74
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +1 -67
- cribl_control_plane/models/outputdatabricks.py +1 -65
- cribl_control_plane/models/outputdatadog.py +1 -83
- cribl_control_plane/models/outputdataset.py +1 -74
- cribl_control_plane/models/outputdiskspool.py +1 -11
- cribl_control_plane/models/outputdls3.py +1 -110
- cribl_control_plane/models/outputdynatracehttp.py +1 -92
- cribl_control_plane/models/outputdynatraceotlp.py +1 -92
- cribl_control_plane/models/outputelastic.py +1 -74
- cribl_control_plane/models/outputelasticcloud.py +1 -56
- cribl_control_plane/models/outputexabeam.py +1 -47
- cribl_control_plane/models/outputfilesystem.py +1 -65
- cribl_control_plane/models/outputgooglechronicle.py +1 -83
- cribl_control_plane/models/outputgooglecloudlogging.py +1 -65
- cribl_control_plane/models/outputgooglecloudstorage.py +1 -101
- cribl_control_plane/models/outputgooglepubsub.py +1 -47
- cribl_control_plane/models/outputgrafanacloud.py +1 -146
- cribl_control_plane/models/outputgraphite.py +1 -47
- cribl_control_plane/models/outputhoneycomb.py +1 -56
- cribl_control_plane/models/outputhumiohec.py +1 -65
- cribl_control_plane/models/outputinfluxdb.py +1 -65
- cribl_control_plane/models/outputkafka.py +1 -119
- cribl_control_plane/models/outputkinesis.py +1 -65
- cribl_control_plane/models/outputloki.py +1 -65
- cribl_control_plane/models/outputminio.py +1 -110
- cribl_control_plane/models/outputmsk.py +1 -119
- cribl_control_plane/models/outputnewrelic.py +1 -74
- cribl_control_plane/models/outputnewrelicevents.py +1 -65
- cribl_control_plane/models/outputopentelemetry.py +1 -110
- cribl_control_plane/models/outputprometheus.py +1 -56
- cribl_control_plane/models/outputring.py +1 -29
- cribl_control_plane/models/outputs3.py +1 -110
- cribl_control_plane/models/outputsecuritylake.py +1 -85
- cribl_control_plane/models/outputsentinel.py +1 -74
- cribl_control_plane/models/outputsentineloneaisiem.py +1 -74
- cribl_control_plane/models/outputservicenow.py +1 -101
- cribl_control_plane/models/outputsignalfx.py +1 -56
- cribl_control_plane/models/outputsns.py +1 -56
- cribl_control_plane/models/outputsplunk.py +1 -92
- cribl_control_plane/models/outputsplunkhec.py +1 -74
- cribl_control_plane/models/outputsplunklb.py +1 -121
- cribl_control_plane/models/outputsqs.py +1 -65
- cribl_control_plane/models/outputstatsd.py +1 -47
- cribl_control_plane/models/outputstatsdext.py +1 -47
- cribl_control_plane/models/outputsumologic.py +1 -56
- cribl_control_plane/models/outputsyslog.py +1 -110
- cribl_control_plane/models/outputtcpjson.py +1 -83
- cribl_control_plane/models/outputwavefront.py +1 -56
- cribl_control_plane/models/outputwebhook.py +1 -92
- cribl_control_plane/models/outputxsiam.py +1 -56
- cribl_control_plane/models/resourcepolicy.py +0 -11
- cribl_control_plane/models/runnablejobcollection.py +1 -56
- cribl_control_plane/models/runnablejobexecutor.py +1 -20
- cribl_control_plane/models/runnablejobscheduledsearch.py +1 -11
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +0 -11
- {cribl_control_plane-0.3.0b6.dist-info → cribl_control_plane-0.3.0b7.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.3.0b6.dist-info → cribl_control_plane-0.3.0b7.dist-info}/RECORD +149 -149
- {cribl_control_plane-0.3.0b6.dist-info → cribl_control_plane-0.3.0b7.dist-info}/WHEEL +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional, Union
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputGrafanaPq2(BaseModel):
|
|
|
107
106
|
Optional[InputGrafanaPqControls2], pydantic.Field(alias="pqControls")
|
|
108
107
|
] = None
|
|
109
108
|
|
|
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
|
-
|
|
128
109
|
|
|
129
110
|
class InputGrafanaMinimumTLSVersion2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
TL_SV1 = "TLSv1"
|
|
@@ -211,24 +192,6 @@ class InputGrafanaTLSSettingsServerSide2(BaseModel):
|
|
|
211
192
|
pydantic.Field(alias="maxVersion"),
|
|
212
193
|
] = None
|
|
213
194
|
|
|
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
|
-
|
|
232
195
|
|
|
233
196
|
class InputGrafanaPrometheusAuthAuthenticationType2(
|
|
234
197
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
@@ -363,15 +326,6 @@ class InputGrafanaPrometheusAuth2(BaseModel):
|
|
|
363
326
|
] = None
|
|
364
327
|
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."""
|
|
365
328
|
|
|
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
|
-
|
|
375
329
|
|
|
376
330
|
class InputGrafanaLokiAuthAuthenticationType2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
377
331
|
r"""Loki logs authentication type"""
|
|
@@ -504,15 +458,6 @@ class InputGrafanaLokiAuth2(BaseModel):
|
|
|
504
458
|
] = None
|
|
505
459
|
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."""
|
|
506
460
|
|
|
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
|
-
|
|
516
461
|
|
|
517
462
|
class InputGrafanaMetadatum2TypedDict(TypedDict):
|
|
518
463
|
name: str
|
|
@@ -795,24 +740,6 @@ class InputGrafanaPq1(BaseModel):
|
|
|
795
740
|
Optional[InputGrafanaPqControls1], pydantic.Field(alias="pqControls")
|
|
796
741
|
] = None
|
|
797
742
|
|
|
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
|
-
|
|
816
743
|
|
|
817
744
|
class InputGrafanaMinimumTLSVersion1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
818
745
|
TL_SV1 = "TLSv1"
|
|
@@ -899,24 +826,6 @@ class InputGrafanaTLSSettingsServerSide1(BaseModel):
|
|
|
899
826
|
pydantic.Field(alias="maxVersion"),
|
|
900
827
|
] = None
|
|
901
828
|
|
|
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
|
-
|
|
920
829
|
|
|
921
830
|
class InputGrafanaPrometheusAuthAuthenticationType1(
|
|
922
831
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
@@ -1051,15 +960,6 @@ class InputGrafanaPrometheusAuth1(BaseModel):
|
|
|
1051
960
|
] = None
|
|
1052
961
|
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."""
|
|
1053
962
|
|
|
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
|
-
|
|
1063
963
|
|
|
1064
964
|
class InputGrafanaLokiAuthAuthenticationType1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
1065
965
|
r"""Loki logs authentication type"""
|
|
@@ -1192,15 +1092,6 @@ class InputGrafanaLokiAuth1(BaseModel):
|
|
|
1192
1092
|
] = None
|
|
1193
1093
|
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."""
|
|
1194
1094
|
|
|
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
|
-
|
|
1204
1095
|
|
|
1205
1096
|
class InputGrafanaMetadatum1TypedDict(TypedDict):
|
|
1206
1097
|
name: str
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputHTTPPq(BaseModel):
|
|
|
107
106
|
Optional[InputHTTPPqControls], pydantic.Field(alias="pqControls")
|
|
108
107
|
] = None
|
|
109
108
|
|
|
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
|
-
|
|
128
109
|
|
|
129
110
|
class InputHTTPMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
TL_SV1 = "TLSv1"
|
|
@@ -211,24 +192,6 @@ class InputHTTPTLSSettingsServerSide(BaseModel):
|
|
|
211
192
|
pydantic.Field(alias="maxVersion"),
|
|
212
193
|
] = None
|
|
213
194
|
|
|
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
|
-
|
|
232
195
|
|
|
233
196
|
class InputHTTPMetadatumTypedDict(TypedDict):
|
|
234
197
|
name: str
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputHTTPRawPq(BaseModel):
|
|
|
107
106
|
Optional[InputHTTPRawPqControls], pydantic.Field(alias="pqControls")
|
|
108
107
|
] = None
|
|
109
108
|
|
|
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
|
-
|
|
128
109
|
|
|
129
110
|
class InputHTTPRawMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
TL_SV1 = "TLSv1"
|
|
@@ -211,24 +192,6 @@ class InputHTTPRawTLSSettingsServerSide(BaseModel):
|
|
|
211
192
|
pydantic.Field(alias="maxVersion"),
|
|
212
193
|
] = None
|
|
213
194
|
|
|
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
|
-
|
|
232
195
|
|
|
233
196
|
class InputHTTPRawMetadatumTypedDict(TypedDict):
|
|
234
197
|
name: str
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -108,24 +107,6 @@ class InputJournalFilesPq(BaseModel):
|
|
|
108
107
|
Optional[InputJournalFilesPqControls], pydantic.Field(alias="pqControls")
|
|
109
108
|
] = None
|
|
110
109
|
|
|
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
|
-
|
|
129
110
|
|
|
130
111
|
class InputJournalFilesRuleTypedDict(TypedDict):
|
|
131
112
|
filter_: str
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputKafkaPq(BaseModel):
|
|
|
107
106
|
Optional[InputKafkaPqControls], pydantic.Field(alias="pqControls")
|
|
108
107
|
] = None
|
|
109
108
|
|
|
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
|
-
|
|
128
109
|
|
|
129
110
|
class InputKafkaAuthTypedDict(TypedDict):
|
|
130
111
|
r"""Credentials to use when authenticating with the schema registry using basic HTTP authentication"""
|
|
@@ -231,24 +212,6 @@ class InputKafkaKafkaSchemaRegistryTLSSettingsClientSide(BaseModel):
|
|
|
231
212
|
pydantic.Field(alias="maxVersion"),
|
|
232
213
|
] = None
|
|
233
214
|
|
|
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
|
-
|
|
252
215
|
|
|
253
216
|
class InputKafkaKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
|
|
254
217
|
disabled: NotRequired[bool]
|
|
@@ -434,24 +397,6 @@ class InputKafkaAuthentication(BaseModel):
|
|
|
434
397
|
] = None
|
|
435
398
|
r"""Additional SASL extension fields, such as Confluent's logicalCluster or identityPoolId"""
|
|
436
399
|
|
|
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
|
-
|
|
455
400
|
|
|
456
401
|
class InputKafkaMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
457
402
|
TL_SV1 = "TLSv1"
|
|
@@ -535,24 +480,6 @@ class InputKafkaTLSSettingsClientSide(BaseModel):
|
|
|
535
480
|
pydantic.Field(alias="maxVersion"),
|
|
536
481
|
] = None
|
|
537
482
|
|
|
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
|
-
|
|
556
483
|
|
|
557
484
|
class InputKafkaMetadatumTypedDict(TypedDict):
|
|
558
485
|
name: str
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputKinesisPq(BaseModel):
|
|
|
107
106
|
Optional[InputKinesisPqControls], pydantic.Field(alias="pqControls")
|
|
108
107
|
] = None
|
|
109
108
|
|
|
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
|
-
|
|
128
109
|
|
|
129
110
|
class ShardIteratorStart(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
r"""Location at which to start reading a shard for the first time"""
|
|
@@ -408,48 +389,3 @@ class InputKinesis(BaseModel):
|
|
|
408
389
|
|
|
409
390
|
aws_secret: Annotated[Optional[str], pydantic.Field(alias="awsSecret")] = None
|
|
410
391
|
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,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputKubeEventsPq(BaseModel):
|
|
|
107
106
|
Optional[InputKubeEventsPqControls], pydantic.Field(alias="pqControls")
|
|
108
107
|
] = None
|
|
109
108
|
|
|
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
|
-
|
|
128
109
|
|
|
129
110
|
class InputKubeEventsRuleTypedDict(TypedDict):
|
|
130
111
|
filter_: str
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputKubeLogsPq(BaseModel):
|
|
|
107
106
|
Optional[InputKubeLogsPqControls], pydantic.Field(alias="pqControls")
|
|
108
107
|
] = None
|
|
109
108
|
|
|
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
|
-
|
|
128
109
|
|
|
129
110
|
class InputKubeLogsRuleTypedDict(TypedDict):
|
|
130
111
|
filter_: str
|
|
@@ -193,15 +174,6 @@ class InputKubeLogsDiskSpooling(BaseModel):
|
|
|
193
174
|
] = InputKubeLogsPersistenceCompression.GZIP
|
|
194
175
|
r"""Data compression format. Default is gzip."""
|
|
195
176
|
|
|
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
|
-
|
|
205
177
|
|
|
206
178
|
class InputKubeLogsTypedDict(TypedDict):
|
|
207
179
|
type: InputKubeLogsType
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputKubeMetricsPq(BaseModel):
|
|
|
107
106
|
Optional[InputKubeMetricsPqControls], pydantic.Field(alias="pqControls")
|
|
108
107
|
] = None
|
|
109
108
|
|
|
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
|
-
|
|
128
109
|
|
|
129
110
|
class InputKubeMetricsRuleTypedDict(TypedDict):
|
|
130
111
|
filter_: str
|
|
@@ -196,15 +177,6 @@ class InputKubeMetricsPersistence(BaseModel):
|
|
|
196
177
|
)
|
|
197
178
|
r"""Path to use to write metrics. Defaults to $CRIBL_HOME/state/<id>"""
|
|
198
179
|
|
|
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
|
-
|
|
208
180
|
|
|
209
181
|
class InputKubeMetricsTypedDict(TypedDict):
|
|
210
182
|
type: InputKubeMetricsType
|