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
|
|
@@ -227,24 +226,6 @@ class OutputServiceNowTLSSettingsClientSide(BaseModel):
|
|
|
227
226
|
pydantic.Field(alias="maxVersion"),
|
|
228
227
|
] = None
|
|
229
228
|
|
|
230
|
-
@field_serializer("min_version")
|
|
231
|
-
def serialize_min_version(self, value):
|
|
232
|
-
if isinstance(value, str):
|
|
233
|
-
try:
|
|
234
|
-
return models.OutputServiceNowMinimumTLSVersion(value)
|
|
235
|
-
except ValueError:
|
|
236
|
-
return value
|
|
237
|
-
return value
|
|
238
|
-
|
|
239
|
-
@field_serializer("max_version")
|
|
240
|
-
def serialize_max_version(self, value):
|
|
241
|
-
if isinstance(value, str):
|
|
242
|
-
try:
|
|
243
|
-
return models.OutputServiceNowMaximumTLSVersion(value)
|
|
244
|
-
except ValueError:
|
|
245
|
-
return value
|
|
246
|
-
return value
|
|
247
|
-
|
|
248
229
|
|
|
249
230
|
class OutputServiceNowMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
250
231
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
@@ -607,84 +588,3 @@ class OutputServiceNow(BaseModel):
|
|
|
607
588
|
pq_controls: Annotated[
|
|
608
589
|
Optional[OutputServiceNowPqControls], pydantic.Field(alias="pqControls")
|
|
609
590
|
] = None
|
|
610
|
-
|
|
611
|
-
@field_serializer("otlp_version")
|
|
612
|
-
def serialize_otlp_version(self, value):
|
|
613
|
-
if isinstance(value, str):
|
|
614
|
-
try:
|
|
615
|
-
return models.OutputServiceNowOTLPVersion(value)
|
|
616
|
-
except ValueError:
|
|
617
|
-
return value
|
|
618
|
-
return value
|
|
619
|
-
|
|
620
|
-
@field_serializer("protocol")
|
|
621
|
-
def serialize_protocol(self, value):
|
|
622
|
-
if isinstance(value, str):
|
|
623
|
-
try:
|
|
624
|
-
return models.OutputServiceNowProtocol(value)
|
|
625
|
-
except ValueError:
|
|
626
|
-
return value
|
|
627
|
-
return value
|
|
628
|
-
|
|
629
|
-
@field_serializer("compress")
|
|
630
|
-
def serialize_compress(self, value):
|
|
631
|
-
if isinstance(value, str):
|
|
632
|
-
try:
|
|
633
|
-
return models.OutputServiceNowCompressCompression(value)
|
|
634
|
-
except ValueError:
|
|
635
|
-
return value
|
|
636
|
-
return value
|
|
637
|
-
|
|
638
|
-
@field_serializer("http_compress")
|
|
639
|
-
def serialize_http_compress(self, value):
|
|
640
|
-
if isinstance(value, str):
|
|
641
|
-
try:
|
|
642
|
-
return models.OutputServiceNowHTTPCompressCompression(value)
|
|
643
|
-
except ValueError:
|
|
644
|
-
return value
|
|
645
|
-
return value
|
|
646
|
-
|
|
647
|
-
@field_serializer("failed_request_logging_mode")
|
|
648
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
649
|
-
if isinstance(value, str):
|
|
650
|
-
try:
|
|
651
|
-
return models.OutputServiceNowFailedRequestLoggingMode(value)
|
|
652
|
-
except ValueError:
|
|
653
|
-
return value
|
|
654
|
-
return value
|
|
655
|
-
|
|
656
|
-
@field_serializer("on_backpressure")
|
|
657
|
-
def serialize_on_backpressure(self, value):
|
|
658
|
-
if isinstance(value, str):
|
|
659
|
-
try:
|
|
660
|
-
return models.OutputServiceNowBackpressureBehavior(value)
|
|
661
|
-
except ValueError:
|
|
662
|
-
return value
|
|
663
|
-
return value
|
|
664
|
-
|
|
665
|
-
@field_serializer("pq_mode")
|
|
666
|
-
def serialize_pq_mode(self, value):
|
|
667
|
-
if isinstance(value, str):
|
|
668
|
-
try:
|
|
669
|
-
return models.OutputServiceNowMode(value)
|
|
670
|
-
except ValueError:
|
|
671
|
-
return value
|
|
672
|
-
return value
|
|
673
|
-
|
|
674
|
-
@field_serializer("pq_compress")
|
|
675
|
-
def serialize_pq_compress(self, value):
|
|
676
|
-
if isinstance(value, str):
|
|
677
|
-
try:
|
|
678
|
-
return models.OutputServiceNowPqCompressCompression(value)
|
|
679
|
-
except ValueError:
|
|
680
|
-
return value
|
|
681
|
-
return value
|
|
682
|
-
|
|
683
|
-
@field_serializer("pq_on_backpressure")
|
|
684
|
-
def serialize_pq_on_backpressure(self, value):
|
|
685
|
-
if isinstance(value, str):
|
|
686
|
-
try:
|
|
687
|
-
return models.OutputServiceNowQueueFullBehavior(value)
|
|
688
|
-
except ValueError:
|
|
689
|
-
return value
|
|
690
|
-
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
|
|
@@ -409,57 +408,3 @@ class OutputSignalfx(BaseModel):
|
|
|
409
408
|
pq_controls: Annotated[
|
|
410
409
|
Optional[OutputSignalfxPqControls], pydantic.Field(alias="pqControls")
|
|
411
410
|
] = None
|
|
412
|
-
|
|
413
|
-
@field_serializer("auth_type")
|
|
414
|
-
def serialize_auth_type(self, value):
|
|
415
|
-
if isinstance(value, str):
|
|
416
|
-
try:
|
|
417
|
-
return models.OutputSignalfxAuthenticationMethod(value)
|
|
418
|
-
except ValueError:
|
|
419
|
-
return value
|
|
420
|
-
return value
|
|
421
|
-
|
|
422
|
-
@field_serializer("failed_request_logging_mode")
|
|
423
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
424
|
-
if isinstance(value, str):
|
|
425
|
-
try:
|
|
426
|
-
return models.OutputSignalfxFailedRequestLoggingMode(value)
|
|
427
|
-
except ValueError:
|
|
428
|
-
return value
|
|
429
|
-
return value
|
|
430
|
-
|
|
431
|
-
@field_serializer("on_backpressure")
|
|
432
|
-
def serialize_on_backpressure(self, value):
|
|
433
|
-
if isinstance(value, str):
|
|
434
|
-
try:
|
|
435
|
-
return models.OutputSignalfxBackpressureBehavior(value)
|
|
436
|
-
except ValueError:
|
|
437
|
-
return value
|
|
438
|
-
return value
|
|
439
|
-
|
|
440
|
-
@field_serializer("pq_mode")
|
|
441
|
-
def serialize_pq_mode(self, value):
|
|
442
|
-
if isinstance(value, str):
|
|
443
|
-
try:
|
|
444
|
-
return models.OutputSignalfxMode(value)
|
|
445
|
-
except ValueError:
|
|
446
|
-
return value
|
|
447
|
-
return value
|
|
448
|
-
|
|
449
|
-
@field_serializer("pq_compress")
|
|
450
|
-
def serialize_pq_compress(self, value):
|
|
451
|
-
if isinstance(value, str):
|
|
452
|
-
try:
|
|
453
|
-
return models.OutputSignalfxCompression(value)
|
|
454
|
-
except ValueError:
|
|
455
|
-
return value
|
|
456
|
-
return value
|
|
457
|
-
|
|
458
|
-
@field_serializer("pq_on_backpressure")
|
|
459
|
-
def serialize_pq_on_backpressure(self, value):
|
|
460
|
-
if isinstance(value, str):
|
|
461
|
-
try:
|
|
462
|
-
return models.OutputSignalfxQueueFullBehavior(value)
|
|
463
|
-
except ValueError:
|
|
464
|
-
return value
|
|
465
|
-
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
|
|
@@ -312,57 +311,3 @@ class OutputSns(BaseModel):
|
|
|
312
311
|
pq_controls: Annotated[
|
|
313
312
|
Optional[OutputSnsPqControls], pydantic.Field(alias="pqControls")
|
|
314
313
|
] = None
|
|
315
|
-
|
|
316
|
-
@field_serializer("aws_authentication_method")
|
|
317
|
-
def serialize_aws_authentication_method(self, value):
|
|
318
|
-
if isinstance(value, str):
|
|
319
|
-
try:
|
|
320
|
-
return models.OutputSnsAuthenticationMethod(value)
|
|
321
|
-
except ValueError:
|
|
322
|
-
return value
|
|
323
|
-
return value
|
|
324
|
-
|
|
325
|
-
@field_serializer("signature_version")
|
|
326
|
-
def serialize_signature_version(self, value):
|
|
327
|
-
if isinstance(value, str):
|
|
328
|
-
try:
|
|
329
|
-
return models.OutputSnsSignatureVersion(value)
|
|
330
|
-
except ValueError:
|
|
331
|
-
return value
|
|
332
|
-
return value
|
|
333
|
-
|
|
334
|
-
@field_serializer("on_backpressure")
|
|
335
|
-
def serialize_on_backpressure(self, value):
|
|
336
|
-
if isinstance(value, str):
|
|
337
|
-
try:
|
|
338
|
-
return models.OutputSnsBackpressureBehavior(value)
|
|
339
|
-
except ValueError:
|
|
340
|
-
return value
|
|
341
|
-
return value
|
|
342
|
-
|
|
343
|
-
@field_serializer("pq_mode")
|
|
344
|
-
def serialize_pq_mode(self, value):
|
|
345
|
-
if isinstance(value, str):
|
|
346
|
-
try:
|
|
347
|
-
return models.OutputSnsMode(value)
|
|
348
|
-
except ValueError:
|
|
349
|
-
return value
|
|
350
|
-
return value
|
|
351
|
-
|
|
352
|
-
@field_serializer("pq_compress")
|
|
353
|
-
def serialize_pq_compress(self, value):
|
|
354
|
-
if isinstance(value, str):
|
|
355
|
-
try:
|
|
356
|
-
return models.OutputSnsCompression(value)
|
|
357
|
-
except ValueError:
|
|
358
|
-
return value
|
|
359
|
-
return value
|
|
360
|
-
|
|
361
|
-
@field_serializer("pq_on_backpressure")
|
|
362
|
-
def serialize_pq_on_backpressure(self, value):
|
|
363
|
-
if isinstance(value, str):
|
|
364
|
-
try:
|
|
365
|
-
return models.OutputSnsQueueFullBehavior(value)
|
|
366
|
-
except ValueError:
|
|
367
|
-
return value
|
|
368
|
-
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 OutputSplunkTLSSettingsClientSide(BaseModel):
|
|
|
107
106
|
pydantic.Field(alias="maxVersion"),
|
|
108
107
|
] = None
|
|
109
108
|
|
|
110
|
-
@field_serializer("min_version")
|
|
111
|
-
def serialize_min_version(self, value):
|
|
112
|
-
if isinstance(value, str):
|
|
113
|
-
try:
|
|
114
|
-
return models.OutputSplunkMinimumTLSVersion(value)
|
|
115
|
-
except ValueError:
|
|
116
|
-
return value
|
|
117
|
-
return value
|
|
118
|
-
|
|
119
|
-
@field_serializer("max_version")
|
|
120
|
-
def serialize_max_version(self, value):
|
|
121
|
-
if isinstance(value, str):
|
|
122
|
-
try:
|
|
123
|
-
return models.OutputSplunkMaximumTLSVersion(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class OutputSplunkMaxS2SVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
r"""The highest S2S protocol version to advertise during handshake"""
|
|
@@ -441,75 +422,3 @@ class OutputSplunk(BaseModel):
|
|
|
441
422
|
|
|
442
423
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
443
424
|
r"""Select or create a stored text secret"""
|
|
444
|
-
|
|
445
|
-
@field_serializer("nested_fields")
|
|
446
|
-
def serialize_nested_fields(self, value):
|
|
447
|
-
if isinstance(value, str):
|
|
448
|
-
try:
|
|
449
|
-
return models.OutputSplunkNestedFieldSerialization(value)
|
|
450
|
-
except ValueError:
|
|
451
|
-
return value
|
|
452
|
-
return value
|
|
453
|
-
|
|
454
|
-
@field_serializer("max_s2_sversion")
|
|
455
|
-
def serialize_max_s2_sversion(self, value):
|
|
456
|
-
if isinstance(value, str):
|
|
457
|
-
try:
|
|
458
|
-
return models.OutputSplunkMaxS2SVersion(value)
|
|
459
|
-
except ValueError:
|
|
460
|
-
return value
|
|
461
|
-
return value
|
|
462
|
-
|
|
463
|
-
@field_serializer("on_backpressure")
|
|
464
|
-
def serialize_on_backpressure(self, value):
|
|
465
|
-
if isinstance(value, str):
|
|
466
|
-
try:
|
|
467
|
-
return models.OutputSplunkBackpressureBehavior(value)
|
|
468
|
-
except ValueError:
|
|
469
|
-
return value
|
|
470
|
-
return value
|
|
471
|
-
|
|
472
|
-
@field_serializer("auth_type")
|
|
473
|
-
def serialize_auth_type(self, value):
|
|
474
|
-
if isinstance(value, str):
|
|
475
|
-
try:
|
|
476
|
-
return models.OutputSplunkAuthenticationMethod(value)
|
|
477
|
-
except ValueError:
|
|
478
|
-
return value
|
|
479
|
-
return value
|
|
480
|
-
|
|
481
|
-
@field_serializer("compress")
|
|
482
|
-
def serialize_compress(self, value):
|
|
483
|
-
if isinstance(value, str):
|
|
484
|
-
try:
|
|
485
|
-
return models.OutputSplunkCompressCompression(value)
|
|
486
|
-
except ValueError:
|
|
487
|
-
return value
|
|
488
|
-
return value
|
|
489
|
-
|
|
490
|
-
@field_serializer("pq_mode")
|
|
491
|
-
def serialize_pq_mode(self, value):
|
|
492
|
-
if isinstance(value, str):
|
|
493
|
-
try:
|
|
494
|
-
return models.OutputSplunkMode(value)
|
|
495
|
-
except ValueError:
|
|
496
|
-
return value
|
|
497
|
-
return value
|
|
498
|
-
|
|
499
|
-
@field_serializer("pq_compress")
|
|
500
|
-
def serialize_pq_compress(self, value):
|
|
501
|
-
if isinstance(value, str):
|
|
502
|
-
try:
|
|
503
|
-
return models.OutputSplunkPqCompressCompression(value)
|
|
504
|
-
except ValueError:
|
|
505
|
-
return value
|
|
506
|
-
return value
|
|
507
|
-
|
|
508
|
-
@field_serializer("pq_on_backpressure")
|
|
509
|
-
def serialize_pq_on_backpressure(self, value):
|
|
510
|
-
if isinstance(value, str):
|
|
511
|
-
try:
|
|
512
|
-
return models.OutputSplunkQueueFullBehavior(value)
|
|
513
|
-
except ValueError:
|
|
514
|
-
return value
|
|
515
|
-
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
|
|
@@ -87,24 +86,6 @@ class OutputSplunkHecTLSSettingsClientSide(BaseModel):
|
|
|
87
86
|
pydantic.Field(alias="maxVersion"),
|
|
88
87
|
] = None
|
|
89
88
|
|
|
90
|
-
@field_serializer("min_version")
|
|
91
|
-
def serialize_min_version(self, value):
|
|
92
|
-
if isinstance(value, str):
|
|
93
|
-
try:
|
|
94
|
-
return models.OutputSplunkHecMinimumTLSVersion(value)
|
|
95
|
-
except ValueError:
|
|
96
|
-
return value
|
|
97
|
-
return value
|
|
98
|
-
|
|
99
|
-
@field_serializer("max_version")
|
|
100
|
-
def serialize_max_version(self, value):
|
|
101
|
-
if isinstance(value, str):
|
|
102
|
-
try:
|
|
103
|
-
return models.OutputSplunkHecMaximumTLSVersion(value)
|
|
104
|
-
except ValueError:
|
|
105
|
-
return value
|
|
106
|
-
return value
|
|
107
|
-
|
|
108
89
|
|
|
109
90
|
class OutputSplunkHecExtraHTTPHeaderTypedDict(TypedDict):
|
|
110
91
|
value: str
|
|
@@ -567,57 +548,3 @@ class OutputSplunkHec(BaseModel):
|
|
|
567
548
|
pq_controls: Annotated[
|
|
568
549
|
Optional[OutputSplunkHecPqControls], pydantic.Field(alias="pqControls")
|
|
569
550
|
] = None
|
|
570
|
-
|
|
571
|
-
@field_serializer("failed_request_logging_mode")
|
|
572
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
573
|
-
if isinstance(value, str):
|
|
574
|
-
try:
|
|
575
|
-
return models.OutputSplunkHecFailedRequestLoggingMode(value)
|
|
576
|
-
except ValueError:
|
|
577
|
-
return value
|
|
578
|
-
return value
|
|
579
|
-
|
|
580
|
-
@field_serializer("auth_type")
|
|
581
|
-
def serialize_auth_type(self, value):
|
|
582
|
-
if isinstance(value, str):
|
|
583
|
-
try:
|
|
584
|
-
return models.OutputSplunkHecAuthenticationMethod(value)
|
|
585
|
-
except ValueError:
|
|
586
|
-
return value
|
|
587
|
-
return value
|
|
588
|
-
|
|
589
|
-
@field_serializer("on_backpressure")
|
|
590
|
-
def serialize_on_backpressure(self, value):
|
|
591
|
-
if isinstance(value, str):
|
|
592
|
-
try:
|
|
593
|
-
return models.OutputSplunkHecBackpressureBehavior(value)
|
|
594
|
-
except ValueError:
|
|
595
|
-
return value
|
|
596
|
-
return value
|
|
597
|
-
|
|
598
|
-
@field_serializer("pq_mode")
|
|
599
|
-
def serialize_pq_mode(self, value):
|
|
600
|
-
if isinstance(value, str):
|
|
601
|
-
try:
|
|
602
|
-
return models.OutputSplunkHecMode(value)
|
|
603
|
-
except ValueError:
|
|
604
|
-
return value
|
|
605
|
-
return value
|
|
606
|
-
|
|
607
|
-
@field_serializer("pq_compress")
|
|
608
|
-
def serialize_pq_compress(self, value):
|
|
609
|
-
if isinstance(value, str):
|
|
610
|
-
try:
|
|
611
|
-
return models.OutputSplunkHecCompression(value)
|
|
612
|
-
except ValueError:
|
|
613
|
-
return value
|
|
614
|
-
return value
|
|
615
|
-
|
|
616
|
-
@field_serializer("pq_on_backpressure")
|
|
617
|
-
def serialize_pq_on_backpressure(self, value):
|
|
618
|
-
if isinstance(value, str):
|
|
619
|
-
try:
|
|
620
|
-
return models.OutputSplunkHecQueueFullBehavior(value)
|
|
621
|
-
except ValueError:
|
|
622
|
-
return value
|
|
623
|
-
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 OutputSplunkLbTLSSettingsClientSide(BaseModel):
|
|
|
107
106
|
pydantic.Field(alias="maxVersion"),
|
|
108
107
|
] = None
|
|
109
108
|
|
|
110
|
-
@field_serializer("min_version")
|
|
111
|
-
def serialize_min_version(self, value):
|
|
112
|
-
if isinstance(value, str):
|
|
113
|
-
try:
|
|
114
|
-
return models.OutputSplunkLbMinimumTLSVersion(value)
|
|
115
|
-
except ValueError:
|
|
116
|
-
return value
|
|
117
|
-
return value
|
|
118
|
-
|
|
119
|
-
@field_serializer("max_version")
|
|
120
|
-
def serialize_max_version(self, value):
|
|
121
|
-
if isinstance(value, str):
|
|
122
|
-
try:
|
|
123
|
-
return models.OutputSplunkLbMaximumTLSVersion(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class OutputSplunkLbMaxS2SVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
r"""The highest S2S protocol version to advertise during handshake"""
|
|
@@ -186,17 +167,6 @@ class OutputSplunkLbAuthToken(BaseModel):
|
|
|
186
167
|
] = IndexerDiscoveryConfigsAuthTokenAuthenticationMethod.MANUAL
|
|
187
168
|
r"""Select Manual to enter an auth token directly, or select Secret to use a text secret to authenticate"""
|
|
188
169
|
|
|
189
|
-
@field_serializer("auth_type")
|
|
190
|
-
def serialize_auth_type(self, value):
|
|
191
|
-
if isinstance(value, str):
|
|
192
|
-
try:
|
|
193
|
-
return models.IndexerDiscoveryConfigsAuthTokenAuthenticationMethod(
|
|
194
|
-
value
|
|
195
|
-
)
|
|
196
|
-
except ValueError:
|
|
197
|
-
return value
|
|
198
|
-
return value
|
|
199
|
-
|
|
200
170
|
|
|
201
171
|
class IndexerDiscoveryConfigsAuthenticationMethod(
|
|
202
172
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
@@ -267,15 +237,6 @@ class IndexerDiscoveryConfigs(BaseModel):
|
|
|
267
237
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
268
238
|
r"""Select or create a stored text secret"""
|
|
269
239
|
|
|
270
|
-
@field_serializer("auth_type")
|
|
271
|
-
def serialize_auth_type(self, value):
|
|
272
|
-
if isinstance(value, str):
|
|
273
|
-
try:
|
|
274
|
-
return models.IndexerDiscoveryConfigsAuthenticationMethod(value)
|
|
275
|
-
except ValueError:
|
|
276
|
-
return value
|
|
277
|
-
return value
|
|
278
|
-
|
|
279
240
|
|
|
280
241
|
class OutputSplunkLbTLS(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
281
242
|
r"""Whether to inherit TLS configs from group setting or disable TLS"""
|
|
@@ -315,15 +276,6 @@ class OutputSplunkLbHost(BaseModel):
|
|
|
315
276
|
weight: Optional[float] = 1
|
|
316
277
|
r"""Assign a weight (>0) to each endpoint to indicate its traffic-handling capability"""
|
|
317
278
|
|
|
318
|
-
@field_serializer("tls")
|
|
319
|
-
def serialize_tls(self, value):
|
|
320
|
-
if isinstance(value, str):
|
|
321
|
-
try:
|
|
322
|
-
return models.OutputSplunkLbTLS(value)
|
|
323
|
-
except ValueError:
|
|
324
|
-
return value
|
|
325
|
-
return value
|
|
326
|
-
|
|
327
279
|
|
|
328
280
|
class OutputSplunkLbMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
329
281
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
@@ -647,75 +599,3 @@ class OutputSplunkLb(BaseModel):
|
|
|
647
599
|
|
|
648
600
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
649
601
|
r"""Select or create a stored text secret"""
|
|
650
|
-
|
|
651
|
-
@field_serializer("nested_fields")
|
|
652
|
-
def serialize_nested_fields(self, value):
|
|
653
|
-
if isinstance(value, str):
|
|
654
|
-
try:
|
|
655
|
-
return models.OutputSplunkLbNestedFieldSerialization(value)
|
|
656
|
-
except ValueError:
|
|
657
|
-
return value
|
|
658
|
-
return value
|
|
659
|
-
|
|
660
|
-
@field_serializer("max_s2_sversion")
|
|
661
|
-
def serialize_max_s2_sversion(self, value):
|
|
662
|
-
if isinstance(value, str):
|
|
663
|
-
try:
|
|
664
|
-
return models.OutputSplunkLbMaxS2SVersion(value)
|
|
665
|
-
except ValueError:
|
|
666
|
-
return value
|
|
667
|
-
return value
|
|
668
|
-
|
|
669
|
-
@field_serializer("on_backpressure")
|
|
670
|
-
def serialize_on_backpressure(self, value):
|
|
671
|
-
if isinstance(value, str):
|
|
672
|
-
try:
|
|
673
|
-
return models.OutputSplunkLbBackpressureBehavior(value)
|
|
674
|
-
except ValueError:
|
|
675
|
-
return value
|
|
676
|
-
return value
|
|
677
|
-
|
|
678
|
-
@field_serializer("auth_type")
|
|
679
|
-
def serialize_auth_type(self, value):
|
|
680
|
-
if isinstance(value, str):
|
|
681
|
-
try:
|
|
682
|
-
return models.OutputSplunkLbAuthenticationMethod(value)
|
|
683
|
-
except ValueError:
|
|
684
|
-
return value
|
|
685
|
-
return value
|
|
686
|
-
|
|
687
|
-
@field_serializer("compress")
|
|
688
|
-
def serialize_compress(self, value):
|
|
689
|
-
if isinstance(value, str):
|
|
690
|
-
try:
|
|
691
|
-
return models.OutputSplunkLbCompressCompression(value)
|
|
692
|
-
except ValueError:
|
|
693
|
-
return value
|
|
694
|
-
return value
|
|
695
|
-
|
|
696
|
-
@field_serializer("pq_mode")
|
|
697
|
-
def serialize_pq_mode(self, value):
|
|
698
|
-
if isinstance(value, str):
|
|
699
|
-
try:
|
|
700
|
-
return models.OutputSplunkLbMode(value)
|
|
701
|
-
except ValueError:
|
|
702
|
-
return value
|
|
703
|
-
return value
|
|
704
|
-
|
|
705
|
-
@field_serializer("pq_compress")
|
|
706
|
-
def serialize_pq_compress(self, value):
|
|
707
|
-
if isinstance(value, str):
|
|
708
|
-
try:
|
|
709
|
-
return models.OutputSplunkLbPqCompressCompression(value)
|
|
710
|
-
except ValueError:
|
|
711
|
-
return value
|
|
712
|
-
return value
|
|
713
|
-
|
|
714
|
-
@field_serializer("pq_on_backpressure")
|
|
715
|
-
def serialize_pq_on_backpressure(self, value):
|
|
716
|
-
if isinstance(value, str):
|
|
717
|
-
try:
|
|
718
|
-
return models.OutputSplunkLbQueueFullBehavior(value)
|
|
719
|
-
except ValueError:
|
|
720
|
-
return value
|
|
721
|
-
return value
|