cribl-control-plane 0.3.0b4__py3-none-any.whl → 0.3.0b6__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/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 +13 -2
- 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.0b6.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b6.dist-info}/RECORD +150 -150
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b6.dist-info}/WHEEL +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
4
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -106,6 +107,24 @@ class InputLokiPq(BaseModel):
|
|
|
106
107
|
Optional[InputLokiPqControls], 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.InputLokiMode(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.InputLokiCompression(value)
|
|
124
|
+
except ValueError:
|
|
125
|
+
return value
|
|
126
|
+
return value
|
|
127
|
+
|
|
109
128
|
|
|
110
129
|
class InputLokiMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
111
130
|
TL_SV1 = "TLSv1"
|
|
@@ -192,6 +211,24 @@ class InputLokiTLSSettingsServerSide(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.InputLokiMinimumTLSVersion(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.InputLokiMaximumTLSVersion(value)
|
|
228
|
+
except ValueError:
|
|
229
|
+
return value
|
|
230
|
+
return value
|
|
231
|
+
|
|
195
232
|
|
|
196
233
|
class InputLokiAuthenticationType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
197
234
|
r"""Loki logs authentication type"""
|
|
@@ -487,3 +524,12 @@ class InputLoki(BaseModel):
|
|
|
487
524
|
Optional[List[InputLokiOauthHeader]], pydantic.Field(alias="oauthHeaders")
|
|
488
525
|
] = None
|
|
489
526
|
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."""
|
|
527
|
+
|
|
528
|
+
@field_serializer("auth_type")
|
|
529
|
+
def serialize_auth_type(self, value):
|
|
530
|
+
if isinstance(value, str):
|
|
531
|
+
try:
|
|
532
|
+
return models.InputLokiAuthenticationType(value)
|
|
533
|
+
except ValueError:
|
|
534
|
+
return value
|
|
535
|
+
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 InputMetricsPq(BaseModel):
|
|
|
106
107
|
Optional[InputMetricsPqControls], 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.InputMetricsMode(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.InputMetricsCompression(value)
|
|
124
|
+
except ValueError:
|
|
125
|
+
return value
|
|
126
|
+
return value
|
|
127
|
+
|
|
109
128
|
|
|
110
129
|
class InputMetricsMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
111
130
|
TL_SV1 = "TLSv1"
|
|
@@ -192,6 +211,24 @@ class InputMetricsTLSSettingsServerSide(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.InputMetricsMinimumTLSVersion(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.InputMetricsMaximumTLSVersion(value)
|
|
228
|
+
except ValueError:
|
|
229
|
+
return value
|
|
230
|
+
return value
|
|
231
|
+
|
|
195
232
|
|
|
196
233
|
class InputMetricsMetadatumTypedDict(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
|
|
@@ -109,6 +110,24 @@ class InputModelDrivenTelemetryPq(BaseModel):
|
|
|
109
110
|
pydantic.Field(alias="pqControls"),
|
|
110
111
|
] = None
|
|
111
112
|
|
|
113
|
+
@field_serializer("mode")
|
|
114
|
+
def serialize_mode(self, value):
|
|
115
|
+
if isinstance(value, str):
|
|
116
|
+
try:
|
|
117
|
+
return models.InputModelDrivenTelemetryMode(value)
|
|
118
|
+
except ValueError:
|
|
119
|
+
return value
|
|
120
|
+
return value
|
|
121
|
+
|
|
122
|
+
@field_serializer("compress")
|
|
123
|
+
def serialize_compress(self, value):
|
|
124
|
+
if isinstance(value, str):
|
|
125
|
+
try:
|
|
126
|
+
return models.InputModelDrivenTelemetryCompression(value)
|
|
127
|
+
except ValueError:
|
|
128
|
+
return value
|
|
129
|
+
return value
|
|
130
|
+
|
|
112
131
|
|
|
113
132
|
class InputModelDrivenTelemetryMinimumTLSVersion(
|
|
114
133
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
@@ -199,6 +218,24 @@ class InputModelDrivenTelemetryTLSSettingsServerSide(BaseModel):
|
|
|
199
218
|
pydantic.Field(alias="maxVersion"),
|
|
200
219
|
] = None
|
|
201
220
|
|
|
221
|
+
@field_serializer("min_version")
|
|
222
|
+
def serialize_min_version(self, value):
|
|
223
|
+
if isinstance(value, str):
|
|
224
|
+
try:
|
|
225
|
+
return models.InputModelDrivenTelemetryMinimumTLSVersion(value)
|
|
226
|
+
except ValueError:
|
|
227
|
+
return value
|
|
228
|
+
return value
|
|
229
|
+
|
|
230
|
+
@field_serializer("max_version")
|
|
231
|
+
def serialize_max_version(self, value):
|
|
232
|
+
if isinstance(value, str):
|
|
233
|
+
try:
|
|
234
|
+
return models.InputModelDrivenTelemetryMaximumTLSVersion(value)
|
|
235
|
+
except ValueError:
|
|
236
|
+
return value
|
|
237
|
+
return value
|
|
238
|
+
|
|
202
239
|
|
|
203
240
|
class InputModelDrivenTelemetryMetadatumTypedDict(TypedDict):
|
|
204
241
|
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 InputMskPq(BaseModel):
|
|
|
106
107
|
Optional[InputMskPqControls], 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.InputMskMode(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.InputMskCompression(value)
|
|
124
|
+
except ValueError:
|
|
125
|
+
return value
|
|
126
|
+
return value
|
|
127
|
+
|
|
109
128
|
|
|
110
129
|
class InputMskMetadatumTypedDict(TypedDict):
|
|
111
130
|
name: str
|
|
@@ -225,6 +244,24 @@ class InputMskKafkaSchemaRegistryTLSSettingsClientSide(BaseModel):
|
|
|
225
244
|
pydantic.Field(alias="maxVersion"),
|
|
226
245
|
] = None
|
|
227
246
|
|
|
247
|
+
@field_serializer("min_version")
|
|
248
|
+
def serialize_min_version(self, value):
|
|
249
|
+
if isinstance(value, str):
|
|
250
|
+
try:
|
|
251
|
+
return models.InputMskKafkaSchemaRegistryMinimumTLSVersion(value)
|
|
252
|
+
except ValueError:
|
|
253
|
+
return value
|
|
254
|
+
return value
|
|
255
|
+
|
|
256
|
+
@field_serializer("max_version")
|
|
257
|
+
def serialize_max_version(self, value):
|
|
258
|
+
if isinstance(value, str):
|
|
259
|
+
try:
|
|
260
|
+
return models.InputMskKafkaSchemaRegistryMaximumTLSVersion(value)
|
|
261
|
+
except ValueError:
|
|
262
|
+
return value
|
|
263
|
+
return value
|
|
264
|
+
|
|
228
265
|
|
|
229
266
|
class InputMskKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
|
|
230
267
|
disabled: NotRequired[bool]
|
|
@@ -368,6 +405,24 @@ class InputMskTLSSettingsClientSide(BaseModel):
|
|
|
368
405
|
pydantic.Field(alias="maxVersion"),
|
|
369
406
|
] = None
|
|
370
407
|
|
|
408
|
+
@field_serializer("min_version")
|
|
409
|
+
def serialize_min_version(self, value):
|
|
410
|
+
if isinstance(value, str):
|
|
411
|
+
try:
|
|
412
|
+
return models.InputMskMinimumTLSVersion(value)
|
|
413
|
+
except ValueError:
|
|
414
|
+
return value
|
|
415
|
+
return value
|
|
416
|
+
|
|
417
|
+
@field_serializer("max_version")
|
|
418
|
+
def serialize_max_version(self, value):
|
|
419
|
+
if isinstance(value, str):
|
|
420
|
+
try:
|
|
421
|
+
return models.InputMskMaximumTLSVersion(value)
|
|
422
|
+
except ValueError:
|
|
423
|
+
return value
|
|
424
|
+
return value
|
|
425
|
+
|
|
371
426
|
|
|
372
427
|
class InputMskTypedDict(TypedDict):
|
|
373
428
|
type: InputMskType
|
|
@@ -672,3 +727,21 @@ class InputMsk(BaseModel):
|
|
|
672
727
|
|
|
673
728
|
aws_secret: Annotated[Optional[str], pydantic.Field(alias="awsSecret")] = None
|
|
674
729
|
r"""Select or create a stored secret that references your access key and secret key"""
|
|
730
|
+
|
|
731
|
+
@field_serializer("aws_authentication_method")
|
|
732
|
+
def serialize_aws_authentication_method(self, value):
|
|
733
|
+
if isinstance(value, str):
|
|
734
|
+
try:
|
|
735
|
+
return models.InputMskAuthenticationMethod(value)
|
|
736
|
+
except ValueError:
|
|
737
|
+
return value
|
|
738
|
+
return value
|
|
739
|
+
|
|
740
|
+
@field_serializer("signature_version")
|
|
741
|
+
def serialize_signature_version(self, value):
|
|
742
|
+
if isinstance(value, str):
|
|
743
|
+
try:
|
|
744
|
+
return models.InputMskSignatureVersion(value)
|
|
745
|
+
except ValueError:
|
|
746
|
+
return value
|
|
747
|
+
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 InputNetflowPq(BaseModel):
|
|
|
106
107
|
Optional[InputNetflowPqControls], 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.InputNetflowMode(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.InputNetflowCompression(value)
|
|
124
|
+
except ValueError:
|
|
125
|
+
return value
|
|
126
|
+
return value
|
|
127
|
+
|
|
109
128
|
|
|
110
129
|
class InputNetflowMetadatumTypedDict(TypedDict):
|
|
111
130
|
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 InputOffice365MgmtPq(BaseModel):
|
|
|
107
108
|
Optional[InputOffice365MgmtPqControls], 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.InputOffice365MgmtMode(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.InputOffice365MgmtCompression(value)
|
|
125
|
+
except ValueError:
|
|
126
|
+
return value
|
|
127
|
+
return value
|
|
128
|
+
|
|
110
129
|
|
|
111
130
|
class InputOffice365MgmtSubscriptionPlan(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
112
131
|
r"""Office 365 subscription plan for your organization, typically Office 365 Enterprise"""
|
|
@@ -174,6 +193,15 @@ class InputOffice365MgmtContentConfig(BaseModel):
|
|
|
174
193
|
|
|
175
194
|
enabled: Optional[bool] = None
|
|
176
195
|
|
|
196
|
+
@field_serializer("log_level")
|
|
197
|
+
def serialize_log_level(self, value):
|
|
198
|
+
if isinstance(value, str):
|
|
199
|
+
try:
|
|
200
|
+
return models.InputOffice365MgmtLogLevel(value)
|
|
201
|
+
except ValueError:
|
|
202
|
+
return value
|
|
203
|
+
return value
|
|
204
|
+
|
|
177
205
|
|
|
178
206
|
class InputOffice365MgmtRetryType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
179
207
|
r"""The algorithm to use when performing HTTP retries"""
|
|
@@ -238,6 +266,15 @@ class InputOffice365MgmtRetryRules(BaseModel):
|
|
|
238
266
|
] = False
|
|
239
267
|
r"""Retry request when a connection reset (ECONNRESET) error occurs"""
|
|
240
268
|
|
|
269
|
+
@field_serializer("type")
|
|
270
|
+
def serialize_type(self, value):
|
|
271
|
+
if isinstance(value, str):
|
|
272
|
+
try:
|
|
273
|
+
return models.InputOffice365MgmtRetryType(value)
|
|
274
|
+
except ValueError:
|
|
275
|
+
return value
|
|
276
|
+
return value
|
|
277
|
+
|
|
241
278
|
|
|
242
279
|
class InputOffice365MgmtAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
243
280
|
r"""Enter client secret directly, or select a stored secret"""
|
|
@@ -406,3 +443,21 @@ class InputOffice365Mgmt(BaseModel):
|
|
|
406
443
|
|
|
407
444
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
408
445
|
r"""Select or create a stored text secret"""
|
|
446
|
+
|
|
447
|
+
@field_serializer("plan_type")
|
|
448
|
+
def serialize_plan_type(self, value):
|
|
449
|
+
if isinstance(value, str):
|
|
450
|
+
try:
|
|
451
|
+
return models.InputOffice365MgmtSubscriptionPlan(value)
|
|
452
|
+
except ValueError:
|
|
453
|
+
return value
|
|
454
|
+
return value
|
|
455
|
+
|
|
456
|
+
@field_serializer("auth_type")
|
|
457
|
+
def serialize_auth_type(self, value):
|
|
458
|
+
if isinstance(value, str):
|
|
459
|
+
try:
|
|
460
|
+
return models.InputOffice365MgmtAuthenticationMethod(value)
|
|
461
|
+
except ValueError:
|
|
462
|
+
return value
|
|
463
|
+
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
|
|
@@ -107,6 +108,24 @@ class InputOffice365MsgTracePq(BaseModel):
|
|
|
107
108
|
Optional[InputOffice365MsgTracePqControls], 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.InputOffice365MsgTraceMode(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.InputOffice365MsgTraceCompression(value)
|
|
125
|
+
except ValueError:
|
|
126
|
+
return value
|
|
127
|
+
return value
|
|
128
|
+
|
|
110
129
|
|
|
111
130
|
class InputOffice365MsgTraceAuthenticationMethod(
|
|
112
131
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
@@ -207,6 +226,15 @@ class InputOffice365MsgTraceRetryRules(BaseModel):
|
|
|
207
226
|
] = False
|
|
208
227
|
r"""Retry request when a connection reset (ECONNRESET) error occurs"""
|
|
209
228
|
|
|
229
|
+
@field_serializer("type")
|
|
230
|
+
def serialize_type(self, value):
|
|
231
|
+
if isinstance(value, str):
|
|
232
|
+
try:
|
|
233
|
+
return models.InputOffice365MsgTraceRetryType(value)
|
|
234
|
+
except ValueError:
|
|
235
|
+
return value
|
|
236
|
+
return value
|
|
237
|
+
|
|
210
238
|
|
|
211
239
|
class InputOffice365MsgTraceSubscriptionPlan(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
212
240
|
r"""Office 365 subscription plan for your organization, typically Office 365 Enterprise"""
|
|
@@ -469,3 +497,30 @@ class InputOffice365MsgTrace(BaseModel):
|
|
|
469
497
|
cert_options: Annotated[
|
|
470
498
|
Optional[CertOptions], pydantic.Field(alias="certOptions")
|
|
471
499
|
] = None
|
|
500
|
+
|
|
501
|
+
@field_serializer("auth_type")
|
|
502
|
+
def serialize_auth_type(self, value):
|
|
503
|
+
if isinstance(value, str):
|
|
504
|
+
try:
|
|
505
|
+
return models.InputOffice365MsgTraceAuthenticationMethod(value)
|
|
506
|
+
except ValueError:
|
|
507
|
+
return value
|
|
508
|
+
return value
|
|
509
|
+
|
|
510
|
+
@field_serializer("log_level")
|
|
511
|
+
def serialize_log_level(self, value):
|
|
512
|
+
if isinstance(value, str):
|
|
513
|
+
try:
|
|
514
|
+
return models.InputOffice365MsgTraceLogLevel(value)
|
|
515
|
+
except ValueError:
|
|
516
|
+
return value
|
|
517
|
+
return value
|
|
518
|
+
|
|
519
|
+
@field_serializer("plan_type")
|
|
520
|
+
def serialize_plan_type(self, value):
|
|
521
|
+
if isinstance(value, str):
|
|
522
|
+
try:
|
|
523
|
+
return models.InputOffice365MsgTraceSubscriptionPlan(value)
|
|
524
|
+
except ValueError:
|
|
525
|
+
return value
|
|
526
|
+
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
|
|
@@ -107,6 +108,24 @@ class InputOffice365ServicePq(BaseModel):
|
|
|
107
108
|
Optional[InputOffice365ServicePqControls], 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.InputOffice365ServiceMode(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.InputOffice365ServiceCompression(value)
|
|
125
|
+
except ValueError:
|
|
126
|
+
return value
|
|
127
|
+
return value
|
|
128
|
+
|
|
110
129
|
|
|
111
130
|
class InputOffice365ServiceSubscriptionPlan(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
112
131
|
r"""Office 365 subscription plan for your organization, typically Office 365 Enterprise"""
|
|
@@ -174,6 +193,15 @@ class InputOffice365ServiceContentConfig(BaseModel):
|
|
|
174
193
|
|
|
175
194
|
enabled: Optional[bool] = None
|
|
176
195
|
|
|
196
|
+
@field_serializer("log_level")
|
|
197
|
+
def serialize_log_level(self, value):
|
|
198
|
+
if isinstance(value, str):
|
|
199
|
+
try:
|
|
200
|
+
return models.InputOffice365ServiceLogLevel(value)
|
|
201
|
+
except ValueError:
|
|
202
|
+
return value
|
|
203
|
+
return value
|
|
204
|
+
|
|
177
205
|
|
|
178
206
|
class InputOffice365ServiceRetryType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
179
207
|
r"""The algorithm to use when performing HTTP retries"""
|
|
@@ -239,6 +267,15 @@ class InputOffice365ServiceRetryRules(BaseModel):
|
|
|
239
267
|
] = False
|
|
240
268
|
r"""Retry request when a connection reset (ECONNRESET) error occurs"""
|
|
241
269
|
|
|
270
|
+
@field_serializer("type")
|
|
271
|
+
def serialize_type(self, value):
|
|
272
|
+
if isinstance(value, str):
|
|
273
|
+
try:
|
|
274
|
+
return models.InputOffice365ServiceRetryType(value)
|
|
275
|
+
except ValueError:
|
|
276
|
+
return value
|
|
277
|
+
return value
|
|
278
|
+
|
|
242
279
|
|
|
243
280
|
class InputOffice365ServiceAuthenticationMethod(
|
|
244
281
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
@@ -397,3 +434,21 @@ class InputOffice365Service(BaseModel):
|
|
|
397
434
|
|
|
398
435
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
399
436
|
r"""Select or create a stored text secret"""
|
|
437
|
+
|
|
438
|
+
@field_serializer("plan_type")
|
|
439
|
+
def serialize_plan_type(self, value):
|
|
440
|
+
if isinstance(value, str):
|
|
441
|
+
try:
|
|
442
|
+
return models.InputOffice365ServiceSubscriptionPlan(value)
|
|
443
|
+
except ValueError:
|
|
444
|
+
return value
|
|
445
|
+
return value
|
|
446
|
+
|
|
447
|
+
@field_serializer("auth_type")
|
|
448
|
+
def serialize_auth_type(self, value):
|
|
449
|
+
if isinstance(value, str):
|
|
450
|
+
try:
|
|
451
|
+
return models.InputOffice365ServiceAuthenticationMethod(value)
|
|
452
|
+
except ValueError:
|
|
453
|
+
return value
|
|
454
|
+
return value
|