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 Any, List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputSplunkHecPq(BaseModel):
|
|
|
107
106
|
Optional[InputSplunkHecPqControls], 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.InputSplunkHecMode(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.InputSplunkHecCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputSplunkHecAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
r"""Select Manual to enter an auth token directly, or select Secret to use a text secret to authenticate"""
|
|
@@ -187,15 +168,6 @@ class InputSplunkHecAuthToken(BaseModel):
|
|
|
187
168
|
metadata: Optional[List[InputSplunkHecAuthTokenMetadatum]] = None
|
|
188
169
|
r"""Fields to add to events referencing this token"""
|
|
189
170
|
|
|
190
|
-
@field_serializer("auth_type")
|
|
191
|
-
def serialize_auth_type(self, value):
|
|
192
|
-
if isinstance(value, str):
|
|
193
|
-
try:
|
|
194
|
-
return models.InputSplunkHecAuthenticationMethod(value)
|
|
195
|
-
except ValueError:
|
|
196
|
-
return value
|
|
197
|
-
return value
|
|
198
|
-
|
|
199
171
|
|
|
200
172
|
class InputSplunkHecMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
201
173
|
TL_SV1 = "TLSv1"
|
|
@@ -282,24 +254,6 @@ class InputSplunkHecTLSSettingsServerSide(BaseModel):
|
|
|
282
254
|
pydantic.Field(alias="maxVersion"),
|
|
283
255
|
] = None
|
|
284
256
|
|
|
285
|
-
@field_serializer("min_version")
|
|
286
|
-
def serialize_min_version(self, value):
|
|
287
|
-
if isinstance(value, str):
|
|
288
|
-
try:
|
|
289
|
-
return models.InputSplunkHecMinimumTLSVersion(value)
|
|
290
|
-
except ValueError:
|
|
291
|
-
return value
|
|
292
|
-
return value
|
|
293
|
-
|
|
294
|
-
@field_serializer("max_version")
|
|
295
|
-
def serialize_max_version(self, value):
|
|
296
|
-
if isinstance(value, str):
|
|
297
|
-
try:
|
|
298
|
-
return models.InputSplunkHecMaximumTLSVersion(value)
|
|
299
|
-
except ValueError:
|
|
300
|
-
return value
|
|
301
|
-
return value
|
|
302
|
-
|
|
303
257
|
|
|
304
258
|
class InputSplunkHecMetadatumTypedDict(TypedDict):
|
|
305
259
|
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 InputSplunkSearchPq(BaseModel):
|
|
|
108
107
|
Optional[InputSplunkSearchPqControls], 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.InputSplunkSearchMode(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.InputSplunkSearchCompression(value)
|
|
125
|
-
except ValueError:
|
|
126
|
-
return value
|
|
127
|
-
return value
|
|
128
|
-
|
|
129
110
|
|
|
130
111
|
class OutputMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
131
112
|
r"""Format of the returned output"""
|
|
@@ -245,15 +226,6 @@ class InputSplunkSearchRetryRules(BaseModel):
|
|
|
245
226
|
] = False
|
|
246
227
|
r"""Retry request when a connection reset (ECONNRESET) error occurs"""
|
|
247
228
|
|
|
248
|
-
@field_serializer("type")
|
|
249
|
-
def serialize_type(self, value):
|
|
250
|
-
if isinstance(value, str):
|
|
251
|
-
try:
|
|
252
|
-
return models.InputSplunkSearchRetryType(value)
|
|
253
|
-
except ValueError:
|
|
254
|
-
return value
|
|
255
|
-
return value
|
|
256
|
-
|
|
257
229
|
|
|
258
230
|
class InputSplunkSearchAuthenticationType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
259
231
|
r"""Splunk Search authentication type"""
|
|
@@ -583,30 +555,3 @@ class InputSplunkSearch(BaseModel):
|
|
|
583
555
|
pydantic.Field(alias="oauthHeaders"),
|
|
584
556
|
] = None
|
|
585
557
|
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."""
|
|
586
|
-
|
|
587
|
-
@field_serializer("output_mode")
|
|
588
|
-
def serialize_output_mode(self, value):
|
|
589
|
-
if isinstance(value, str):
|
|
590
|
-
try:
|
|
591
|
-
return models.OutputMode(value)
|
|
592
|
-
except ValueError:
|
|
593
|
-
return value
|
|
594
|
-
return value
|
|
595
|
-
|
|
596
|
-
@field_serializer("log_level")
|
|
597
|
-
def serialize_log_level(self, value):
|
|
598
|
-
if isinstance(value, str):
|
|
599
|
-
try:
|
|
600
|
-
return models.InputSplunkSearchLogLevel(value)
|
|
601
|
-
except ValueError:
|
|
602
|
-
return value
|
|
603
|
-
return value
|
|
604
|
-
|
|
605
|
-
@field_serializer("auth_type")
|
|
606
|
-
def serialize_auth_type(self, value):
|
|
607
|
-
if isinstance(value, str):
|
|
608
|
-
try:
|
|
609
|
-
return models.InputSplunkSearchAuthenticationType(value)
|
|
610
|
-
except ValueError:
|
|
611
|
-
return value
|
|
612
|
-
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 InputSqsPq(BaseModel):
|
|
|
107
106
|
Optional[InputSqsPqControls], 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.InputSqsMode(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.InputSqsCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputSqsQueueType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
r"""The queue type used (or created)"""
|
|
@@ -357,30 +338,3 @@ class InputSqs(BaseModel):
|
|
|
357
338
|
|
|
358
339
|
num_receivers: Annotated[Optional[float], pydantic.Field(alias="numReceivers")] = 3
|
|
359
340
|
r"""How many receiver processes to run. The higher the number, the better the throughput - at the expense of CPU overhead."""
|
|
360
|
-
|
|
361
|
-
@field_serializer("queue_type")
|
|
362
|
-
def serialize_queue_type(self, value):
|
|
363
|
-
if isinstance(value, str):
|
|
364
|
-
try:
|
|
365
|
-
return models.InputSqsQueueType(value)
|
|
366
|
-
except ValueError:
|
|
367
|
-
return value
|
|
368
|
-
return value
|
|
369
|
-
|
|
370
|
-
@field_serializer("aws_authentication_method")
|
|
371
|
-
def serialize_aws_authentication_method(self, value):
|
|
372
|
-
if isinstance(value, str):
|
|
373
|
-
try:
|
|
374
|
-
return models.InputSqsAuthenticationMethod(value)
|
|
375
|
-
except ValueError:
|
|
376
|
-
return value
|
|
377
|
-
return value
|
|
378
|
-
|
|
379
|
-
@field_serializer("signature_version")
|
|
380
|
-
def serialize_signature_version(self, value):
|
|
381
|
-
if isinstance(value, str):
|
|
382
|
-
try:
|
|
383
|
-
return models.InputSqsSignatureVersion(value)
|
|
384
|
-
except ValueError:
|
|
385
|
-
return value
|
|
386
|
-
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, Union
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputSyslogPq2(BaseModel):
|
|
|
107
106
|
Optional[InputSyslogPqControls2], 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.InputSyslogMode2(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.InputSyslogCompression2(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputSyslogMinimumTLSVersion2(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
TL_SV1 = "TLSv1"
|
|
@@ -211,24 +192,6 @@ class InputSyslogTLSSettingsServerSide2(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.InputSyslogMinimumTLSVersion2(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.InputSyslogMaximumTLSVersion2(value)
|
|
228
|
-
except ValueError:
|
|
229
|
-
return value
|
|
230
|
-
return value
|
|
231
|
-
|
|
232
195
|
|
|
233
196
|
class InputSyslogMetadatum2TypedDict(TypedDict):
|
|
234
197
|
name: str
|
|
@@ -534,24 +497,6 @@ class InputSyslogPq1(BaseModel):
|
|
|
534
497
|
Optional[InputSyslogPqControls1], pydantic.Field(alias="pqControls")
|
|
535
498
|
] = None
|
|
536
499
|
|
|
537
|
-
@field_serializer("mode")
|
|
538
|
-
def serialize_mode(self, value):
|
|
539
|
-
if isinstance(value, str):
|
|
540
|
-
try:
|
|
541
|
-
return models.InputSyslogMode1(value)
|
|
542
|
-
except ValueError:
|
|
543
|
-
return value
|
|
544
|
-
return value
|
|
545
|
-
|
|
546
|
-
@field_serializer("compress")
|
|
547
|
-
def serialize_compress(self, value):
|
|
548
|
-
if isinstance(value, str):
|
|
549
|
-
try:
|
|
550
|
-
return models.InputSyslogCompression1(value)
|
|
551
|
-
except ValueError:
|
|
552
|
-
return value
|
|
553
|
-
return value
|
|
554
|
-
|
|
555
500
|
|
|
556
501
|
class InputSyslogMinimumTLSVersion1(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
557
502
|
TL_SV1 = "TLSv1"
|
|
@@ -638,24 +583,6 @@ class InputSyslogTLSSettingsServerSide1(BaseModel):
|
|
|
638
583
|
pydantic.Field(alias="maxVersion"),
|
|
639
584
|
] = None
|
|
640
585
|
|
|
641
|
-
@field_serializer("min_version")
|
|
642
|
-
def serialize_min_version(self, value):
|
|
643
|
-
if isinstance(value, str):
|
|
644
|
-
try:
|
|
645
|
-
return models.InputSyslogMinimumTLSVersion1(value)
|
|
646
|
-
except ValueError:
|
|
647
|
-
return value
|
|
648
|
-
return value
|
|
649
|
-
|
|
650
|
-
@field_serializer("max_version")
|
|
651
|
-
def serialize_max_version(self, value):
|
|
652
|
-
if isinstance(value, str):
|
|
653
|
-
try:
|
|
654
|
-
return models.InputSyslogMaximumTLSVersion1(value)
|
|
655
|
-
except ValueError:
|
|
656
|
-
return value
|
|
657
|
-
return value
|
|
658
|
-
|
|
659
586
|
|
|
660
587
|
class InputSyslogMetadatum1TypedDict(TypedDict):
|
|
661
588
|
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 InputSystemMetricsPq(BaseModel):
|
|
|
108
107
|
Optional[InputSystemMetricsPqControls], 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.InputSystemMetricsPqMode(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.InputSystemMetricsCompression(value)
|
|
125
|
-
except ValueError:
|
|
126
|
-
return value
|
|
127
|
-
return value
|
|
128
|
-
|
|
129
110
|
|
|
130
111
|
class InputSystemMetricsHostMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
131
112
|
r"""Select level of detail for host metrics"""
|
|
@@ -170,15 +151,6 @@ class InputSystemMetricsSystem(BaseModel):
|
|
|
170
151
|
processes: Optional[bool] = False
|
|
171
152
|
r"""Generate metrics for the numbers of processes in various states"""
|
|
172
153
|
|
|
173
|
-
@field_serializer("mode")
|
|
174
|
-
def serialize_mode(self, value):
|
|
175
|
-
if isinstance(value, str):
|
|
176
|
-
try:
|
|
177
|
-
return models.InputSystemMetricsSystemMode(value)
|
|
178
|
-
except ValueError:
|
|
179
|
-
return value
|
|
180
|
-
return value
|
|
181
|
-
|
|
182
154
|
|
|
183
155
|
class InputSystemMetricsCPUMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
184
156
|
r"""Select the level of detail for CPU metrics"""
|
|
@@ -219,15 +191,6 @@ class InputSystemMetricsCPU(BaseModel):
|
|
|
219
191
|
time: Optional[bool] = False
|
|
220
192
|
r"""Generate raw, monotonic CPU time counters"""
|
|
221
193
|
|
|
222
|
-
@field_serializer("mode")
|
|
223
|
-
def serialize_mode(self, value):
|
|
224
|
-
if isinstance(value, str):
|
|
225
|
-
try:
|
|
226
|
-
return models.InputSystemMetricsCPUMode(value)
|
|
227
|
-
except ValueError:
|
|
228
|
-
return value
|
|
229
|
-
return value
|
|
230
|
-
|
|
231
194
|
|
|
232
195
|
class InputSystemMetricsMemoryMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
233
196
|
r"""Select the level of detail for memory metrics"""
|
|
@@ -259,15 +222,6 @@ class InputSystemMetricsMemory(BaseModel):
|
|
|
259
222
|
detail: Optional[bool] = False
|
|
260
223
|
r"""Generate metrics for all memory states"""
|
|
261
224
|
|
|
262
|
-
@field_serializer("mode")
|
|
263
|
-
def serialize_mode(self, value):
|
|
264
|
-
if isinstance(value, str):
|
|
265
|
-
try:
|
|
266
|
-
return models.InputSystemMetricsMemoryMode(value)
|
|
267
|
-
except ValueError:
|
|
268
|
-
return value
|
|
269
|
-
return value
|
|
270
|
-
|
|
271
225
|
|
|
272
226
|
class InputSystemMetricsNetworkMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
273
227
|
r"""Select the level of detail for network metrics"""
|
|
@@ -316,15 +270,6 @@ class InputSystemMetricsNetwork(BaseModel):
|
|
|
316
270
|
)
|
|
317
271
|
r"""Generate separate metrics for each interface"""
|
|
318
272
|
|
|
319
|
-
@field_serializer("mode")
|
|
320
|
-
def serialize_mode(self, value):
|
|
321
|
-
if isinstance(value, str):
|
|
322
|
-
try:
|
|
323
|
-
return models.InputSystemMetricsNetworkMode(value)
|
|
324
|
-
except ValueError:
|
|
325
|
-
return value
|
|
326
|
-
return value
|
|
327
|
-
|
|
328
273
|
|
|
329
274
|
class InputSystemMetricsDiskMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
330
275
|
r"""Select the level of detail for disk metrics"""
|
|
@@ -380,15 +325,6 @@ class InputSystemMetricsDisk(BaseModel):
|
|
|
380
325
|
per_device: Annotated[Optional[bool], pydantic.Field(alias="perDevice")] = False
|
|
381
326
|
r"""Generate separate metrics for each device"""
|
|
382
327
|
|
|
383
|
-
@field_serializer("mode")
|
|
384
|
-
def serialize_mode(self, value):
|
|
385
|
-
if isinstance(value, str):
|
|
386
|
-
try:
|
|
387
|
-
return models.InputSystemMetricsDiskMode(value)
|
|
388
|
-
except ValueError:
|
|
389
|
-
return value
|
|
390
|
-
return value
|
|
391
|
-
|
|
392
328
|
|
|
393
329
|
class InputSystemMetricsCustomTypedDict(TypedDict):
|
|
394
330
|
system: NotRequired[InputSystemMetricsSystemTypedDict]
|
|
@@ -424,15 +360,6 @@ class InputSystemMetricsHost(BaseModel):
|
|
|
424
360
|
|
|
425
361
|
custom: Optional[InputSystemMetricsCustom] = None
|
|
426
362
|
|
|
427
|
-
@field_serializer("mode")
|
|
428
|
-
def serialize_mode(self, value):
|
|
429
|
-
if isinstance(value, str):
|
|
430
|
-
try:
|
|
431
|
-
return models.InputSystemMetricsHostMode(value)
|
|
432
|
-
except ValueError:
|
|
433
|
-
return value
|
|
434
|
-
return value
|
|
435
|
-
|
|
436
363
|
|
|
437
364
|
class InputSystemMetricsSetTypedDict(TypedDict):
|
|
438
365
|
name: str
|
|
@@ -528,15 +455,6 @@ class Container(BaseModel):
|
|
|
528
455
|
detail: Optional[bool] = False
|
|
529
456
|
r"""Generate full container metrics"""
|
|
530
457
|
|
|
531
|
-
@field_serializer("mode")
|
|
532
|
-
def serialize_mode(self, value):
|
|
533
|
-
if isinstance(value, str):
|
|
534
|
-
try:
|
|
535
|
-
return models.ContainerMode(value)
|
|
536
|
-
except ValueError:
|
|
537
|
-
return value
|
|
538
|
-
return value
|
|
539
|
-
|
|
540
458
|
|
|
541
459
|
class InputSystemMetricsMetadatumTypedDict(TypedDict):
|
|
542
460
|
name: str
|
|
@@ -593,15 +511,6 @@ class InputSystemMetricsPersistence(BaseModel):
|
|
|
593
511
|
)
|
|
594
512
|
r"""Path to use to write metrics. Defaults to $CRIBL_HOME/state/system_metrics"""
|
|
595
513
|
|
|
596
|
-
@field_serializer("compress")
|
|
597
|
-
def serialize_compress(self, value):
|
|
598
|
-
if isinstance(value, str):
|
|
599
|
-
try:
|
|
600
|
-
return models.InputSystemMetricsDataCompressionFormat(value)
|
|
601
|
-
except ValueError:
|
|
602
|
-
return value
|
|
603
|
-
return value
|
|
604
|
-
|
|
605
514
|
|
|
606
515
|
class InputSystemMetricsTypedDict(TypedDict):
|
|
607
516
|
type: InputSystemMetricsType
|
|
@@ -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 InputSystemStatePq(BaseModel):
|
|
|
107
106
|
Optional[InputSystemStatePqControls], 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.InputSystemStateMode(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.InputSystemStateCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputSystemStateMetadatumTypedDict(TypedDict):
|
|
130
111
|
name: str
|
|
@@ -375,15 +356,6 @@ class InputSystemStatePersistence(BaseModel):
|
|
|
375
356
|
)
|
|
376
357
|
r"""Path to use to write metrics. Defaults to $CRIBL_HOME/state/system_state"""
|
|
377
358
|
|
|
378
|
-
@field_serializer("compress")
|
|
379
|
-
def serialize_compress(self, value):
|
|
380
|
-
if isinstance(value, str):
|
|
381
|
-
try:
|
|
382
|
-
return models.InputSystemStateDataCompressionFormat(value)
|
|
383
|
-
except ValueError:
|
|
384
|
-
return value
|
|
385
|
-
return value
|
|
386
|
-
|
|
387
359
|
|
|
388
360
|
class InputSystemStateTypedDict(TypedDict):
|
|
389
361
|
type: InputSystemStateType
|
|
@@ -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 InputTCPPq(BaseModel):
|
|
|
107
106
|
Optional[InputTCPPqControls], 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.InputTCPMode(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.InputTCPCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputTCPMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
TL_SV1 = "TLSv1"
|
|
@@ -211,24 +192,6 @@ class InputTCPTLSSettingsServerSide(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.InputTCPMinimumTLSVersion(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.InputTCPMaximumTLSVersion(value)
|
|
228
|
-
except ValueError:
|
|
229
|
-
return value
|
|
230
|
-
return value
|
|
231
|
-
|
|
232
195
|
|
|
233
196
|
class InputTCPMetadatumTypedDict(TypedDict):
|
|
234
197
|
name: str
|
|
@@ -425,12 +388,3 @@ class InputTCP(BaseModel):
|
|
|
425
388
|
|
|
426
389
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
427
390
|
r"""Select or create a stored text secret"""
|
|
428
|
-
|
|
429
|
-
@field_serializer("auth_type")
|
|
430
|
-
def serialize_auth_type(self, value):
|
|
431
|
-
if isinstance(value, str):
|
|
432
|
-
try:
|
|
433
|
-
return models.InputTCPAuthenticationMethod(value)
|
|
434
|
-
except ValueError:
|
|
435
|
-
return value
|
|
436
|
-
return value
|