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 List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -449,68 +448,3 @@ class OutputCrowdstrikeNextGenSiem(BaseModel):
|
|
|
449
448
|
Optional[OutputCrowdstrikeNextGenSiemPqControls],
|
|
450
449
|
pydantic.Field(alias="pqControls"),
|
|
451
450
|
] = None
|
|
452
|
-
|
|
453
|
-
@field_serializer("failed_request_logging_mode")
|
|
454
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
455
|
-
if isinstance(value, str):
|
|
456
|
-
try:
|
|
457
|
-
return models.OutputCrowdstrikeNextGenSiemFailedRequestLoggingMode(
|
|
458
|
-
value
|
|
459
|
-
)
|
|
460
|
-
except ValueError:
|
|
461
|
-
return value
|
|
462
|
-
return value
|
|
463
|
-
|
|
464
|
-
@field_serializer("format_")
|
|
465
|
-
def serialize_format_(self, value):
|
|
466
|
-
if isinstance(value, str):
|
|
467
|
-
try:
|
|
468
|
-
return models.OutputCrowdstrikeNextGenSiemRequestFormat(value)
|
|
469
|
-
except ValueError:
|
|
470
|
-
return value
|
|
471
|
-
return value
|
|
472
|
-
|
|
473
|
-
@field_serializer("auth_type")
|
|
474
|
-
def serialize_auth_type(self, value):
|
|
475
|
-
if isinstance(value, str):
|
|
476
|
-
try:
|
|
477
|
-
return models.OutputCrowdstrikeNextGenSiemAuthenticationMethod(value)
|
|
478
|
-
except ValueError:
|
|
479
|
-
return value
|
|
480
|
-
return value
|
|
481
|
-
|
|
482
|
-
@field_serializer("on_backpressure")
|
|
483
|
-
def serialize_on_backpressure(self, value):
|
|
484
|
-
if isinstance(value, str):
|
|
485
|
-
try:
|
|
486
|
-
return models.OutputCrowdstrikeNextGenSiemBackpressureBehavior(value)
|
|
487
|
-
except ValueError:
|
|
488
|
-
return value
|
|
489
|
-
return value
|
|
490
|
-
|
|
491
|
-
@field_serializer("pq_mode")
|
|
492
|
-
def serialize_pq_mode(self, value):
|
|
493
|
-
if isinstance(value, str):
|
|
494
|
-
try:
|
|
495
|
-
return models.OutputCrowdstrikeNextGenSiemMode(value)
|
|
496
|
-
except ValueError:
|
|
497
|
-
return value
|
|
498
|
-
return value
|
|
499
|
-
|
|
500
|
-
@field_serializer("pq_compress")
|
|
501
|
-
def serialize_pq_compress(self, value):
|
|
502
|
-
if isinstance(value, str):
|
|
503
|
-
try:
|
|
504
|
-
return models.OutputCrowdstrikeNextGenSiemCompression(value)
|
|
505
|
-
except ValueError:
|
|
506
|
-
return value
|
|
507
|
-
return value
|
|
508
|
-
|
|
509
|
-
@field_serializer("pq_on_backpressure")
|
|
510
|
-
def serialize_pq_on_backpressure(self, value):
|
|
511
|
-
if isinstance(value, str):
|
|
512
|
-
try:
|
|
513
|
-
return models.OutputCrowdstrikeNextGenSiemQueueFullBehavior(value)
|
|
514
|
-
except ValueError:
|
|
515
|
-
return value
|
|
516
|
-
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
|
|
@@ -417,66 +416,3 @@ class OutputDatabricks(BaseModel):
|
|
|
417
416
|
|
|
418
417
|
max_retry_num: Annotated[Optional[float], pydantic.Field(alias="maxRetryNum")] = 20
|
|
419
418
|
r"""The maximum number of times a file will attempt to move to its final destination before being dead-lettered"""
|
|
420
|
-
|
|
421
|
-
@field_serializer("format_")
|
|
422
|
-
def serialize_format_(self, value):
|
|
423
|
-
if isinstance(value, str):
|
|
424
|
-
try:
|
|
425
|
-
return models.OutputDatabricksDataFormat(value)
|
|
426
|
-
except ValueError:
|
|
427
|
-
return value
|
|
428
|
-
return value
|
|
429
|
-
|
|
430
|
-
@field_serializer("on_backpressure")
|
|
431
|
-
def serialize_on_backpressure(self, value):
|
|
432
|
-
if isinstance(value, str):
|
|
433
|
-
try:
|
|
434
|
-
return models.OutputDatabricksBackpressureBehavior(value)
|
|
435
|
-
except ValueError:
|
|
436
|
-
return value
|
|
437
|
-
return value
|
|
438
|
-
|
|
439
|
-
@field_serializer("on_disk_full_backpressure")
|
|
440
|
-
def serialize_on_disk_full_backpressure(self, value):
|
|
441
|
-
if isinstance(value, str):
|
|
442
|
-
try:
|
|
443
|
-
return models.OutputDatabricksDiskSpaceProtection(value)
|
|
444
|
-
except ValueError:
|
|
445
|
-
return value
|
|
446
|
-
return value
|
|
447
|
-
|
|
448
|
-
@field_serializer("compress")
|
|
449
|
-
def serialize_compress(self, value):
|
|
450
|
-
if isinstance(value, str):
|
|
451
|
-
try:
|
|
452
|
-
return models.OutputDatabricksCompression(value)
|
|
453
|
-
except ValueError:
|
|
454
|
-
return value
|
|
455
|
-
return value
|
|
456
|
-
|
|
457
|
-
@field_serializer("compression_level")
|
|
458
|
-
def serialize_compression_level(self, value):
|
|
459
|
-
if isinstance(value, str):
|
|
460
|
-
try:
|
|
461
|
-
return models.OutputDatabricksCompressionLevel(value)
|
|
462
|
-
except ValueError:
|
|
463
|
-
return value
|
|
464
|
-
return value
|
|
465
|
-
|
|
466
|
-
@field_serializer("parquet_version")
|
|
467
|
-
def serialize_parquet_version(self, value):
|
|
468
|
-
if isinstance(value, str):
|
|
469
|
-
try:
|
|
470
|
-
return models.OutputDatabricksParquetVersion(value)
|
|
471
|
-
except ValueError:
|
|
472
|
-
return value
|
|
473
|
-
return value
|
|
474
|
-
|
|
475
|
-
@field_serializer("parquet_data_page_version")
|
|
476
|
-
def serialize_parquet_data_page_version(self, value):
|
|
477
|
-
if isinstance(value, str):
|
|
478
|
-
try:
|
|
479
|
-
return models.OutputDatabricksDataPageVersion(value)
|
|
480
|
-
except ValueError:
|
|
481
|
-
return value
|
|
482
|
-
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
|
|
@@ -529,84 +528,3 @@ class OutputDatadog(BaseModel):
|
|
|
529
528
|
|
|
530
529
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
531
530
|
r"""Select or create a stored text secret"""
|
|
532
|
-
|
|
533
|
-
@field_serializer("content_type")
|
|
534
|
-
def serialize_content_type(self, value):
|
|
535
|
-
if isinstance(value, str):
|
|
536
|
-
try:
|
|
537
|
-
return models.SendLogsAs(value)
|
|
538
|
-
except ValueError:
|
|
539
|
-
return value
|
|
540
|
-
return value
|
|
541
|
-
|
|
542
|
-
@field_serializer("severity")
|
|
543
|
-
def serialize_severity(self, value):
|
|
544
|
-
if isinstance(value, str):
|
|
545
|
-
try:
|
|
546
|
-
return models.OutputDatadogSeverity(value)
|
|
547
|
-
except ValueError:
|
|
548
|
-
return value
|
|
549
|
-
return value
|
|
550
|
-
|
|
551
|
-
@field_serializer("site")
|
|
552
|
-
def serialize_site(self, value):
|
|
553
|
-
if isinstance(value, str):
|
|
554
|
-
try:
|
|
555
|
-
return models.DatadogSite(value)
|
|
556
|
-
except ValueError:
|
|
557
|
-
return value
|
|
558
|
-
return value
|
|
559
|
-
|
|
560
|
-
@field_serializer("failed_request_logging_mode")
|
|
561
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
562
|
-
if isinstance(value, str):
|
|
563
|
-
try:
|
|
564
|
-
return models.OutputDatadogFailedRequestLoggingMode(value)
|
|
565
|
-
except ValueError:
|
|
566
|
-
return value
|
|
567
|
-
return value
|
|
568
|
-
|
|
569
|
-
@field_serializer("on_backpressure")
|
|
570
|
-
def serialize_on_backpressure(self, value):
|
|
571
|
-
if isinstance(value, str):
|
|
572
|
-
try:
|
|
573
|
-
return models.OutputDatadogBackpressureBehavior(value)
|
|
574
|
-
except ValueError:
|
|
575
|
-
return value
|
|
576
|
-
return value
|
|
577
|
-
|
|
578
|
-
@field_serializer("auth_type")
|
|
579
|
-
def serialize_auth_type(self, value):
|
|
580
|
-
if isinstance(value, str):
|
|
581
|
-
try:
|
|
582
|
-
return models.OutputDatadogAuthenticationMethod(value)
|
|
583
|
-
except ValueError:
|
|
584
|
-
return value
|
|
585
|
-
return value
|
|
586
|
-
|
|
587
|
-
@field_serializer("pq_mode")
|
|
588
|
-
def serialize_pq_mode(self, value):
|
|
589
|
-
if isinstance(value, str):
|
|
590
|
-
try:
|
|
591
|
-
return models.OutputDatadogMode(value)
|
|
592
|
-
except ValueError:
|
|
593
|
-
return value
|
|
594
|
-
return value
|
|
595
|
-
|
|
596
|
-
@field_serializer("pq_compress")
|
|
597
|
-
def serialize_pq_compress(self, value):
|
|
598
|
-
if isinstance(value, str):
|
|
599
|
-
try:
|
|
600
|
-
return models.OutputDatadogCompression(value)
|
|
601
|
-
except ValueError:
|
|
602
|
-
return value
|
|
603
|
-
return value
|
|
604
|
-
|
|
605
|
-
@field_serializer("pq_on_backpressure")
|
|
606
|
-
def serialize_pq_on_backpressure(self, value):
|
|
607
|
-
if isinstance(value, str):
|
|
608
|
-
try:
|
|
609
|
-
return models.OutputDatadogQueueFullBehavior(value)
|
|
610
|
-
except ValueError:
|
|
611
|
-
return value
|
|
612
|
-
return value
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -487,75 +486,3 @@ class OutputDataset(BaseModel):
|
|
|
487
486
|
|
|
488
487
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
489
488
|
r"""Select or create a stored text secret"""
|
|
490
|
-
|
|
491
|
-
@field_serializer("default_severity")
|
|
492
|
-
def serialize_default_severity(self, value):
|
|
493
|
-
if isinstance(value, str):
|
|
494
|
-
try:
|
|
495
|
-
return models.OutputDatasetSeverity(value)
|
|
496
|
-
except ValueError:
|
|
497
|
-
return value
|
|
498
|
-
return value
|
|
499
|
-
|
|
500
|
-
@field_serializer("site")
|
|
501
|
-
def serialize_site(self, value):
|
|
502
|
-
if isinstance(value, str):
|
|
503
|
-
try:
|
|
504
|
-
return models.DataSetSite(value)
|
|
505
|
-
except ValueError:
|
|
506
|
-
return value
|
|
507
|
-
return value
|
|
508
|
-
|
|
509
|
-
@field_serializer("failed_request_logging_mode")
|
|
510
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
511
|
-
if isinstance(value, str):
|
|
512
|
-
try:
|
|
513
|
-
return models.OutputDatasetFailedRequestLoggingMode(value)
|
|
514
|
-
except ValueError:
|
|
515
|
-
return value
|
|
516
|
-
return value
|
|
517
|
-
|
|
518
|
-
@field_serializer("on_backpressure")
|
|
519
|
-
def serialize_on_backpressure(self, value):
|
|
520
|
-
if isinstance(value, str):
|
|
521
|
-
try:
|
|
522
|
-
return models.OutputDatasetBackpressureBehavior(value)
|
|
523
|
-
except ValueError:
|
|
524
|
-
return value
|
|
525
|
-
return value
|
|
526
|
-
|
|
527
|
-
@field_serializer("auth_type")
|
|
528
|
-
def serialize_auth_type(self, value):
|
|
529
|
-
if isinstance(value, str):
|
|
530
|
-
try:
|
|
531
|
-
return models.OutputDatasetAuthenticationMethod(value)
|
|
532
|
-
except ValueError:
|
|
533
|
-
return value
|
|
534
|
-
return value
|
|
535
|
-
|
|
536
|
-
@field_serializer("pq_mode")
|
|
537
|
-
def serialize_pq_mode(self, value):
|
|
538
|
-
if isinstance(value, str):
|
|
539
|
-
try:
|
|
540
|
-
return models.OutputDatasetMode(value)
|
|
541
|
-
except ValueError:
|
|
542
|
-
return value
|
|
543
|
-
return value
|
|
544
|
-
|
|
545
|
-
@field_serializer("pq_compress")
|
|
546
|
-
def serialize_pq_compress(self, value):
|
|
547
|
-
if isinstance(value, str):
|
|
548
|
-
try:
|
|
549
|
-
return models.OutputDatasetCompression(value)
|
|
550
|
-
except ValueError:
|
|
551
|
-
return value
|
|
552
|
-
return value
|
|
553
|
-
|
|
554
|
-
@field_serializer("pq_on_backpressure")
|
|
555
|
-
def serialize_pq_on_backpressure(self, value):
|
|
556
|
-
if isinstance(value, str):
|
|
557
|
-
try:
|
|
558
|
-
return models.OutputDatasetQueueFullBehavior(value)
|
|
559
|
-
except ValueError:
|
|
560
|
-
return value
|
|
561
|
-
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
|
|
@@ -88,12 +87,3 @@ class OutputDiskSpool(BaseModel):
|
|
|
88
87
|
r"""JavaScript expression defining how files are partitioned and organized within the time-buckets. If blank, the event's __partition property is used and otherwise, events go directly into the time-bucket directory."""
|
|
89
88
|
|
|
90
89
|
description: Optional[str] = None
|
|
91
|
-
|
|
92
|
-
@field_serializer("compress")
|
|
93
|
-
def serialize_compress(self, value):
|
|
94
|
-
if isinstance(value, str):
|
|
95
|
-
try:
|
|
96
|
-
return models.OutputDiskSpoolCompression(value)
|
|
97
|
-
except ValueError:
|
|
98
|
-
return value
|
|
99
|
-
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
|
|
@@ -599,111 +598,3 @@ class OutputDlS3(BaseModel):
|
|
|
599
598
|
|
|
600
599
|
max_retry_num: Annotated[Optional[float], pydantic.Field(alias="maxRetryNum")] = 20
|
|
601
600
|
r"""The maximum number of times a file will attempt to move to its final destination before being dead-lettered"""
|
|
602
|
-
|
|
603
|
-
@field_serializer("aws_authentication_method")
|
|
604
|
-
def serialize_aws_authentication_method(self, value):
|
|
605
|
-
if isinstance(value, str):
|
|
606
|
-
try:
|
|
607
|
-
return models.OutputDlS3AuthenticationMethod(value)
|
|
608
|
-
except ValueError:
|
|
609
|
-
return value
|
|
610
|
-
return value
|
|
611
|
-
|
|
612
|
-
@field_serializer("signature_version")
|
|
613
|
-
def serialize_signature_version(self, value):
|
|
614
|
-
if isinstance(value, str):
|
|
615
|
-
try:
|
|
616
|
-
return models.OutputDlS3SignatureVersion(value)
|
|
617
|
-
except ValueError:
|
|
618
|
-
return value
|
|
619
|
-
return value
|
|
620
|
-
|
|
621
|
-
@field_serializer("object_acl")
|
|
622
|
-
def serialize_object_acl(self, value):
|
|
623
|
-
if isinstance(value, str):
|
|
624
|
-
try:
|
|
625
|
-
return models.OutputDlS3ObjectACL(value)
|
|
626
|
-
except ValueError:
|
|
627
|
-
return value
|
|
628
|
-
return value
|
|
629
|
-
|
|
630
|
-
@field_serializer("storage_class")
|
|
631
|
-
def serialize_storage_class(self, value):
|
|
632
|
-
if isinstance(value, str):
|
|
633
|
-
try:
|
|
634
|
-
return models.OutputDlS3StorageClass(value)
|
|
635
|
-
except ValueError:
|
|
636
|
-
return value
|
|
637
|
-
return value
|
|
638
|
-
|
|
639
|
-
@field_serializer("server_side_encryption")
|
|
640
|
-
def serialize_server_side_encryption(self, value):
|
|
641
|
-
if isinstance(value, str):
|
|
642
|
-
try:
|
|
643
|
-
return models.OutputDlS3ServerSideEncryptionForUploadedObjects(value)
|
|
644
|
-
except ValueError:
|
|
645
|
-
return value
|
|
646
|
-
return value
|
|
647
|
-
|
|
648
|
-
@field_serializer("format_")
|
|
649
|
-
def serialize_format_(self, value):
|
|
650
|
-
if isinstance(value, str):
|
|
651
|
-
try:
|
|
652
|
-
return models.OutputDlS3DataFormat(value)
|
|
653
|
-
except ValueError:
|
|
654
|
-
return value
|
|
655
|
-
return value
|
|
656
|
-
|
|
657
|
-
@field_serializer("on_backpressure")
|
|
658
|
-
def serialize_on_backpressure(self, value):
|
|
659
|
-
if isinstance(value, str):
|
|
660
|
-
try:
|
|
661
|
-
return models.OutputDlS3BackpressureBehavior(value)
|
|
662
|
-
except ValueError:
|
|
663
|
-
return value
|
|
664
|
-
return value
|
|
665
|
-
|
|
666
|
-
@field_serializer("on_disk_full_backpressure")
|
|
667
|
-
def serialize_on_disk_full_backpressure(self, value):
|
|
668
|
-
if isinstance(value, str):
|
|
669
|
-
try:
|
|
670
|
-
return models.OutputDlS3DiskSpaceProtection(value)
|
|
671
|
-
except ValueError:
|
|
672
|
-
return value
|
|
673
|
-
return value
|
|
674
|
-
|
|
675
|
-
@field_serializer("compress")
|
|
676
|
-
def serialize_compress(self, value):
|
|
677
|
-
if isinstance(value, str):
|
|
678
|
-
try:
|
|
679
|
-
return models.OutputDlS3Compression(value)
|
|
680
|
-
except ValueError:
|
|
681
|
-
return value
|
|
682
|
-
return value
|
|
683
|
-
|
|
684
|
-
@field_serializer("compression_level")
|
|
685
|
-
def serialize_compression_level(self, value):
|
|
686
|
-
if isinstance(value, str):
|
|
687
|
-
try:
|
|
688
|
-
return models.OutputDlS3CompressionLevel(value)
|
|
689
|
-
except ValueError:
|
|
690
|
-
return value
|
|
691
|
-
return value
|
|
692
|
-
|
|
693
|
-
@field_serializer("parquet_version")
|
|
694
|
-
def serialize_parquet_version(self, value):
|
|
695
|
-
if isinstance(value, str):
|
|
696
|
-
try:
|
|
697
|
-
return models.OutputDlS3ParquetVersion(value)
|
|
698
|
-
except ValueError:
|
|
699
|
-
return value
|
|
700
|
-
return value
|
|
701
|
-
|
|
702
|
-
@field_serializer("parquet_data_page_version")
|
|
703
|
-
def serialize_parquet_data_page_version(self, value):
|
|
704
|
-
if isinstance(value, str):
|
|
705
|
-
try:
|
|
706
|
-
return models.OutputDlS3DataPageVersion(value)
|
|
707
|
-
except ValueError:
|
|
708
|
-
return value
|
|
709
|
-
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
|
|
@@ -501,93 +500,3 @@ class OutputDynatraceHTTP(BaseModel):
|
|
|
501
500
|
|
|
502
501
|
url: Optional[str] = None
|
|
503
502
|
r"""URL to send events to. Can be overwritten by an event's __url field."""
|
|
504
|
-
|
|
505
|
-
@field_serializer("method")
|
|
506
|
-
def serialize_method(self, value):
|
|
507
|
-
if isinstance(value, str):
|
|
508
|
-
try:
|
|
509
|
-
return models.OutputDynatraceHTTPMethod(value)
|
|
510
|
-
except ValueError:
|
|
511
|
-
return value
|
|
512
|
-
return value
|
|
513
|
-
|
|
514
|
-
@field_serializer("failed_request_logging_mode")
|
|
515
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
516
|
-
if isinstance(value, str):
|
|
517
|
-
try:
|
|
518
|
-
return models.OutputDynatraceHTTPFailedRequestLoggingMode(value)
|
|
519
|
-
except ValueError:
|
|
520
|
-
return value
|
|
521
|
-
return value
|
|
522
|
-
|
|
523
|
-
@field_serializer("on_backpressure")
|
|
524
|
-
def serialize_on_backpressure(self, value):
|
|
525
|
-
if isinstance(value, str):
|
|
526
|
-
try:
|
|
527
|
-
return models.OutputDynatraceHTTPBackpressureBehavior(value)
|
|
528
|
-
except ValueError:
|
|
529
|
-
return value
|
|
530
|
-
return value
|
|
531
|
-
|
|
532
|
-
@field_serializer("auth_type")
|
|
533
|
-
def serialize_auth_type(self, value):
|
|
534
|
-
if isinstance(value, str):
|
|
535
|
-
try:
|
|
536
|
-
return models.OutputDynatraceHTTPAuthenticationType(value)
|
|
537
|
-
except ValueError:
|
|
538
|
-
return value
|
|
539
|
-
return value
|
|
540
|
-
|
|
541
|
-
@field_serializer("format_")
|
|
542
|
-
def serialize_format_(self, value):
|
|
543
|
-
if isinstance(value, str):
|
|
544
|
-
try:
|
|
545
|
-
return models.OutputDynatraceHTTPFormat(value)
|
|
546
|
-
except ValueError:
|
|
547
|
-
return value
|
|
548
|
-
return value
|
|
549
|
-
|
|
550
|
-
@field_serializer("endpoint")
|
|
551
|
-
def serialize_endpoint(self, value):
|
|
552
|
-
if isinstance(value, str):
|
|
553
|
-
try:
|
|
554
|
-
return models.Endpoint(value)
|
|
555
|
-
except ValueError:
|
|
556
|
-
return value
|
|
557
|
-
return value
|
|
558
|
-
|
|
559
|
-
@field_serializer("telemetry_type")
|
|
560
|
-
def serialize_telemetry_type(self, value):
|
|
561
|
-
if isinstance(value, str):
|
|
562
|
-
try:
|
|
563
|
-
return models.TelemetryType(value)
|
|
564
|
-
except ValueError:
|
|
565
|
-
return value
|
|
566
|
-
return value
|
|
567
|
-
|
|
568
|
-
@field_serializer("pq_mode")
|
|
569
|
-
def serialize_pq_mode(self, value):
|
|
570
|
-
if isinstance(value, str):
|
|
571
|
-
try:
|
|
572
|
-
return models.OutputDynatraceHTTPMode(value)
|
|
573
|
-
except ValueError:
|
|
574
|
-
return value
|
|
575
|
-
return value
|
|
576
|
-
|
|
577
|
-
@field_serializer("pq_compress")
|
|
578
|
-
def serialize_pq_compress(self, value):
|
|
579
|
-
if isinstance(value, str):
|
|
580
|
-
try:
|
|
581
|
-
return models.OutputDynatraceHTTPCompression(value)
|
|
582
|
-
except ValueError:
|
|
583
|
-
return value
|
|
584
|
-
return value
|
|
585
|
-
|
|
586
|
-
@field_serializer("pq_on_backpressure")
|
|
587
|
-
def serialize_pq_on_backpressure(self, value):
|
|
588
|
-
if isinstance(value, str):
|
|
589
|
-
try:
|
|
590
|
-
return models.OutputDynatraceHTTPQueueFullBehavior(value)
|
|
591
|
-
except ValueError:
|
|
592
|
-
return value
|
|
593
|
-
return value
|