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
|
|
@@ -108,24 +107,6 @@ class InputEdgePrometheusPq(BaseModel):
|
|
|
108
107
|
Optional[InputEdgePrometheusPqControls], 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.InputEdgePrometheusMode(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.InputEdgePrometheusPqCompression(value)
|
|
125
|
-
except ValueError:
|
|
126
|
-
return value
|
|
127
|
-
return value
|
|
128
|
-
|
|
129
110
|
|
|
130
111
|
class InputEdgePrometheusDiscoveryType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
131
112
|
r"""Target discovery mechanism. Use static to manually enter a list of targets."""
|
|
@@ -183,15 +164,6 @@ class InputEdgePrometheusDiskSpooling(BaseModel):
|
|
|
183
164
|
] = InputEdgePrometheusPersistenceCompression.GZIP
|
|
184
165
|
r"""Data compression format. Default is gzip."""
|
|
185
166
|
|
|
186
|
-
@field_serializer("compress")
|
|
187
|
-
def serialize_compress(self, value):
|
|
188
|
-
if isinstance(value, str):
|
|
189
|
-
try:
|
|
190
|
-
return models.InputEdgePrometheusPersistenceCompression(value)
|
|
191
|
-
except ValueError:
|
|
192
|
-
return value
|
|
193
|
-
return value
|
|
194
|
-
|
|
195
167
|
|
|
196
168
|
class InputEdgePrometheusMetadatumTypedDict(TypedDict):
|
|
197
169
|
name: str
|
|
@@ -249,15 +221,6 @@ class Target(BaseModel):
|
|
|
249
221
|
path: Optional[str] = "/metrics"
|
|
250
222
|
r"""Path to use when collecting metrics from discovered targets"""
|
|
251
223
|
|
|
252
|
-
@field_serializer("protocol")
|
|
253
|
-
def serialize_protocol(self, value):
|
|
254
|
-
if isinstance(value, str):
|
|
255
|
-
try:
|
|
256
|
-
return models.TargetProtocol(value)
|
|
257
|
-
except ValueError:
|
|
258
|
-
return value
|
|
259
|
-
return value
|
|
260
|
-
|
|
261
224
|
|
|
262
225
|
class InputEdgePrometheusRecordType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
263
226
|
r"""DNS Record type to resolve"""
|
|
@@ -619,59 +582,3 @@ class InputEdgePrometheus(BaseModel):
|
|
|
619
582
|
Optional[str], pydantic.Field(alias="credentialsSecret")
|
|
620
583
|
] = None
|
|
621
584
|
r"""Select or create a secret that references your credentials"""
|
|
622
|
-
|
|
623
|
-
@field_serializer("discovery_type")
|
|
624
|
-
def serialize_discovery_type(self, value):
|
|
625
|
-
if isinstance(value, str):
|
|
626
|
-
try:
|
|
627
|
-
return models.InputEdgePrometheusDiscoveryType(value)
|
|
628
|
-
except ValueError:
|
|
629
|
-
return value
|
|
630
|
-
return value
|
|
631
|
-
|
|
632
|
-
@field_serializer("auth_type")
|
|
633
|
-
def serialize_auth_type(self, value):
|
|
634
|
-
if isinstance(value, str):
|
|
635
|
-
try:
|
|
636
|
-
return models.InputEdgePrometheusAuthTypeAuthenticationMethod(value)
|
|
637
|
-
except ValueError:
|
|
638
|
-
return value
|
|
639
|
-
return value
|
|
640
|
-
|
|
641
|
-
@field_serializer("record_type")
|
|
642
|
-
def serialize_record_type(self, value):
|
|
643
|
-
if isinstance(value, str):
|
|
644
|
-
try:
|
|
645
|
-
return models.InputEdgePrometheusRecordType(value)
|
|
646
|
-
except ValueError:
|
|
647
|
-
return value
|
|
648
|
-
return value
|
|
649
|
-
|
|
650
|
-
@field_serializer("scrape_protocol")
|
|
651
|
-
def serialize_scrape_protocol(self, value):
|
|
652
|
-
if isinstance(value, str):
|
|
653
|
-
try:
|
|
654
|
-
return models.ScrapeProtocolProtocol(value)
|
|
655
|
-
except ValueError:
|
|
656
|
-
return value
|
|
657
|
-
return value
|
|
658
|
-
|
|
659
|
-
@field_serializer("aws_authentication_method")
|
|
660
|
-
def serialize_aws_authentication_method(self, value):
|
|
661
|
-
if isinstance(value, str):
|
|
662
|
-
try:
|
|
663
|
-
return models.InputEdgePrometheusAwsAuthenticationMethodAuthenticationMethod(
|
|
664
|
-
value
|
|
665
|
-
)
|
|
666
|
-
except ValueError:
|
|
667
|
-
return value
|
|
668
|
-
return value
|
|
669
|
-
|
|
670
|
-
@field_serializer("signature_version")
|
|
671
|
-
def serialize_signature_version(self, value):
|
|
672
|
-
if isinstance(value, str):
|
|
673
|
-
try:
|
|
674
|
-
return models.InputEdgePrometheusSignatureVersion(value)
|
|
675
|
-
except ValueError:
|
|
676
|
-
return value
|
|
677
|
-
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 InputElasticPq(BaseModel):
|
|
|
107
106
|
Optional[InputElasticPqControls], 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.InputElasticMode(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.InputElasticCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputElasticMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
TL_SV1 = "TLSv1"
|
|
@@ -211,24 +192,6 @@ class InputElasticTLSSettingsServerSide(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.InputElasticMinimumTLSVersion(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.InputElasticMaximumTLSVersion(value)
|
|
228
|
-
except ValueError:
|
|
229
|
-
return value
|
|
230
|
-
return value
|
|
231
|
-
|
|
232
195
|
|
|
233
196
|
class InputElasticAuthenticationType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
234
197
|
# None
|
|
@@ -341,15 +304,6 @@ class InputElasticProxyMode(BaseModel):
|
|
|
341
304
|
timeout_sec: Annotated[Optional[float], pydantic.Field(alias="timeoutSec")] = 60
|
|
342
305
|
r"""Amount of time, in seconds, to wait for a proxy request to complete before canceling it"""
|
|
343
306
|
|
|
344
|
-
@field_serializer("auth_type")
|
|
345
|
-
def serialize_auth_type(self, value):
|
|
346
|
-
if isinstance(value, str):
|
|
347
|
-
try:
|
|
348
|
-
return models.InputElasticAuthenticationMethod(value)
|
|
349
|
-
except ValueError:
|
|
350
|
-
return value
|
|
351
|
-
return value
|
|
352
|
-
|
|
353
307
|
|
|
354
308
|
class InputElasticTypedDict(TypedDict):
|
|
355
309
|
type: InputElasticType
|
|
@@ -579,21 +533,3 @@ class InputElastic(BaseModel):
|
|
|
579
533
|
"}"
|
|
580
534
|
)
|
|
581
535
|
r"""Custom version information to respond to requests"""
|
|
582
|
-
|
|
583
|
-
@field_serializer("auth_type")
|
|
584
|
-
def serialize_auth_type(self, value):
|
|
585
|
-
if isinstance(value, str):
|
|
586
|
-
try:
|
|
587
|
-
return models.InputElasticAuthenticationType(value)
|
|
588
|
-
except ValueError:
|
|
589
|
-
return value
|
|
590
|
-
return value
|
|
591
|
-
|
|
592
|
-
@field_serializer("api_version")
|
|
593
|
-
def serialize_api_version(self, value):
|
|
594
|
-
if isinstance(value, str):
|
|
595
|
-
try:
|
|
596
|
-
return models.InputElasticAPIVersion(value)
|
|
597
|
-
except ValueError:
|
|
598
|
-
return value
|
|
599
|
-
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 InputEventhubPq(BaseModel):
|
|
|
107
106
|
Optional[InputEventhubPqControls], 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.InputEventhubMode(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.InputEventhubCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputEventhubAuthTypeAuthenticationMethod(
|
|
130
111
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
@@ -267,44 +248,6 @@ class InputEventhubAuthentication(BaseModel):
|
|
|
267
248
|
scope: Optional[str] = None
|
|
268
249
|
r"""Scope to pass in the OAuth request parameter"""
|
|
269
250
|
|
|
270
|
-
@field_serializer("auth_type")
|
|
271
|
-
def serialize_auth_type(self, value):
|
|
272
|
-
if isinstance(value, str):
|
|
273
|
-
try:
|
|
274
|
-
return models.InputEventhubAuthTypeAuthenticationMethod(value)
|
|
275
|
-
except ValueError:
|
|
276
|
-
return value
|
|
277
|
-
return value
|
|
278
|
-
|
|
279
|
-
@field_serializer("mechanism")
|
|
280
|
-
def serialize_mechanism(self, value):
|
|
281
|
-
if isinstance(value, str):
|
|
282
|
-
try:
|
|
283
|
-
return models.InputEventhubSASLMechanism(value)
|
|
284
|
-
except ValueError:
|
|
285
|
-
return value
|
|
286
|
-
return value
|
|
287
|
-
|
|
288
|
-
@field_serializer("client_secret_auth_type")
|
|
289
|
-
def serialize_client_secret_auth_type(self, value):
|
|
290
|
-
if isinstance(value, str):
|
|
291
|
-
try:
|
|
292
|
-
return models.InputEventhubClientSecretAuthTypeAuthenticationMethod(
|
|
293
|
-
value
|
|
294
|
-
)
|
|
295
|
-
except ValueError:
|
|
296
|
-
return value
|
|
297
|
-
return value
|
|
298
|
-
|
|
299
|
-
@field_serializer("oauth_endpoint")
|
|
300
|
-
def serialize_oauth_endpoint(self, value):
|
|
301
|
-
if isinstance(value, str):
|
|
302
|
-
try:
|
|
303
|
-
return models.InputEventhubMicrosoftEntraIDAuthenticationEndpoint(value)
|
|
304
|
-
except ValueError:
|
|
305
|
-
return value
|
|
306
|
-
return value
|
|
307
|
-
|
|
308
251
|
|
|
309
252
|
class InputEventhubTLSSettingsClientSideTypedDict(TypedDict):
|
|
310
253
|
disabled: NotRequired[bool]
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputExecPq(BaseModel):
|
|
|
107
106
|
Optional[InputExecPqControls], 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.InputExecMode(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.InputExecCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class ScheduleType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
r"""Select a schedule type; either an interval (in seconds) or a cron-style schedule."""
|
|
@@ -247,12 +228,3 @@ class InputExec(BaseModel):
|
|
|
247
228
|
"* * * * *"
|
|
248
229
|
)
|
|
249
230
|
r"""Cron schedule to execute the command on."""
|
|
250
|
-
|
|
251
|
-
@field_serializer("schedule_type")
|
|
252
|
-
def serialize_schedule_type(self, value):
|
|
253
|
-
if isinstance(value, str):
|
|
254
|
-
try:
|
|
255
|
-
return models.ScheduleType(value)
|
|
256
|
-
except ValueError:
|
|
257
|
-
return value
|
|
258
|
-
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 InputFilePq(BaseModel):
|
|
|
107
106
|
Optional[InputFilePqControls], 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.InputFilePqMode(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.InputFileCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputFileMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
r"""Choose how to discover files to monitor"""
|
|
@@ -300,12 +281,3 @@ class InputFile(BaseModel):
|
|
|
300
281
|
Optional[bool], pydantic.Field(alias="includeUnidentifiableBinary")
|
|
301
282
|
] = False
|
|
302
283
|
r"""Stream binary files as Base64-encoded chunks."""
|
|
303
|
-
|
|
304
|
-
@field_serializer("mode")
|
|
305
|
-
def serialize_mode(self, value):
|
|
306
|
-
if isinstance(value, str):
|
|
307
|
-
try:
|
|
308
|
-
return models.InputFileMode(value)
|
|
309
|
-
except ValueError:
|
|
310
|
-
return value
|
|
311
|
-
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 InputFirehosePq(BaseModel):
|
|
|
107
106
|
Optional[InputFirehosePqControls], 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.InputFirehoseMode(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.InputFirehoseCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputFirehoseMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
TL_SV1 = "TLSv1"
|
|
@@ -211,24 +192,6 @@ class InputFirehoseTLSSettingsServerSide(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.InputFirehoseMinimumTLSVersion(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.InputFirehoseMaximumTLSVersion(value)
|
|
228
|
-
except ValueError:
|
|
229
|
-
return value
|
|
230
|
-
return value
|
|
231
|
-
|
|
232
195
|
|
|
233
196
|
class InputFirehoseMetadatumTypedDict(TypedDict):
|
|
234
197
|
name: str
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -108,24 +107,6 @@ class InputGooglePubsubPq(BaseModel):
|
|
|
108
107
|
Optional[InputGooglePubsubPqControls], 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.InputGooglePubsubMode(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.InputGooglePubsubCompression(value)
|
|
125
|
-
except ValueError:
|
|
126
|
-
return value
|
|
127
|
-
return value
|
|
128
|
-
|
|
129
110
|
|
|
130
111
|
class InputGooglePubsubGoogleAuthenticationMethod(
|
|
131
112
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
@@ -291,12 +272,3 @@ class InputGooglePubsub(BaseModel):
|
|
|
291
272
|
Optional[bool], pydantic.Field(alias="orderedDelivery")
|
|
292
273
|
] = False
|
|
293
274
|
r"""Receive events in the order they were added to the queue. The process sending events must have ordering enabled."""
|
|
294
|
-
|
|
295
|
-
@field_serializer("google_auth_method")
|
|
296
|
-
def serialize_google_auth_method(self, value):
|
|
297
|
-
if isinstance(value, str):
|
|
298
|
-
try:
|
|
299
|
-
return models.InputGooglePubsubGoogleAuthenticationMethod(value)
|
|
300
|
-
except ValueError:
|
|
301
|
-
return value
|
|
302
|
-
return value
|