cribl-control-plane 0.2.1rc7__py3-none-any.whl → 0.2.1rc9__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 +5 -2
- cribl_control_plane/lakedatasets.py +28 -0
- cribl_control_plane/mappings.py +1185 -0
- cribl_control_plane/models/__init__.py +153 -15
- 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/createadminproductsmappingsactivatebyproductop.py +52 -0
- cribl_control_plane/models/createadminproductsmappingsbyproductop.py +53 -0
- cribl_control_plane/models/createconfiggroupbyproductop.py +2 -13
- cribl_control_plane/models/cribllakedataset.py +5 -11
- cribl_control_plane/models/cribllakedatasetupdate.py +5 -11
- cribl_control_plane/models/datasetmetadata.py +1 -11
- cribl_control_plane/models/deleteadminproductsmappingsbyproductandidop.py +51 -0
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/evalfunction.py +77 -0
- cribl_control_plane/models/evalschema.py +44 -0
- cribl_control_plane/models/getadminproductsmappingsbyproductandidop.py +51 -0
- cribl_control_plane/models/getadminproductsmappingsbyproductop.py +44 -0
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +0 -20
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +0 -20
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +0 -11
- cribl_control_plane/models/getsummaryop.py +0 -11
- cribl_control_plane/models/groupcreaterequest.py +1 -20
- cribl_control_plane/models/hbcriblinfo.py +1 -11
- cribl_control_plane/models/healthserverstatus.py +1 -20
- cribl_control_plane/models/inputappscope.py +1 -56
- cribl_control_plane/models/inputazureblob.py +1 -29
- cribl_control_plane/models/inputcollection.py +1 -20
- cribl_control_plane/models/inputconfluentcloud.py +1 -78
- cribl_control_plane/models/inputcribl.py +1 -20
- cribl_control_plane/models/inputcriblhttp.py +1 -38
- cribl_control_plane/models/inputcribllakehttp.py +1 -38
- cribl_control_plane/models/inputcriblmetrics.py +1 -20
- cribl_control_plane/models/inputcribltcp.py +1 -38
- cribl_control_plane/models/inputcrowdstrike.py +1 -47
- cribl_control_plane/models/inputdatadogagent.py +1 -38
- cribl_control_plane/models/inputdatagen.py +1 -20
- cribl_control_plane/models/inputedgeprometheus.py +1 -94
- cribl_control_plane/models/inputelastic.py +1 -65
- cribl_control_plane/models/inputeventhub.py +1 -58
- cribl_control_plane/models/inputexec.py +1 -29
- cribl_control_plane/models/inputfile.py +4 -32
- cribl_control_plane/models/inputfirehose.py +1 -38
- cribl_control_plane/models/inputgooglepubsub.py +1 -29
- cribl_control_plane/models/inputgrafana.py +1 -110
- cribl_control_plane/models/inputhttp.py +1 -38
- cribl_control_plane/models/inputhttpraw.py +1 -38
- cribl_control_plane/models/inputjournalfiles.py +1 -20
- cribl_control_plane/models/inputkafka.py +1 -74
- cribl_control_plane/models/inputkinesis.py +1 -65
- cribl_control_plane/models/inputkubeevents.py +1 -20
- cribl_control_plane/models/inputkubelogs.py +1 -29
- cribl_control_plane/models/inputkubemetrics.py +1 -29
- cribl_control_plane/models/inputloki.py +1 -47
- cribl_control_plane/models/inputmetrics.py +1 -38
- cribl_control_plane/models/inputmodeldriventelemetry.py +1 -38
- cribl_control_plane/models/inputmsk.py +1 -74
- cribl_control_plane/models/inputnetflow.py +1 -20
- cribl_control_plane/models/inputoffice365mgmt.py +1 -56
- cribl_control_plane/models/inputoffice365msgtrace.py +1 -56
- cribl_control_plane/models/inputoffice365service.py +1 -56
- cribl_control_plane/models/inputopentelemetry.py +1 -65
- cribl_control_plane/models/inputprometheus.py +1 -87
- cribl_control_plane/models/inputprometheusrw.py +1 -47
- cribl_control_plane/models/inputrawudp.py +1 -20
- cribl_control_plane/models/inputs3.py +1 -38
- cribl_control_plane/models/inputs3inventory.py +1 -47
- cribl_control_plane/models/inputsecuritylake.py +1 -47
- cribl_control_plane/models/inputsnmp.py +1 -29
- cribl_control_plane/models/inputsplunk.py +1 -56
- cribl_control_plane/models/inputsplunkhec.py +1 -47
- cribl_control_plane/models/inputsplunksearch.py +1 -56
- cribl_control_plane/models/inputsqs.py +1 -47
- cribl_control_plane/models/inputsyslog.py +1 -74
- cribl_control_plane/models/inputsystemmetrics.py +1 -92
- cribl_control_plane/models/inputsystemstate.py +1 -29
- cribl_control_plane/models/inputtcp.py +1 -47
- cribl_control_plane/models/inputtcpjson.py +1 -47
- cribl_control_plane/models/inputwef.py +1 -65
- cribl_control_plane/models/inputwindowsmetrics.py +1 -83
- cribl_control_plane/models/inputwineventlogs.py +1 -38
- cribl_control_plane/models/inputwiz.py +1 -38
- cribl_control_plane/models/inputwizwebhook.py +1 -38
- cribl_control_plane/models/inputzscalerhec.py +1 -47
- cribl_control_plane/models/jobstatus.py +3 -34
- cribl_control_plane/models/lakedatasetmetrics.py +17 -0
- cribl_control_plane/models/listconfiggroupbyproductop.py +0 -11
- cribl_control_plane/models/mappingruleset.py +31 -0
- cribl_control_plane/models/masterworkerentry.py +1 -11
- cribl_control_plane/models/nodeupgradestatus.py +0 -38
- cribl_control_plane/models/outputazureblob.py +1 -83
- cribl_control_plane/models/outputazuredataexplorer.py +1 -148
- cribl_control_plane/models/outputazureeventhub.py +1 -98
- cribl_control_plane/models/outputazurelogs.py +1 -56
- cribl_control_plane/models/outputchronicle.py +1 -56
- cribl_control_plane/models/outputclickhouse.py +1 -92
- cribl_control_plane/models/outputcloudwatch.py +1 -47
- cribl_control_plane/models/outputconfluentcloud.py +3 -123
- cribl_control_plane/models/outputcriblhttp.py +1 -74
- cribl_control_plane/models/outputcribllake.py +1 -76
- cribl_control_plane/models/outputcribltcp.py +1 -74
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +1 -67
- cribl_control_plane/models/outputdatabricks.py +1 -65
- cribl_control_plane/models/outputdatadog.py +1 -83
- cribl_control_plane/models/outputdataset.py +1 -74
- cribl_control_plane/models/outputdiskspool.py +1 -11
- cribl_control_plane/models/outputdls3.py +1 -110
- cribl_control_plane/models/outputdynatracehttp.py +1 -92
- cribl_control_plane/models/outputdynatraceotlp.py +1 -92
- cribl_control_plane/models/outputelastic.py +1 -74
- cribl_control_plane/models/outputelasticcloud.py +1 -56
- cribl_control_plane/models/outputexabeam.py +1 -47
- cribl_control_plane/models/outputfilesystem.py +1 -65
- cribl_control_plane/models/outputgooglechronicle.py +1 -83
- cribl_control_plane/models/outputgooglecloudlogging.py +1 -65
- cribl_control_plane/models/outputgooglecloudstorage.py +1 -101
- cribl_control_plane/models/outputgooglepubsub.py +1 -47
- cribl_control_plane/models/outputgrafanacloud.py +1 -146
- cribl_control_plane/models/outputgraphite.py +1 -47
- cribl_control_plane/models/outputhoneycomb.py +1 -56
- cribl_control_plane/models/outputhumiohec.py +1 -65
- cribl_control_plane/models/outputinfluxdb.py +1 -65
- cribl_control_plane/models/outputkafka.py +3 -119
- cribl_control_plane/models/outputkinesis.py +1 -65
- cribl_control_plane/models/outputloki.py +1 -65
- cribl_control_plane/models/outputminio.py +1 -110
- cribl_control_plane/models/outputmsk.py +3 -119
- cribl_control_plane/models/outputnewrelic.py +1 -74
- cribl_control_plane/models/outputnewrelicevents.py +1 -65
- cribl_control_plane/models/outputopentelemetry.py +1 -110
- cribl_control_plane/models/outputprometheus.py +1 -56
- cribl_control_plane/models/outputring.py +1 -29
- cribl_control_plane/models/outputs3.py +1 -110
- cribl_control_plane/models/outputsecuritylake.py +1 -85
- cribl_control_plane/models/outputsentinel.py +1 -74
- cribl_control_plane/models/outputsentineloneaisiem.py +1 -74
- cribl_control_plane/models/outputservicenow.py +1 -101
- cribl_control_plane/models/outputsignalfx.py +1 -56
- cribl_control_plane/models/outputsns.py +1 -56
- cribl_control_plane/models/outputsplunk.py +1 -92
- cribl_control_plane/models/outputsplunkhec.py +1 -74
- cribl_control_plane/models/outputsplunklb.py +1 -121
- cribl_control_plane/models/outputsqs.py +1 -65
- cribl_control_plane/models/outputstatsd.py +1 -47
- cribl_control_plane/models/outputstatsdext.py +1 -47
- cribl_control_plane/models/outputsumologic.py +1 -56
- cribl_control_plane/models/outputsyslog.py +1 -110
- cribl_control_plane/models/outputtcpjson.py +1 -83
- cribl_control_plane/models/outputwavefront.py +1 -56
- cribl_control_plane/models/outputwebhook.py +1 -92
- cribl_control_plane/models/outputxsiam.py +1 -56
- cribl_control_plane/models/pipeline.py +7 -7
- cribl_control_plane/models/pipelinefunctionconf.py +4 -4
- cribl_control_plane/models/resourcepolicy.py +0 -11
- cribl_control_plane/models/rulesetid.py +13 -0
- 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/updateadminproductsmappingsbyproductandidop.py +63 -0
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +0 -11
- cribl_control_plane/pipelines.py +8 -8
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc9.dist-info}/METADATA +35 -8
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc9.dist-info}/RECORD +168 -156
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc9.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
|
|
@@ -108,24 +107,6 @@ class InputOpenTelemetryPq(BaseModel):
|
|
|
108
107
|
Optional[InputOpenTelemetryPqControls], 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.InputOpenTelemetryMode(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.InputOpenTelemetryCompression(value)
|
|
125
|
-
except ValueError:
|
|
126
|
-
return value
|
|
127
|
-
return value
|
|
128
|
-
|
|
129
110
|
|
|
130
111
|
class InputOpenTelemetryMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
131
112
|
TL_SV1 = "TLSv1"
|
|
@@ -212,24 +193,6 @@ class InputOpenTelemetryTLSSettingsServerSide(BaseModel):
|
|
|
212
193
|
pydantic.Field(alias="maxVersion"),
|
|
213
194
|
] = None
|
|
214
195
|
|
|
215
|
-
@field_serializer("min_version")
|
|
216
|
-
def serialize_min_version(self, value):
|
|
217
|
-
if isinstance(value, str):
|
|
218
|
-
try:
|
|
219
|
-
return models.InputOpenTelemetryMinimumTLSVersion(value)
|
|
220
|
-
except ValueError:
|
|
221
|
-
return value
|
|
222
|
-
return value
|
|
223
|
-
|
|
224
|
-
@field_serializer("max_version")
|
|
225
|
-
def serialize_max_version(self, value):
|
|
226
|
-
if isinstance(value, str):
|
|
227
|
-
try:
|
|
228
|
-
return models.InputOpenTelemetryMaximumTLSVersion(value)
|
|
229
|
-
except ValueError:
|
|
230
|
-
return value
|
|
231
|
-
return value
|
|
232
|
-
|
|
233
196
|
|
|
234
197
|
class InputOpenTelemetryProtocol(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
235
198
|
r"""Select whether to leverage gRPC or HTTP for OpenTelemetry"""
|
|
@@ -576,30 +539,3 @@ class InputOpenTelemetry(BaseModel):
|
|
|
576
539
|
|
|
577
540
|
extract_logs: Annotated[Optional[bool], pydantic.Field(alias="extractLogs")] = False
|
|
578
541
|
r"""Enable to extract each incoming log record to a separate event"""
|
|
579
|
-
|
|
580
|
-
@field_serializer("protocol")
|
|
581
|
-
def serialize_protocol(self, value):
|
|
582
|
-
if isinstance(value, str):
|
|
583
|
-
try:
|
|
584
|
-
return models.InputOpenTelemetryProtocol(value)
|
|
585
|
-
except ValueError:
|
|
586
|
-
return value
|
|
587
|
-
return value
|
|
588
|
-
|
|
589
|
-
@field_serializer("otlp_version")
|
|
590
|
-
def serialize_otlp_version(self, value):
|
|
591
|
-
if isinstance(value, str):
|
|
592
|
-
try:
|
|
593
|
-
return models.InputOpenTelemetryOTLPVersion(value)
|
|
594
|
-
except ValueError:
|
|
595
|
-
return value
|
|
596
|
-
return value
|
|
597
|
-
|
|
598
|
-
@field_serializer("auth_type")
|
|
599
|
-
def serialize_auth_type(self, value):
|
|
600
|
-
if isinstance(value, str):
|
|
601
|
-
try:
|
|
602
|
-
return models.InputOpenTelemetryAuthenticationType(value)
|
|
603
|
-
except ValueError:
|
|
604
|
-
return value
|
|
605
|
-
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 InputPrometheusPq(BaseModel):
|
|
|
107
106
|
Optional[InputPrometheusPqControls], 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.InputPrometheusMode(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.InputPrometheusCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputPrometheusDiscoveryType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
r"""Target discovery mechanism. Use static to manually enter a list of targets."""
|
|
@@ -512,70 +493,3 @@ class InputPrometheus(BaseModel):
|
|
|
512
493
|
Optional[str], pydantic.Field(alias="credentialsSecret")
|
|
513
494
|
] = None
|
|
514
495
|
r"""Select or create a secret that references your credentials"""
|
|
515
|
-
|
|
516
|
-
@field_serializer("discovery_type")
|
|
517
|
-
def serialize_discovery_type(self, value):
|
|
518
|
-
if isinstance(value, str):
|
|
519
|
-
try:
|
|
520
|
-
return models.InputPrometheusDiscoveryType(value)
|
|
521
|
-
except ValueError:
|
|
522
|
-
return value
|
|
523
|
-
return value
|
|
524
|
-
|
|
525
|
-
@field_serializer("log_level")
|
|
526
|
-
def serialize_log_level(self, value):
|
|
527
|
-
if isinstance(value, str):
|
|
528
|
-
try:
|
|
529
|
-
return models.InputPrometheusLogLevel(value)
|
|
530
|
-
except ValueError:
|
|
531
|
-
return value
|
|
532
|
-
return value
|
|
533
|
-
|
|
534
|
-
@field_serializer("auth_type")
|
|
535
|
-
def serialize_auth_type(self, value):
|
|
536
|
-
if isinstance(value, str):
|
|
537
|
-
try:
|
|
538
|
-
return models.InputPrometheusAuthTypeAuthenticationMethod(value)
|
|
539
|
-
except ValueError:
|
|
540
|
-
return value
|
|
541
|
-
return value
|
|
542
|
-
|
|
543
|
-
@field_serializer("record_type")
|
|
544
|
-
def serialize_record_type(self, value):
|
|
545
|
-
if isinstance(value, str):
|
|
546
|
-
try:
|
|
547
|
-
return models.InputPrometheusRecordType(value)
|
|
548
|
-
except ValueError:
|
|
549
|
-
return value
|
|
550
|
-
return value
|
|
551
|
-
|
|
552
|
-
@field_serializer("scrape_protocol")
|
|
553
|
-
def serialize_scrape_protocol(self, value):
|
|
554
|
-
if isinstance(value, str):
|
|
555
|
-
try:
|
|
556
|
-
return models.MetricsProtocol(value)
|
|
557
|
-
except ValueError:
|
|
558
|
-
return value
|
|
559
|
-
return value
|
|
560
|
-
|
|
561
|
-
@field_serializer("aws_authentication_method")
|
|
562
|
-
def serialize_aws_authentication_method(self, value):
|
|
563
|
-
if isinstance(value, str):
|
|
564
|
-
try:
|
|
565
|
-
return (
|
|
566
|
-
models.InputPrometheusAwsAuthenticationMethodAuthenticationMethod(
|
|
567
|
-
value
|
|
568
|
-
)
|
|
569
|
-
)
|
|
570
|
-
except ValueError:
|
|
571
|
-
return value
|
|
572
|
-
return value
|
|
573
|
-
|
|
574
|
-
@field_serializer("signature_version")
|
|
575
|
-
def serialize_signature_version(self, value):
|
|
576
|
-
if isinstance(value, str):
|
|
577
|
-
try:
|
|
578
|
-
return models.InputPrometheusSignatureVersion(value)
|
|
579
|
-
except ValueError:
|
|
580
|
-
return value
|
|
581
|
-
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 InputPrometheusRwPq(BaseModel):
|
|
|
108
107
|
Optional[InputPrometheusRwPqControls], 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.InputPrometheusRwMode(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.InputPrometheusRwCompression(value)
|
|
125
|
-
except ValueError:
|
|
126
|
-
return value
|
|
127
|
-
return value
|
|
128
|
-
|
|
129
110
|
|
|
130
111
|
class InputPrometheusRwMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
131
112
|
TL_SV1 = "TLSv1"
|
|
@@ -212,24 +193,6 @@ class InputPrometheusRwTLSSettingsServerSide(BaseModel):
|
|
|
212
193
|
pydantic.Field(alias="maxVersion"),
|
|
213
194
|
] = None
|
|
214
195
|
|
|
215
|
-
@field_serializer("min_version")
|
|
216
|
-
def serialize_min_version(self, value):
|
|
217
|
-
if isinstance(value, str):
|
|
218
|
-
try:
|
|
219
|
-
return models.InputPrometheusRwMinimumTLSVersion(value)
|
|
220
|
-
except ValueError:
|
|
221
|
-
return value
|
|
222
|
-
return value
|
|
223
|
-
|
|
224
|
-
@field_serializer("max_version")
|
|
225
|
-
def serialize_max_version(self, value):
|
|
226
|
-
if isinstance(value, str):
|
|
227
|
-
try:
|
|
228
|
-
return models.InputPrometheusRwMaximumTLSVersion(value)
|
|
229
|
-
except ValueError:
|
|
230
|
-
return value
|
|
231
|
-
return value
|
|
232
|
-
|
|
233
196
|
|
|
234
197
|
class InputPrometheusRwAuthenticationType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
235
198
|
r"""Remote Write authentication type"""
|
|
@@ -526,12 +489,3 @@ class InputPrometheusRw(BaseModel):
|
|
|
526
489
|
pydantic.Field(alias="oauthHeaders"),
|
|
527
490
|
] = None
|
|
528
491
|
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."""
|
|
529
|
-
|
|
530
|
-
@field_serializer("auth_type")
|
|
531
|
-
def serialize_auth_type(self, value):
|
|
532
|
-
if isinstance(value, str):
|
|
533
|
-
try:
|
|
534
|
-
return models.InputPrometheusRwAuthenticationType(value)
|
|
535
|
-
except ValueError:
|
|
536
|
-
return value
|
|
537
|
-
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 InputRawUDPPq(BaseModel):
|
|
|
107
106
|
Optional[InputRawUDPPqControls], 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.InputRawUDPMode(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.InputRawUDPCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputRawUDPMetadatumTypedDict(TypedDict):
|
|
130
111
|
name: str
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputS3Pq(BaseModel):
|
|
|
107
106
|
Optional[InputS3PqControls], 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.InputS3Mode(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.InputS3Compression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputS3AuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
r"""AWS authentication method. Choose Auto to use IAM roles."""
|
|
@@ -460,21 +441,3 @@ class InputS3(BaseModel):
|
|
|
460
441
|
Optional[str], pydantic.Field(alias="processedTagValue")
|
|
461
442
|
] = None
|
|
462
443
|
r"""The value for the S3 object tag applied after processing. This field accepts an expression for dynamic generation."""
|
|
463
|
-
|
|
464
|
-
@field_serializer("aws_authentication_method")
|
|
465
|
-
def serialize_aws_authentication_method(self, value):
|
|
466
|
-
if isinstance(value, str):
|
|
467
|
-
try:
|
|
468
|
-
return models.InputS3AuthenticationMethod(value)
|
|
469
|
-
except ValueError:
|
|
470
|
-
return value
|
|
471
|
-
return value
|
|
472
|
-
|
|
473
|
-
@field_serializer("signature_version")
|
|
474
|
-
def serialize_signature_version(self, value):
|
|
475
|
-
if isinstance(value, str):
|
|
476
|
-
try:
|
|
477
|
-
return models.InputS3SignatureVersion(value)
|
|
478
|
-
except ValueError:
|
|
479
|
-
return value
|
|
480
|
-
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 InputS3InventoryPq(BaseModel):
|
|
|
107
106
|
Optional[InputS3InventoryPqControls], 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.InputS3InventoryMode(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.InputS3InventoryCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputS3InventoryAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
r"""AWS authentication method. Choose Auto to use IAM roles."""
|
|
@@ -484,30 +465,3 @@ class InputS3Inventory(BaseModel):
|
|
|
484
465
|
Optional[str], pydantic.Field(alias="processedTagValue")
|
|
485
466
|
] = None
|
|
486
467
|
r"""The value for the S3 object tag applied after processing. This field accepts an expression for dynamic generation."""
|
|
487
|
-
|
|
488
|
-
@field_serializer("aws_authentication_method")
|
|
489
|
-
def serialize_aws_authentication_method(self, value):
|
|
490
|
-
if isinstance(value, str):
|
|
491
|
-
try:
|
|
492
|
-
return models.InputS3InventoryAuthenticationMethod(value)
|
|
493
|
-
except ValueError:
|
|
494
|
-
return value
|
|
495
|
-
return value
|
|
496
|
-
|
|
497
|
-
@field_serializer("signature_version")
|
|
498
|
-
def serialize_signature_version(self, value):
|
|
499
|
-
if isinstance(value, str):
|
|
500
|
-
try:
|
|
501
|
-
return models.InputS3InventorySignatureVersion(value)
|
|
502
|
-
except ValueError:
|
|
503
|
-
return value
|
|
504
|
-
return value
|
|
505
|
-
|
|
506
|
-
@field_serializer("tag_after_processing")
|
|
507
|
-
def serialize_tag_after_processing(self, value):
|
|
508
|
-
if isinstance(value, str):
|
|
509
|
-
try:
|
|
510
|
-
return models.InputS3InventoryTagAfterProcessing(value)
|
|
511
|
-
except ValueError:
|
|
512
|
-
return value
|
|
513
|
-
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 InputSecurityLakePq(BaseModel):
|
|
|
108
107
|
Optional[InputSecurityLakePqControls], 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.InputSecurityLakeMode(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.InputSecurityLakeCompression(value)
|
|
125
|
-
except ValueError:
|
|
126
|
-
return value
|
|
127
|
-
return value
|
|
128
|
-
|
|
129
110
|
|
|
130
111
|
class InputSecurityLakeAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
131
112
|
r"""AWS authentication method. Choose Auto to use IAM roles."""
|
|
@@ -469,30 +450,3 @@ class InputSecurityLake(BaseModel):
|
|
|
469
450
|
Optional[str], pydantic.Field(alias="processedTagValue")
|
|
470
451
|
] = None
|
|
471
452
|
r"""The value for the S3 object tag applied after processing. This field accepts an expression for dynamic generation."""
|
|
472
|
-
|
|
473
|
-
@field_serializer("aws_authentication_method")
|
|
474
|
-
def serialize_aws_authentication_method(self, value):
|
|
475
|
-
if isinstance(value, str):
|
|
476
|
-
try:
|
|
477
|
-
return models.InputSecurityLakeAuthenticationMethod(value)
|
|
478
|
-
except ValueError:
|
|
479
|
-
return value
|
|
480
|
-
return value
|
|
481
|
-
|
|
482
|
-
@field_serializer("signature_version")
|
|
483
|
-
def serialize_signature_version(self, value):
|
|
484
|
-
if isinstance(value, str):
|
|
485
|
-
try:
|
|
486
|
-
return models.InputSecurityLakeSignatureVersion(value)
|
|
487
|
-
except ValueError:
|
|
488
|
-
return value
|
|
489
|
-
return value
|
|
490
|
-
|
|
491
|
-
@field_serializer("tag_after_processing")
|
|
492
|
-
def serialize_tag_after_processing(self, value):
|
|
493
|
-
if isinstance(value, str):
|
|
494
|
-
try:
|
|
495
|
-
return models.InputSecurityLakeTagAfterProcessing(value)
|
|
496
|
-
except ValueError:
|
|
497
|
-
return value
|
|
498
|
-
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 Any, List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputSnmpPq(BaseModel):
|
|
|
107
106
|
Optional[InputSnmpPqControls], 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.InputSnmpMode(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.InputSnmpCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class AuthenticationProtocol(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
# None
|
|
@@ -166,15 +147,6 @@ class V3User(BaseModel):
|
|
|
166
147
|
"none"
|
|
167
148
|
)
|
|
168
149
|
|
|
169
|
-
@field_serializer("auth_protocol")
|
|
170
|
-
def serialize_auth_protocol(self, value):
|
|
171
|
-
if isinstance(value, str):
|
|
172
|
-
try:
|
|
173
|
-
return models.AuthenticationProtocol(value)
|
|
174
|
-
except ValueError:
|
|
175
|
-
return value
|
|
176
|
-
return value
|
|
177
|
-
|
|
178
150
|
|
|
179
151
|
class SNMPv3AuthenticationTypedDict(TypedDict):
|
|
180
152
|
r"""Authentication parameters for SNMPv3 trap. Set the log level to debug if you are experiencing authentication or decryption issues."""
|
|
@@ -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 InputSplunkPq(BaseModel):
|
|
|
107
106
|
Optional[InputSplunkPqControls], 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.InputSplunkMode(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.InputSplunkPqCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputSplunkMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
TL_SV1 = "TLSv1"
|
|
@@ -211,24 +192,6 @@ class InputSplunkTLSSettingsServerSide(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.InputSplunkMinimumTLSVersion(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.InputSplunkMaximumTLSVersion(value)
|
|
228
|
-
except ValueError:
|
|
229
|
-
return value
|
|
230
|
-
return value
|
|
231
|
-
|
|
232
195
|
|
|
233
196
|
class InputSplunkMetadatumTypedDict(TypedDict):
|
|
234
197
|
name: str
|
|
@@ -448,21 +411,3 @@ class InputSplunk(BaseModel):
|
|
|
448
411
|
Optional[InputSplunkCompression], PlainValidator(validate_open_enum(False))
|
|
449
412
|
] = InputSplunkCompression.DISABLED
|
|
450
413
|
r"""Controls whether to support reading compressed data from a forwarder. Select 'Automatic' to match the forwarder's configuration, or 'Disabled' to reject compressed connections."""
|
|
451
|
-
|
|
452
|
-
@field_serializer("max_s2_sversion")
|
|
453
|
-
def serialize_max_s2_sversion(self, value):
|
|
454
|
-
if isinstance(value, str):
|
|
455
|
-
try:
|
|
456
|
-
return models.InputSplunkMaxS2SVersion(value)
|
|
457
|
-
except ValueError:
|
|
458
|
-
return value
|
|
459
|
-
return value
|
|
460
|
-
|
|
461
|
-
@field_serializer("compress")
|
|
462
|
-
def serialize_compress(self, value):
|
|
463
|
-
if isinstance(value, str):
|
|
464
|
-
try:
|
|
465
|
-
return models.InputSplunkCompression(value)
|
|
466
|
-
except ValueError:
|
|
467
|
-
return value
|
|
468
|
-
return value
|