cribl-control-plane 0.3.0b5__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 +4 -4
- cribl_control_plane/groups_sdk.py +2 -2
- 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 +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.0b5.dist-info → cribl_control_plane-0.3.0b7.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.3.0b5.dist-info → cribl_control_plane-0.3.0b7.dist-info}/RECORD +150 -150
- {cribl_control_plane-0.3.0b5.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
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputLokiPq(BaseModel):
|
|
|
107
106
|
Optional[InputLokiPqControls], 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.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
|
-
|
|
128
109
|
|
|
129
110
|
class InputLokiMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
TL_SV1 = "TLSv1"
|
|
@@ -211,24 +192,6 @@ class InputLokiTLSSettingsServerSide(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.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
|
-
|
|
232
195
|
|
|
233
196
|
class InputLokiAuthenticationType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
234
197
|
r"""Loki logs authentication type"""
|
|
@@ -524,12 +487,3 @@ class InputLoki(BaseModel):
|
|
|
524
487
|
Optional[List[InputLokiOauthHeader]], pydantic.Field(alias="oauthHeaders")
|
|
525
488
|
] = None
|
|
526
489
|
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,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 InputMetricsPq(BaseModel):
|
|
|
107
106
|
Optional[InputMetricsPqControls], 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.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
|
-
|
|
128
109
|
|
|
129
110
|
class InputMetricsMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
TL_SV1 = "TLSv1"
|
|
@@ -211,24 +192,6 @@ class InputMetricsTLSSettingsServerSide(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.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
|
-
|
|
232
195
|
|
|
233
196
|
class InputMetricsMetadatumTypedDict(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
|
|
@@ -110,24 +109,6 @@ class InputModelDrivenTelemetryPq(BaseModel):
|
|
|
110
109
|
pydantic.Field(alias="pqControls"),
|
|
111
110
|
] = None
|
|
112
111
|
|
|
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
|
-
|
|
131
112
|
|
|
132
113
|
class InputModelDrivenTelemetryMinimumTLSVersion(
|
|
133
114
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
@@ -218,24 +199,6 @@ class InputModelDrivenTelemetryTLSSettingsServerSide(BaseModel):
|
|
|
218
199
|
pydantic.Field(alias="maxVersion"),
|
|
219
200
|
] = None
|
|
220
201
|
|
|
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
|
-
|
|
239
202
|
|
|
240
203
|
class InputModelDrivenTelemetryMetadatumTypedDict(TypedDict):
|
|
241
204
|
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 InputMskPq(BaseModel):
|
|
|
107
106
|
Optional[InputMskPqControls], 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.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
|
-
|
|
128
109
|
|
|
129
110
|
class InputMskMetadatumTypedDict(TypedDict):
|
|
130
111
|
name: str
|
|
@@ -244,24 +225,6 @@ class InputMskKafkaSchemaRegistryTLSSettingsClientSide(BaseModel):
|
|
|
244
225
|
pydantic.Field(alias="maxVersion"),
|
|
245
226
|
] = None
|
|
246
227
|
|
|
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
|
-
|
|
265
228
|
|
|
266
229
|
class InputMskKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
|
|
267
230
|
disabled: NotRequired[bool]
|
|
@@ -405,24 +368,6 @@ class InputMskTLSSettingsClientSide(BaseModel):
|
|
|
405
368
|
pydantic.Field(alias="maxVersion"),
|
|
406
369
|
] = None
|
|
407
370
|
|
|
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
|
-
|
|
426
371
|
|
|
427
372
|
class InputMskTypedDict(TypedDict):
|
|
428
373
|
type: InputMskType
|
|
@@ -727,21 +672,3 @@ class InputMsk(BaseModel):
|
|
|
727
672
|
|
|
728
673
|
aws_secret: Annotated[Optional[str], pydantic.Field(alias="awsSecret")] = None
|
|
729
674
|
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,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 InputNetflowPq(BaseModel):
|
|
|
107
106
|
Optional[InputNetflowPqControls], 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.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
|
-
|
|
128
109
|
|
|
129
110
|
class InputNetflowMetadatumTypedDict(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
|
|
@@ -108,24 +107,6 @@ class InputOffice365MgmtPq(BaseModel):
|
|
|
108
107
|
Optional[InputOffice365MgmtPqControls], 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.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
|
-
|
|
129
110
|
|
|
130
111
|
class InputOffice365MgmtSubscriptionPlan(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
131
112
|
r"""Office 365 subscription plan for your organization, typically Office 365 Enterprise"""
|
|
@@ -193,15 +174,6 @@ class InputOffice365MgmtContentConfig(BaseModel):
|
|
|
193
174
|
|
|
194
175
|
enabled: Optional[bool] = None
|
|
195
176
|
|
|
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
|
-
|
|
205
177
|
|
|
206
178
|
class InputOffice365MgmtRetryType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
207
179
|
r"""The algorithm to use when performing HTTP retries"""
|
|
@@ -266,15 +238,6 @@ class InputOffice365MgmtRetryRules(BaseModel):
|
|
|
266
238
|
] = False
|
|
267
239
|
r"""Retry request when a connection reset (ECONNRESET) error occurs"""
|
|
268
240
|
|
|
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
|
-
|
|
278
241
|
|
|
279
242
|
class InputOffice365MgmtAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
280
243
|
r"""Enter client secret directly, or select a stored secret"""
|
|
@@ -443,21 +406,3 @@ class InputOffice365Mgmt(BaseModel):
|
|
|
443
406
|
|
|
444
407
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
445
408
|
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,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 InputOffice365MsgTracePq(BaseModel):
|
|
|
108
107
|
Optional[InputOffice365MsgTracePqControls], 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.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
|
-
|
|
129
110
|
|
|
130
111
|
class InputOffice365MsgTraceAuthenticationMethod(
|
|
131
112
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
@@ -226,15 +207,6 @@ class InputOffice365MsgTraceRetryRules(BaseModel):
|
|
|
226
207
|
] = False
|
|
227
208
|
r"""Retry request when a connection reset (ECONNRESET) error occurs"""
|
|
228
209
|
|
|
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
|
-
|
|
238
210
|
|
|
239
211
|
class InputOffice365MsgTraceSubscriptionPlan(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
240
212
|
r"""Office 365 subscription plan for your organization, typically Office 365 Enterprise"""
|
|
@@ -497,30 +469,3 @@ class InputOffice365MsgTrace(BaseModel):
|
|
|
497
469
|
cert_options: Annotated[
|
|
498
470
|
Optional[CertOptions], pydantic.Field(alias="certOptions")
|
|
499
471
|
] = 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,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 InputOffice365ServicePq(BaseModel):
|
|
|
108
107
|
Optional[InputOffice365ServicePqControls], 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.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
|
-
|
|
129
110
|
|
|
130
111
|
class InputOffice365ServiceSubscriptionPlan(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
131
112
|
r"""Office 365 subscription plan for your organization, typically Office 365 Enterprise"""
|
|
@@ -193,15 +174,6 @@ class InputOffice365ServiceContentConfig(BaseModel):
|
|
|
193
174
|
|
|
194
175
|
enabled: Optional[bool] = None
|
|
195
176
|
|
|
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
|
-
|
|
205
177
|
|
|
206
178
|
class InputOffice365ServiceRetryType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
207
179
|
r"""The algorithm to use when performing HTTP retries"""
|
|
@@ -267,15 +239,6 @@ class InputOffice365ServiceRetryRules(BaseModel):
|
|
|
267
239
|
] = False
|
|
268
240
|
r"""Retry request when a connection reset (ECONNRESET) error occurs"""
|
|
269
241
|
|
|
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
|
-
|
|
279
242
|
|
|
280
243
|
class InputOffice365ServiceAuthenticationMethod(
|
|
281
244
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
@@ -434,21 +397,3 @@ class InputOffice365Service(BaseModel):
|
|
|
434
397
|
|
|
435
398
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
436
399
|
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
|