cribl-control-plane 0.2.1rc7__py3-none-any.whl → 0.2.1rc8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +4 -4
- cribl_control_plane/groups_sdk.py +2 -2
- cribl_control_plane/lakedatasets.py +28 -0
- cribl_control_plane/models/__init__.py +10 -1
- cribl_control_plane/models/cacheconnection.py +0 -20
- cribl_control_plane/models/configgroup.py +1 -20
- cribl_control_plane/models/configgroupcloud.py +1 -11
- cribl_control_plane/models/createconfiggroupbyproductop.py +2 -13
- cribl_control_plane/models/cribllakedataset.py +5 -11
- cribl_control_plane/models/cribllakedatasetupdate.py +5 -11
- cribl_control_plane/models/datasetmetadata.py +1 -11
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +0 -20
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +0 -20
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +0 -11
- cribl_control_plane/models/getsummaryop.py +0 -11
- cribl_control_plane/models/groupcreaterequest.py +1 -20
- cribl_control_plane/models/hbcriblinfo.py +1 -11
- cribl_control_plane/models/healthserverstatus.py +1 -20
- cribl_control_plane/models/inputappscope.py +1 -56
- cribl_control_plane/models/inputazureblob.py +1 -29
- cribl_control_plane/models/inputcollection.py +1 -20
- cribl_control_plane/models/inputconfluentcloud.py +1 -78
- cribl_control_plane/models/inputcribl.py +1 -20
- cribl_control_plane/models/inputcriblhttp.py +1 -38
- cribl_control_plane/models/inputcribllakehttp.py +1 -38
- cribl_control_plane/models/inputcriblmetrics.py +1 -20
- cribl_control_plane/models/inputcribltcp.py +1 -38
- cribl_control_plane/models/inputcrowdstrike.py +1 -47
- cribl_control_plane/models/inputdatadogagent.py +1 -38
- cribl_control_plane/models/inputdatagen.py +1 -20
- cribl_control_plane/models/inputedgeprometheus.py +1 -94
- cribl_control_plane/models/inputelastic.py +1 -65
- cribl_control_plane/models/inputeventhub.py +1 -58
- cribl_control_plane/models/inputexec.py +1 -29
- cribl_control_plane/models/inputfile.py +4 -32
- cribl_control_plane/models/inputfirehose.py +1 -38
- cribl_control_plane/models/inputgooglepubsub.py +1 -29
- cribl_control_plane/models/inputgrafana.py +1 -110
- cribl_control_plane/models/inputhttp.py +1 -38
- cribl_control_plane/models/inputhttpraw.py +1 -38
- cribl_control_plane/models/inputjournalfiles.py +1 -20
- cribl_control_plane/models/inputkafka.py +1 -74
- cribl_control_plane/models/inputkinesis.py +1 -65
- cribl_control_plane/models/inputkubeevents.py +1 -20
- cribl_control_plane/models/inputkubelogs.py +1 -29
- cribl_control_plane/models/inputkubemetrics.py +1 -29
- cribl_control_plane/models/inputloki.py +1 -47
- cribl_control_plane/models/inputmetrics.py +1 -38
- cribl_control_plane/models/inputmodeldriventelemetry.py +1 -38
- cribl_control_plane/models/inputmsk.py +1 -74
- cribl_control_plane/models/inputnetflow.py +1 -20
- cribl_control_plane/models/inputoffice365mgmt.py +1 -56
- cribl_control_plane/models/inputoffice365msgtrace.py +1 -56
- cribl_control_plane/models/inputoffice365service.py +1 -56
- cribl_control_plane/models/inputopentelemetry.py +1 -65
- cribl_control_plane/models/inputprometheus.py +1 -87
- cribl_control_plane/models/inputprometheusrw.py +1 -47
- cribl_control_plane/models/inputrawudp.py +1 -20
- cribl_control_plane/models/inputs3.py +1 -38
- cribl_control_plane/models/inputs3inventory.py +1 -47
- cribl_control_plane/models/inputsecuritylake.py +1 -47
- cribl_control_plane/models/inputsnmp.py +1 -29
- cribl_control_plane/models/inputsplunk.py +1 -56
- cribl_control_plane/models/inputsplunkhec.py +1 -47
- cribl_control_plane/models/inputsplunksearch.py +1 -56
- cribl_control_plane/models/inputsqs.py +1 -47
- cribl_control_plane/models/inputsyslog.py +1 -74
- cribl_control_plane/models/inputsystemmetrics.py +1 -92
- cribl_control_plane/models/inputsystemstate.py +1 -29
- cribl_control_plane/models/inputtcp.py +1 -47
- cribl_control_plane/models/inputtcpjson.py +1 -47
- cribl_control_plane/models/inputwef.py +1 -65
- cribl_control_plane/models/inputwindowsmetrics.py +1 -83
- cribl_control_plane/models/inputwineventlogs.py +1 -38
- cribl_control_plane/models/inputwiz.py +1 -38
- cribl_control_plane/models/inputwizwebhook.py +1 -38
- cribl_control_plane/models/inputzscalerhec.py +1 -47
- cribl_control_plane/models/jobinfo.py +10 -4
- cribl_control_plane/models/jobstatus.py +1 -11
- cribl_control_plane/models/lakedatasetmetrics.py +17 -0
- cribl_control_plane/models/listconfiggroupbyproductop.py +0 -11
- cribl_control_plane/models/masterworkerentry.py +1 -11
- cribl_control_plane/models/nodeupgradestatus.py +0 -38
- cribl_control_plane/models/outputazureblob.py +1 -83
- cribl_control_plane/models/outputazuredataexplorer.py +1 -148
- cribl_control_plane/models/outputazureeventhub.py +1 -98
- cribl_control_plane/models/outputazurelogs.py +1 -56
- cribl_control_plane/models/outputchronicle.py +1 -56
- cribl_control_plane/models/outputclickhouse.py +1 -92
- cribl_control_plane/models/outputcloudwatch.py +1 -47
- cribl_control_plane/models/outputconfluentcloud.py +3 -123
- cribl_control_plane/models/outputcriblhttp.py +1 -74
- cribl_control_plane/models/outputcribllake.py +1 -76
- cribl_control_plane/models/outputcribltcp.py +1 -74
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +1 -67
- cribl_control_plane/models/outputdatabricks.py +1 -65
- cribl_control_plane/models/outputdatadog.py +1 -83
- cribl_control_plane/models/outputdataset.py +1 -74
- cribl_control_plane/models/outputdiskspool.py +1 -11
- cribl_control_plane/models/outputdls3.py +1 -110
- cribl_control_plane/models/outputdynatracehttp.py +1 -92
- cribl_control_plane/models/outputdynatraceotlp.py +1 -92
- cribl_control_plane/models/outputelastic.py +1 -74
- cribl_control_plane/models/outputelasticcloud.py +1 -56
- cribl_control_plane/models/outputexabeam.py +1 -47
- cribl_control_plane/models/outputfilesystem.py +1 -65
- cribl_control_plane/models/outputgooglechronicle.py +1 -83
- cribl_control_plane/models/outputgooglecloudlogging.py +1 -65
- cribl_control_plane/models/outputgooglecloudstorage.py +1 -101
- cribl_control_plane/models/outputgooglepubsub.py +1 -47
- cribl_control_plane/models/outputgrafanacloud.py +1 -146
- cribl_control_plane/models/outputgraphite.py +1 -47
- cribl_control_plane/models/outputhoneycomb.py +1 -56
- cribl_control_plane/models/outputhumiohec.py +1 -65
- cribl_control_plane/models/outputinfluxdb.py +1 -65
- cribl_control_plane/models/outputkafka.py +3 -119
- cribl_control_plane/models/outputkinesis.py +1 -65
- cribl_control_plane/models/outputloki.py +1 -65
- cribl_control_plane/models/outputminio.py +1 -110
- cribl_control_plane/models/outputmsk.py +3 -119
- cribl_control_plane/models/outputnewrelic.py +1 -74
- cribl_control_plane/models/outputnewrelicevents.py +1 -65
- cribl_control_plane/models/outputopentelemetry.py +1 -110
- cribl_control_plane/models/outputprometheus.py +1 -56
- cribl_control_plane/models/outputring.py +1 -29
- cribl_control_plane/models/outputs3.py +1 -110
- cribl_control_plane/models/outputsecuritylake.py +1 -85
- cribl_control_plane/models/outputsentinel.py +1 -74
- cribl_control_plane/models/outputsentineloneaisiem.py +1 -74
- cribl_control_plane/models/outputservicenow.py +1 -101
- cribl_control_plane/models/outputsignalfx.py +1 -56
- cribl_control_plane/models/outputsns.py +1 -56
- cribl_control_plane/models/outputsplunk.py +1 -92
- cribl_control_plane/models/outputsplunkhec.py +1 -74
- cribl_control_plane/models/outputsplunklb.py +1 -121
- cribl_control_plane/models/outputsqs.py +1 -65
- cribl_control_plane/models/outputstatsd.py +1 -47
- cribl_control_plane/models/outputstatsdext.py +1 -47
- cribl_control_plane/models/outputsumologic.py +1 -56
- cribl_control_plane/models/outputsyslog.py +1 -110
- cribl_control_plane/models/outputtcpjson.py +1 -83
- cribl_control_plane/models/outputwavefront.py +1 -56
- cribl_control_plane/models/outputwebhook.py +1 -92
- cribl_control_plane/models/outputxsiam.py +1 -56
- cribl_control_plane/models/resourcepolicy.py +0 -11
- cribl_control_plane/models/runnablejobcollection.py +1 -56
- cribl_control_plane/models/runnablejobexecutor.py +1 -20
- cribl_control_plane/models/runnablejobscheduledsearch.py +1 -11
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +0 -11
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc8.dist-info}/METADATA +25 -7
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc8.dist-info}/RECORD +155 -154
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc8.dist-info}/WHEEL +0 -0
|
@@ -4,12 +4,11 @@ from __future__ import annotations
|
|
|
4
4
|
from .commit import Commit, CommitTypedDict
|
|
5
5
|
from .configgroupcloud import ConfigGroupCloud, ConfigGroupCloudTypedDict
|
|
6
6
|
from .configgrouplookups import ConfigGroupLookups, ConfigGroupLookupsTypedDict
|
|
7
|
-
from cribl_control_plane import
|
|
7
|
+
from cribl_control_plane import utils
|
|
8
8
|
from cribl_control_plane.types import BaseModel
|
|
9
9
|
from cribl_control_plane.utils import validate_open_enum
|
|
10
10
|
from enum import Enum
|
|
11
11
|
import pydantic
|
|
12
|
-
from pydantic import field_serializer
|
|
13
12
|
from pydantic.functional_validators import PlainValidator
|
|
14
13
|
from typing import List, Optional
|
|
15
14
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -151,21 +150,3 @@ class GroupCreateRequest(BaseModel):
|
|
|
151
150
|
worker_remote_access: Annotated[
|
|
152
151
|
Optional[bool], pydantic.Field(alias="workerRemoteAccess")
|
|
153
152
|
] = None
|
|
154
|
-
|
|
155
|
-
@field_serializer("estimated_ingest_rate")
|
|
156
|
-
def serialize_estimated_ingest_rate(self, value):
|
|
157
|
-
if isinstance(value, str):
|
|
158
|
-
try:
|
|
159
|
-
return models.GroupCreateRequestEstimatedIngestRate(value)
|
|
160
|
-
except ValueError:
|
|
161
|
-
return value
|
|
162
|
-
return value
|
|
163
|
-
|
|
164
|
-
@field_serializer("type")
|
|
165
|
-
def serialize_type(self, value):
|
|
166
|
-
if isinstance(value, str):
|
|
167
|
-
try:
|
|
168
|
-
return models.GroupCreateRequestType(value)
|
|
169
|
-
except ValueError:
|
|
170
|
-
return value
|
|
171
|
-
return value
|
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .hbleaderinfo import HBLeaderInfo, HBLeaderInfoTypedDict
|
|
5
5
|
from .lookupversions import LookupVersions, LookupVersionsTypedDict
|
|
6
|
-
from cribl_control_plane import
|
|
6
|
+
from cribl_control_plane import utils
|
|
7
7
|
from cribl_control_plane.types import BaseModel
|
|
8
8
|
from cribl_control_plane.utils import validate_open_enum
|
|
9
9
|
from enum import Enum
|
|
10
10
|
import pydantic
|
|
11
|
-
from pydantic import field_serializer
|
|
12
11
|
from pydantic.functional_validators import PlainValidator
|
|
13
12
|
from typing import List, Optional
|
|
14
13
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -105,12 +104,3 @@ class HBCriblInfo(BaseModel):
|
|
|
105
104
|
)
|
|
106
105
|
|
|
107
106
|
version: Optional[str] = None
|
|
108
|
-
|
|
109
|
-
@field_serializer("dist_mode")
|
|
110
|
-
def serialize_dist_mode(self, value):
|
|
111
|
-
if isinstance(value, str):
|
|
112
|
-
try:
|
|
113
|
-
return models.DistMode(value)
|
|
114
|
-
except ValueError:
|
|
115
|
-
return value
|
|
116
|
-
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 Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -35,21 +34,3 @@ class HealthServerStatus(BaseModel):
|
|
|
35
34
|
status: Annotated[Status, PlainValidator(validate_open_enum(False))]
|
|
36
35
|
|
|
37
36
|
role: Annotated[Optional[Role], PlainValidator(validate_open_enum(False))] = None
|
|
38
|
-
|
|
39
|
-
@field_serializer("role")
|
|
40
|
-
def serialize_role(self, value):
|
|
41
|
-
if isinstance(value, str):
|
|
42
|
-
try:
|
|
43
|
-
return models.Role(value)
|
|
44
|
-
except ValueError:
|
|
45
|
-
return value
|
|
46
|
-
return value
|
|
47
|
-
|
|
48
|
-
@field_serializer("status")
|
|
49
|
-
def serialize_status(self, value):
|
|
50
|
-
if isinstance(value, str):
|
|
51
|
-
try:
|
|
52
|
-
return models.Status(value)
|
|
53
|
-
except ValueError:
|
|
54
|
-
return value
|
|
55
|
-
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 InputAppscopePq(BaseModel):
|
|
|
107
106
|
Optional[InputAppscopePqControls], 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.InputAppscopeMode(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.InputAppscopeCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputAppscopeMetadatumTypedDict(TypedDict):
|
|
130
111
|
name: str
|
|
@@ -216,15 +197,6 @@ class InputAppscopePersistence(BaseModel):
|
|
|
216
197
|
)
|
|
217
198
|
r"""Path to use to write metrics. Defaults to $CRIBL_HOME/state/appscope"""
|
|
218
199
|
|
|
219
|
-
@field_serializer("compress")
|
|
220
|
-
def serialize_compress(self, value):
|
|
221
|
-
if isinstance(value, str):
|
|
222
|
-
try:
|
|
223
|
-
return models.InputAppscopeDataCompressionFormat(value)
|
|
224
|
-
except ValueError:
|
|
225
|
-
return value
|
|
226
|
-
return value
|
|
227
|
-
|
|
228
200
|
|
|
229
201
|
class InputAppscopeAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
230
202
|
r"""Select Manual to enter an auth token directly, or select Secret to use a text secret to authenticate"""
|
|
@@ -318,24 +290,6 @@ class InputAppscopeTLSSettingsServerSide(BaseModel):
|
|
|
318
290
|
pydantic.Field(alias="maxVersion"),
|
|
319
291
|
] = None
|
|
320
292
|
|
|
321
|
-
@field_serializer("min_version")
|
|
322
|
-
def serialize_min_version(self, value):
|
|
323
|
-
if isinstance(value, str):
|
|
324
|
-
try:
|
|
325
|
-
return models.InputAppscopeMinimumTLSVersion(value)
|
|
326
|
-
except ValueError:
|
|
327
|
-
return value
|
|
328
|
-
return value
|
|
329
|
-
|
|
330
|
-
@field_serializer("max_version")
|
|
331
|
-
def serialize_max_version(self, value):
|
|
332
|
-
if isinstance(value, str):
|
|
333
|
-
try:
|
|
334
|
-
return models.InputAppscopeMaximumTLSVersion(value)
|
|
335
|
-
except ValueError:
|
|
336
|
-
return value
|
|
337
|
-
return value
|
|
338
|
-
|
|
339
293
|
|
|
340
294
|
class InputAppscopeTypedDict(TypedDict):
|
|
341
295
|
type: InputAppscopeType
|
|
@@ -513,12 +467,3 @@ class InputAppscope(BaseModel):
|
|
|
513
467
|
|
|
514
468
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
515
469
|
r"""Select or create a stored text secret"""
|
|
516
|
-
|
|
517
|
-
@field_serializer("auth_type")
|
|
518
|
-
def serialize_auth_type(self, value):
|
|
519
|
-
if isinstance(value, str):
|
|
520
|
-
try:
|
|
521
|
-
return models.InputAppscopeAuthenticationMethod(value)
|
|
522
|
-
except ValueError:
|
|
523
|
-
return value
|
|
524
|
-
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 InputAzureBlobPq(BaseModel):
|
|
|
107
106
|
Optional[InputAzureBlobPqControls], 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.InputAzureBlobMode(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.InputAzureBlobCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputAzureBlobMetadatumTypedDict(TypedDict):
|
|
130
111
|
name: str
|
|
@@ -342,12 +323,3 @@ class InputAzureBlob(BaseModel):
|
|
|
342
323
|
r"""Select or create a stored text secret"""
|
|
343
324
|
|
|
344
325
|
certificate: Optional[InputAzureBlobCertificate] = None
|
|
345
|
-
|
|
346
|
-
@field_serializer("auth_type")
|
|
347
|
-
def serialize_auth_type(self, value):
|
|
348
|
-
if isinstance(value, str):
|
|
349
|
-
try:
|
|
350
|
-
return models.InputAzureBlobAuthenticationMethod(value)
|
|
351
|
-
except ValueError:
|
|
352
|
-
return value
|
|
353
|
-
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 InputCollectionPq(BaseModel):
|
|
|
107
106
|
Optional[InputCollectionPqControls], 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.InputCollectionMode(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.InputCollectionCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputCollectionPreprocessTypedDict(TypedDict):
|
|
130
111
|
disabled: NotRequired[bool]
|
|
@@ -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 InputConfluentCloudPq(BaseModel):
|
|
|
108
107
|
Optional[InputConfluentCloudPqControls], 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.InputConfluentCloudMode(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.InputConfluentCloudCompression(value)
|
|
125
|
-
except ValueError:
|
|
126
|
-
return value
|
|
127
|
-
return value
|
|
128
|
-
|
|
129
110
|
|
|
130
111
|
class InputConfluentCloudMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
131
112
|
TL_SV1 = "TLSv1"
|
|
@@ -209,24 +190,6 @@ class InputConfluentCloudTLSSettingsClientSide(BaseModel):
|
|
|
209
190
|
pydantic.Field(alias="maxVersion"),
|
|
210
191
|
] = None
|
|
211
192
|
|
|
212
|
-
@field_serializer("min_version")
|
|
213
|
-
def serialize_min_version(self, value):
|
|
214
|
-
if isinstance(value, str):
|
|
215
|
-
try:
|
|
216
|
-
return models.InputConfluentCloudMinimumTLSVersion(value)
|
|
217
|
-
except ValueError:
|
|
218
|
-
return value
|
|
219
|
-
return value
|
|
220
|
-
|
|
221
|
-
@field_serializer("max_version")
|
|
222
|
-
def serialize_max_version(self, value):
|
|
223
|
-
if isinstance(value, str):
|
|
224
|
-
try:
|
|
225
|
-
return models.InputConfluentCloudMaximumTLSVersion(value)
|
|
226
|
-
except ValueError:
|
|
227
|
-
return value
|
|
228
|
-
return value
|
|
229
|
-
|
|
230
193
|
|
|
231
194
|
class InputConfluentCloudAuthTypedDict(TypedDict):
|
|
232
195
|
r"""Credentials to use when authenticating with the schema registry using basic HTTP authentication"""
|
|
@@ -333,28 +296,6 @@ class InputConfluentCloudKafkaSchemaRegistryTLSSettingsClientSide(BaseModel):
|
|
|
333
296
|
pydantic.Field(alias="maxVersion"),
|
|
334
297
|
] = None
|
|
335
298
|
|
|
336
|
-
@field_serializer("min_version")
|
|
337
|
-
def serialize_min_version(self, value):
|
|
338
|
-
if isinstance(value, str):
|
|
339
|
-
try:
|
|
340
|
-
return models.InputConfluentCloudKafkaSchemaRegistryMinimumTLSVersion(
|
|
341
|
-
value
|
|
342
|
-
)
|
|
343
|
-
except ValueError:
|
|
344
|
-
return value
|
|
345
|
-
return value
|
|
346
|
-
|
|
347
|
-
@field_serializer("max_version")
|
|
348
|
-
def serialize_max_version(self, value):
|
|
349
|
-
if isinstance(value, str):
|
|
350
|
-
try:
|
|
351
|
-
return models.InputConfluentCloudKafkaSchemaRegistryMaximumTLSVersion(
|
|
352
|
-
value
|
|
353
|
-
)
|
|
354
|
-
except ValueError:
|
|
355
|
-
return value
|
|
356
|
-
return value
|
|
357
|
-
|
|
358
299
|
|
|
359
300
|
class InputConfluentCloudKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
|
|
360
301
|
disabled: NotRequired[bool]
|
|
@@ -545,24 +486,6 @@ class InputConfluentCloudAuthentication(BaseModel):
|
|
|
545
486
|
] = None
|
|
546
487
|
r"""Additional SASL extension fields, such as Confluent's logicalCluster or identityPoolId"""
|
|
547
488
|
|
|
548
|
-
@field_serializer("auth_type")
|
|
549
|
-
def serialize_auth_type(self, value):
|
|
550
|
-
if isinstance(value, str):
|
|
551
|
-
try:
|
|
552
|
-
return models.InputConfluentCloudAuthenticationMethod(value)
|
|
553
|
-
except ValueError:
|
|
554
|
-
return value
|
|
555
|
-
return value
|
|
556
|
-
|
|
557
|
-
@field_serializer("mechanism")
|
|
558
|
-
def serialize_mechanism(self, value):
|
|
559
|
-
if isinstance(value, str):
|
|
560
|
-
try:
|
|
561
|
-
return models.InputConfluentCloudSASLMechanism(value)
|
|
562
|
-
except ValueError:
|
|
563
|
-
return value
|
|
564
|
-
return value
|
|
565
|
-
|
|
566
489
|
|
|
567
490
|
class InputConfluentCloudMetadatumTypedDict(TypedDict):
|
|
568
491
|
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 InputCriblPq(BaseModel):
|
|
|
107
106
|
Optional[InputCriblPqControls], 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.InputCriblMode(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.InputCriblCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputCriblMetadatumTypedDict(TypedDict):
|
|
130
111
|
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 InputCriblHTTPPq(BaseModel):
|
|
|
107
106
|
Optional[InputCriblHTTPPqControls], 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.InputCriblHTTPMode(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.InputCriblHTTPCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputCriblHTTPMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
TL_SV1 = "TLSv1"
|
|
@@ -211,24 +192,6 @@ class InputCriblHTTPTLSSettingsServerSide(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.InputCriblHTTPMinimumTLSVersion(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.InputCriblHTTPMaximumTLSVersion(value)
|
|
228
|
-
except ValueError:
|
|
229
|
-
return value
|
|
230
|
-
return value
|
|
231
|
-
|
|
232
195
|
|
|
233
196
|
class InputCriblHTTPMetadatumTypedDict(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 InputCriblLakeHTTPPq(BaseModel):
|
|
|
108
107
|
Optional[InputCriblLakeHTTPPqControls], 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.InputCriblLakeHTTPMode(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.InputCriblLakeHTTPCompression(value)
|
|
125
|
-
except ValueError:
|
|
126
|
-
return value
|
|
127
|
-
return value
|
|
128
|
-
|
|
129
110
|
|
|
130
111
|
class InputCriblLakeHTTPMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
131
112
|
TL_SV1 = "TLSv1"
|
|
@@ -212,24 +193,6 @@ class InputCriblLakeHTTPTLSSettingsServerSide(BaseModel):
|
|
|
212
193
|
pydantic.Field(alias="maxVersion"),
|
|
213
194
|
] = None
|
|
214
195
|
|
|
215
|
-
@field_serializer("min_version")
|
|
216
|
-
def serialize_min_version(self, value):
|
|
217
|
-
if isinstance(value, str):
|
|
218
|
-
try:
|
|
219
|
-
return models.InputCriblLakeHTTPMinimumTLSVersion(value)
|
|
220
|
-
except ValueError:
|
|
221
|
-
return value
|
|
222
|
-
return value
|
|
223
|
-
|
|
224
|
-
@field_serializer("max_version")
|
|
225
|
-
def serialize_max_version(self, value):
|
|
226
|
-
if isinstance(value, str):
|
|
227
|
-
try:
|
|
228
|
-
return models.InputCriblLakeHTTPMaximumTLSVersion(value)
|
|
229
|
-
except ValueError:
|
|
230
|
-
return value
|
|
231
|
-
return value
|
|
232
|
-
|
|
233
196
|
|
|
234
197
|
class InputCriblLakeHTTPMetadatumTypedDict(TypedDict):
|
|
235
198
|
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 InputCriblmetricsPq(BaseModel):
|
|
|
108
107
|
Optional[InputCriblmetricsPqControls], 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.InputCriblmetricsMode(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.InputCriblmetricsCompression(value)
|
|
125
|
-
except ValueError:
|
|
126
|
-
return value
|
|
127
|
-
return value
|
|
128
|
-
|
|
129
110
|
|
|
130
111
|
class InputCriblmetricsMetadatumTypedDict(TypedDict):
|
|
131
112
|
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 InputCriblTCPPq(BaseModel):
|
|
|
107
106
|
Optional[InputCriblTCPPqControls], 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.InputCriblTCPMode(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.InputCriblTCPCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputCriblTCPMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
TL_SV1 = "TLSv1"
|
|
@@ -211,24 +192,6 @@ class InputCriblTCPTLSSettingsServerSide(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.InputCriblTCPMinimumTLSVersion(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.InputCriblTCPMaximumTLSVersion(value)
|
|
228
|
-
except ValueError:
|
|
229
|
-
return value
|
|
230
|
-
return value
|
|
231
|
-
|
|
232
195
|
|
|
233
196
|
class InputCriblTCPMetadatumTypedDict(TypedDict):
|
|
234
197
|
name: str
|