cribl-control-plane 0.3.0b4__py3-none-any.whl → 0.3.0b5__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 +3 -3
- cribl_control_plane/models/cacheconnection.py +20 -0
- cribl_control_plane/models/configgroup.py +20 -1
- cribl_control_plane/models/configgroupcloud.py +11 -1
- cribl_control_plane/models/createconfiggroupbyproductop.py +11 -0
- cribl_control_plane/models/cribllakedataset.py +11 -1
- cribl_control_plane/models/cribllakedatasetupdate.py +11 -1
- cribl_control_plane/models/datasetmetadata.py +11 -1
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +11 -0
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +20 -0
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +20 -0
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +11 -0
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +11 -0
- cribl_control_plane/models/getsummaryop.py +11 -0
- cribl_control_plane/models/groupcreaterequest.py +20 -1
- cribl_control_plane/models/hbcriblinfo.py +11 -1
- cribl_control_plane/models/healthserverstatus.py +20 -1
- cribl_control_plane/models/inputappscope.py +56 -1
- cribl_control_plane/models/inputazureblob.py +29 -1
- cribl_control_plane/models/inputcollection.py +20 -1
- cribl_control_plane/models/inputconfluentcloud.py +78 -1
- cribl_control_plane/models/inputcribl.py +20 -1
- cribl_control_plane/models/inputcriblhttp.py +38 -1
- cribl_control_plane/models/inputcribllakehttp.py +38 -1
- cribl_control_plane/models/inputcriblmetrics.py +20 -1
- cribl_control_plane/models/inputcribltcp.py +38 -1
- cribl_control_plane/models/inputcrowdstrike.py +47 -1
- cribl_control_plane/models/inputdatadogagent.py +38 -1
- cribl_control_plane/models/inputdatagen.py +20 -1
- cribl_control_plane/models/inputedgeprometheus.py +94 -1
- cribl_control_plane/models/inputelastic.py +65 -1
- cribl_control_plane/models/inputeventhub.py +58 -1
- cribl_control_plane/models/inputexec.py +29 -1
- cribl_control_plane/models/inputfile.py +29 -1
- cribl_control_plane/models/inputfirehose.py +38 -1
- cribl_control_plane/models/inputgooglepubsub.py +29 -1
- cribl_control_plane/models/inputgrafana.py +110 -1
- cribl_control_plane/models/inputhttp.py +38 -1
- cribl_control_plane/models/inputhttpraw.py +38 -1
- cribl_control_plane/models/inputjournalfiles.py +20 -1
- cribl_control_plane/models/inputkafka.py +74 -1
- cribl_control_plane/models/inputkinesis.py +65 -1
- cribl_control_plane/models/inputkubeevents.py +20 -1
- cribl_control_plane/models/inputkubelogs.py +29 -1
- cribl_control_plane/models/inputkubemetrics.py +29 -1
- cribl_control_plane/models/inputloki.py +47 -1
- cribl_control_plane/models/inputmetrics.py +38 -1
- cribl_control_plane/models/inputmodeldriventelemetry.py +38 -1
- cribl_control_plane/models/inputmsk.py +74 -1
- cribl_control_plane/models/inputnetflow.py +20 -1
- cribl_control_plane/models/inputoffice365mgmt.py +56 -1
- cribl_control_plane/models/inputoffice365msgtrace.py +56 -1
- cribl_control_plane/models/inputoffice365service.py +56 -1
- cribl_control_plane/models/inputopentelemetry.py +65 -1
- cribl_control_plane/models/inputprometheus.py +87 -1
- cribl_control_plane/models/inputprometheusrw.py +47 -1
- cribl_control_plane/models/inputrawudp.py +20 -1
- cribl_control_plane/models/inputs3.py +38 -1
- cribl_control_plane/models/inputs3inventory.py +47 -1
- cribl_control_plane/models/inputsecuritylake.py +47 -1
- cribl_control_plane/models/inputsnmp.py +29 -1
- cribl_control_plane/models/inputsplunk.py +56 -1
- cribl_control_plane/models/inputsplunkhec.py +47 -1
- cribl_control_plane/models/inputsplunksearch.py +56 -1
- cribl_control_plane/models/inputsqs.py +47 -1
- cribl_control_plane/models/inputsyslog.py +74 -1
- cribl_control_plane/models/inputsystemmetrics.py +92 -1
- cribl_control_plane/models/inputsystemstate.py +29 -1
- cribl_control_plane/models/inputtcp.py +47 -1
- cribl_control_plane/models/inputtcpjson.py +47 -1
- cribl_control_plane/models/inputwef.py +65 -1
- cribl_control_plane/models/inputwindowsmetrics.py +83 -1
- cribl_control_plane/models/inputwineventlogs.py +38 -1
- cribl_control_plane/models/inputwiz.py +38 -1
- cribl_control_plane/models/inputwizwebhook.py +38 -1
- cribl_control_plane/models/inputzscalerhec.py +47 -1
- cribl_control_plane/models/listconfiggroupbyproductop.py +11 -0
- cribl_control_plane/models/masterworkerentry.py +11 -1
- cribl_control_plane/models/nodeupgradestatus.py +38 -0
- cribl_control_plane/models/outputazureblob.py +83 -1
- cribl_control_plane/models/outputazuredataexplorer.py +148 -1
- cribl_control_plane/models/outputazureeventhub.py +98 -1
- cribl_control_plane/models/outputazurelogs.py +56 -1
- cribl_control_plane/models/outputchronicle.py +56 -1
- cribl_control_plane/models/outputclickhouse.py +92 -1
- cribl_control_plane/models/outputcloudwatch.py +47 -1
- cribl_control_plane/models/outputconfluentcloud.py +123 -1
- cribl_control_plane/models/outputcriblhttp.py +74 -1
- cribl_control_plane/models/outputcribllake.py +76 -1
- cribl_control_plane/models/outputcribltcp.py +74 -1
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +67 -1
- cribl_control_plane/models/outputdatabricks.py +65 -1
- cribl_control_plane/models/outputdatadog.py +83 -1
- cribl_control_plane/models/outputdataset.py +74 -1
- cribl_control_plane/models/outputdiskspool.py +11 -1
- cribl_control_plane/models/outputdls3.py +110 -1
- cribl_control_plane/models/outputdynatracehttp.py +92 -1
- cribl_control_plane/models/outputdynatraceotlp.py +92 -1
- cribl_control_plane/models/outputelastic.py +74 -1
- cribl_control_plane/models/outputelasticcloud.py +56 -1
- cribl_control_plane/models/outputexabeam.py +47 -1
- cribl_control_plane/models/outputfilesystem.py +65 -1
- cribl_control_plane/models/outputgooglechronicle.py +83 -1
- cribl_control_plane/models/outputgooglecloudlogging.py +65 -1
- cribl_control_plane/models/outputgooglecloudstorage.py +101 -1
- cribl_control_plane/models/outputgooglepubsub.py +47 -1
- cribl_control_plane/models/outputgrafanacloud.py +146 -1
- cribl_control_plane/models/outputgraphite.py +47 -1
- cribl_control_plane/models/outputhoneycomb.py +56 -1
- cribl_control_plane/models/outputhumiohec.py +65 -1
- cribl_control_plane/models/outputinfluxdb.py +65 -1
- cribl_control_plane/models/outputkafka.py +119 -1
- cribl_control_plane/models/outputkinesis.py +65 -1
- cribl_control_plane/models/outputloki.py +65 -1
- cribl_control_plane/models/outputminio.py +110 -1
- cribl_control_plane/models/outputmsk.py +119 -1
- cribl_control_plane/models/outputnewrelic.py +74 -1
- cribl_control_plane/models/outputnewrelicevents.py +65 -1
- cribl_control_plane/models/outputopentelemetry.py +110 -1
- cribl_control_plane/models/outputprometheus.py +56 -1
- cribl_control_plane/models/outputring.py +29 -1
- cribl_control_plane/models/outputs3.py +110 -1
- cribl_control_plane/models/outputsecuritylake.py +85 -1
- cribl_control_plane/models/outputsentinel.py +74 -1
- cribl_control_plane/models/outputsentineloneaisiem.py +74 -1
- cribl_control_plane/models/outputservicenow.py +101 -1
- cribl_control_plane/models/outputsignalfx.py +56 -1
- cribl_control_plane/models/outputsns.py +56 -1
- cribl_control_plane/models/outputsplunk.py +92 -1
- cribl_control_plane/models/outputsplunkhec.py +74 -1
- cribl_control_plane/models/outputsplunklb.py +121 -1
- cribl_control_plane/models/outputsqs.py +65 -1
- cribl_control_plane/models/outputstatsd.py +47 -1
- cribl_control_plane/models/outputstatsdext.py +47 -1
- cribl_control_plane/models/outputsumologic.py +56 -1
- cribl_control_plane/models/outputsyslog.py +110 -1
- cribl_control_plane/models/outputtcpjson.py +83 -1
- cribl_control_plane/models/outputwavefront.py +56 -1
- cribl_control_plane/models/outputwebhook.py +92 -1
- cribl_control_plane/models/outputxsiam.py +56 -1
- cribl_control_plane/models/resourcepolicy.py +11 -0
- cribl_control_plane/models/runnablejobcollection.py +56 -1
- cribl_control_plane/models/runnablejobexecutor.py +20 -1
- cribl_control_plane/models/runnablejobscheduledsearch.py +11 -1
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +11 -0
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +11 -0
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b5.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b5.dist-info}/RECORD +149 -149
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b5.dist-info}/WHEEL +0 -0
|
@@ -5,8 +5,10 @@ from .nodeactiveupgradestatus import NodeActiveUpgradeStatus
|
|
|
5
5
|
from .nodefailedupgradestatus import NodeFailedUpgradeStatus
|
|
6
6
|
from .nodeskippedupgradestatus import NodeSkippedUpgradeStatus
|
|
7
7
|
from .nodeupgradestate import NodeUpgradeState
|
|
8
|
+
from cribl_control_plane import models
|
|
8
9
|
from cribl_control_plane.types import BaseModel
|
|
9
10
|
from cribl_control_plane.utils import validate_open_enum
|
|
11
|
+
from pydantic import field_serializer
|
|
10
12
|
from pydantic.functional_validators import PlainValidator
|
|
11
13
|
from typing import Optional
|
|
12
14
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -36,3 +38,39 @@ class NodeUpgradeStatus(BaseModel):
|
|
|
36
38
|
skipped: Annotated[
|
|
37
39
|
Optional[NodeSkippedUpgradeStatus], PlainValidator(validate_open_enum(True))
|
|
38
40
|
] = None
|
|
41
|
+
|
|
42
|
+
@field_serializer("active")
|
|
43
|
+
def serialize_active(self, value):
|
|
44
|
+
if isinstance(value, str):
|
|
45
|
+
try:
|
|
46
|
+
return models.NodeActiveUpgradeStatus(value)
|
|
47
|
+
except ValueError:
|
|
48
|
+
return value
|
|
49
|
+
return value
|
|
50
|
+
|
|
51
|
+
@field_serializer("failed")
|
|
52
|
+
def serialize_failed(self, value):
|
|
53
|
+
if isinstance(value, str):
|
|
54
|
+
try:
|
|
55
|
+
return models.NodeFailedUpgradeStatus(value)
|
|
56
|
+
except ValueError:
|
|
57
|
+
return value
|
|
58
|
+
return value
|
|
59
|
+
|
|
60
|
+
@field_serializer("skipped")
|
|
61
|
+
def serialize_skipped(self, value):
|
|
62
|
+
if isinstance(value, str):
|
|
63
|
+
try:
|
|
64
|
+
return models.NodeSkippedUpgradeStatus(value)
|
|
65
|
+
except ValueError:
|
|
66
|
+
return value
|
|
67
|
+
return value
|
|
68
|
+
|
|
69
|
+
@field_serializer("state")
|
|
70
|
+
def serialize_state(self, value):
|
|
71
|
+
if isinstance(value, str):
|
|
72
|
+
try:
|
|
73
|
+
return models.NodeUpgradeState(value)
|
|
74
|
+
except ValueError:
|
|
75
|
+
return value
|
|
76
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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 utils
|
|
4
|
+
from cribl_control_plane import models, 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
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -494,3 +495,84 @@ class OutputAzureBlob(BaseModel):
|
|
|
494
495
|
r"""Select or create a stored text secret"""
|
|
495
496
|
|
|
496
497
|
certificate: Optional[OutputAzureBlobCertificate] = None
|
|
498
|
+
|
|
499
|
+
@field_serializer("format_")
|
|
500
|
+
def serialize_format_(self, value):
|
|
501
|
+
if isinstance(value, str):
|
|
502
|
+
try:
|
|
503
|
+
return models.OutputAzureBlobDataFormat(value)
|
|
504
|
+
except ValueError:
|
|
505
|
+
return value
|
|
506
|
+
return value
|
|
507
|
+
|
|
508
|
+
@field_serializer("on_backpressure")
|
|
509
|
+
def serialize_on_backpressure(self, value):
|
|
510
|
+
if isinstance(value, str):
|
|
511
|
+
try:
|
|
512
|
+
return models.OutputAzureBlobBackpressureBehavior(value)
|
|
513
|
+
except ValueError:
|
|
514
|
+
return value
|
|
515
|
+
return value
|
|
516
|
+
|
|
517
|
+
@field_serializer("on_disk_full_backpressure")
|
|
518
|
+
def serialize_on_disk_full_backpressure(self, value):
|
|
519
|
+
if isinstance(value, str):
|
|
520
|
+
try:
|
|
521
|
+
return models.OutputAzureBlobDiskSpaceProtection(value)
|
|
522
|
+
except ValueError:
|
|
523
|
+
return value
|
|
524
|
+
return value
|
|
525
|
+
|
|
526
|
+
@field_serializer("auth_type")
|
|
527
|
+
def serialize_auth_type(self, value):
|
|
528
|
+
if isinstance(value, str):
|
|
529
|
+
try:
|
|
530
|
+
return models.OutputAzureBlobAuthenticationMethod(value)
|
|
531
|
+
except ValueError:
|
|
532
|
+
return value
|
|
533
|
+
return value
|
|
534
|
+
|
|
535
|
+
@field_serializer("storage_class")
|
|
536
|
+
def serialize_storage_class(self, value):
|
|
537
|
+
if isinstance(value, str):
|
|
538
|
+
try:
|
|
539
|
+
return models.BlobAccessTier(value)
|
|
540
|
+
except ValueError:
|
|
541
|
+
return value
|
|
542
|
+
return value
|
|
543
|
+
|
|
544
|
+
@field_serializer("compress")
|
|
545
|
+
def serialize_compress(self, value):
|
|
546
|
+
if isinstance(value, str):
|
|
547
|
+
try:
|
|
548
|
+
return models.OutputAzureBlobCompression(value)
|
|
549
|
+
except ValueError:
|
|
550
|
+
return value
|
|
551
|
+
return value
|
|
552
|
+
|
|
553
|
+
@field_serializer("compression_level")
|
|
554
|
+
def serialize_compression_level(self, value):
|
|
555
|
+
if isinstance(value, str):
|
|
556
|
+
try:
|
|
557
|
+
return models.OutputAzureBlobCompressionLevel(value)
|
|
558
|
+
except ValueError:
|
|
559
|
+
return value
|
|
560
|
+
return value
|
|
561
|
+
|
|
562
|
+
@field_serializer("parquet_version")
|
|
563
|
+
def serialize_parquet_version(self, value):
|
|
564
|
+
if isinstance(value, str):
|
|
565
|
+
try:
|
|
566
|
+
return models.OutputAzureBlobParquetVersion(value)
|
|
567
|
+
except ValueError:
|
|
568
|
+
return value
|
|
569
|
+
return value
|
|
570
|
+
|
|
571
|
+
@field_serializer("parquet_data_page_version")
|
|
572
|
+
def serialize_parquet_data_page_version(self, value):
|
|
573
|
+
if isinstance(value, str):
|
|
574
|
+
try:
|
|
575
|
+
return models.OutputAzureBlobDataPageVersion(value)
|
|
576
|
+
except ValueError:
|
|
577
|
+
return value
|
|
578
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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 utils
|
|
4
|
+
from cribl_control_plane import models, 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
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -162,6 +163,15 @@ class ExtentTag(BaseModel):
|
|
|
162
163
|
Optional[PrefixOptional], PlainValidator(validate_open_enum(False))
|
|
163
164
|
] = None
|
|
164
165
|
|
|
166
|
+
@field_serializer("prefix")
|
|
167
|
+
def serialize_prefix(self, value):
|
|
168
|
+
if isinstance(value, str):
|
|
169
|
+
try:
|
|
170
|
+
return models.PrefixOptional(value)
|
|
171
|
+
except ValueError:
|
|
172
|
+
return value
|
|
173
|
+
return value
|
|
174
|
+
|
|
165
175
|
|
|
166
176
|
class IngestIfNotExistTypedDict(TypedDict):
|
|
167
177
|
value: str
|
|
@@ -881,3 +891,140 @@ class OutputAzureDataExplorer(BaseModel):
|
|
|
881
891
|
pq_controls: Annotated[
|
|
882
892
|
Optional[OutputAzureDataExplorerPqControls], pydantic.Field(alias="pqControls")
|
|
883
893
|
] = None
|
|
894
|
+
|
|
895
|
+
@field_serializer("ingest_mode")
|
|
896
|
+
def serialize_ingest_mode(self, value):
|
|
897
|
+
if isinstance(value, str):
|
|
898
|
+
try:
|
|
899
|
+
return models.IngestionMode(value)
|
|
900
|
+
except ValueError:
|
|
901
|
+
return value
|
|
902
|
+
return value
|
|
903
|
+
|
|
904
|
+
@field_serializer("oauth_endpoint")
|
|
905
|
+
def serialize_oauth_endpoint(self, value):
|
|
906
|
+
if isinstance(value, str):
|
|
907
|
+
try:
|
|
908
|
+
return models.OutputAzureDataExplorerMicrosoftEntraIDAuthenticationEndpoint(
|
|
909
|
+
value
|
|
910
|
+
)
|
|
911
|
+
except ValueError:
|
|
912
|
+
return value
|
|
913
|
+
return value
|
|
914
|
+
|
|
915
|
+
@field_serializer("oauth_type")
|
|
916
|
+
def serialize_oauth_type(self, value):
|
|
917
|
+
if isinstance(value, str):
|
|
918
|
+
try:
|
|
919
|
+
return models.OutputAzureDataExplorerAuthenticationMethod(value)
|
|
920
|
+
except ValueError:
|
|
921
|
+
return value
|
|
922
|
+
return value
|
|
923
|
+
|
|
924
|
+
@field_serializer("format_")
|
|
925
|
+
def serialize_format_(self, value):
|
|
926
|
+
if isinstance(value, str):
|
|
927
|
+
try:
|
|
928
|
+
return models.OutputAzureDataExplorerDataFormat(value)
|
|
929
|
+
except ValueError:
|
|
930
|
+
return value
|
|
931
|
+
return value
|
|
932
|
+
|
|
933
|
+
@field_serializer("compress")
|
|
934
|
+
def serialize_compress(self, value):
|
|
935
|
+
if isinstance(value, str):
|
|
936
|
+
try:
|
|
937
|
+
return models.OutputAzureDataExplorerCompressCompression(value)
|
|
938
|
+
except ValueError:
|
|
939
|
+
return value
|
|
940
|
+
return value
|
|
941
|
+
|
|
942
|
+
@field_serializer("compression_level")
|
|
943
|
+
def serialize_compression_level(self, value):
|
|
944
|
+
if isinstance(value, str):
|
|
945
|
+
try:
|
|
946
|
+
return models.OutputAzureDataExplorerCompressionLevel(value)
|
|
947
|
+
except ValueError:
|
|
948
|
+
return value
|
|
949
|
+
return value
|
|
950
|
+
|
|
951
|
+
@field_serializer("parquet_version")
|
|
952
|
+
def serialize_parquet_version(self, value):
|
|
953
|
+
if isinstance(value, str):
|
|
954
|
+
try:
|
|
955
|
+
return models.OutputAzureDataExplorerParquetVersion(value)
|
|
956
|
+
except ValueError:
|
|
957
|
+
return value
|
|
958
|
+
return value
|
|
959
|
+
|
|
960
|
+
@field_serializer("parquet_data_page_version")
|
|
961
|
+
def serialize_parquet_data_page_version(self, value):
|
|
962
|
+
if isinstance(value, str):
|
|
963
|
+
try:
|
|
964
|
+
return models.OutputAzureDataExplorerDataPageVersion(value)
|
|
965
|
+
except ValueError:
|
|
966
|
+
return value
|
|
967
|
+
return value
|
|
968
|
+
|
|
969
|
+
@field_serializer("on_backpressure")
|
|
970
|
+
def serialize_on_backpressure(self, value):
|
|
971
|
+
if isinstance(value, str):
|
|
972
|
+
try:
|
|
973
|
+
return models.OutputAzureDataExplorerBackpressureBehavior(value)
|
|
974
|
+
except ValueError:
|
|
975
|
+
return value
|
|
976
|
+
return value
|
|
977
|
+
|
|
978
|
+
@field_serializer("on_disk_full_backpressure")
|
|
979
|
+
def serialize_on_disk_full_backpressure(self, value):
|
|
980
|
+
if isinstance(value, str):
|
|
981
|
+
try:
|
|
982
|
+
return models.OutputAzureDataExplorerDiskSpaceProtection(value)
|
|
983
|
+
except ValueError:
|
|
984
|
+
return value
|
|
985
|
+
return value
|
|
986
|
+
|
|
987
|
+
@field_serializer("report_level")
|
|
988
|
+
def serialize_report_level(self, value):
|
|
989
|
+
if isinstance(value, str):
|
|
990
|
+
try:
|
|
991
|
+
return models.ReportLevel(value)
|
|
992
|
+
except ValueError:
|
|
993
|
+
return value
|
|
994
|
+
return value
|
|
995
|
+
|
|
996
|
+
@field_serializer("report_method")
|
|
997
|
+
def serialize_report_method(self, value):
|
|
998
|
+
if isinstance(value, str):
|
|
999
|
+
try:
|
|
1000
|
+
return models.ReportMethod(value)
|
|
1001
|
+
except ValueError:
|
|
1002
|
+
return value
|
|
1003
|
+
return value
|
|
1004
|
+
|
|
1005
|
+
@field_serializer("pq_mode")
|
|
1006
|
+
def serialize_pq_mode(self, value):
|
|
1007
|
+
if isinstance(value, str):
|
|
1008
|
+
try:
|
|
1009
|
+
return models.OutputAzureDataExplorerMode(value)
|
|
1010
|
+
except ValueError:
|
|
1011
|
+
return value
|
|
1012
|
+
return value
|
|
1013
|
+
|
|
1014
|
+
@field_serializer("pq_compress")
|
|
1015
|
+
def serialize_pq_compress(self, value):
|
|
1016
|
+
if isinstance(value, str):
|
|
1017
|
+
try:
|
|
1018
|
+
return models.OutputAzureDataExplorerPqCompressCompression(value)
|
|
1019
|
+
except ValueError:
|
|
1020
|
+
return value
|
|
1021
|
+
return value
|
|
1022
|
+
|
|
1023
|
+
@field_serializer("pq_on_backpressure")
|
|
1024
|
+
def serialize_pq_on_backpressure(self, value):
|
|
1025
|
+
if isinstance(value, str):
|
|
1026
|
+
try:
|
|
1027
|
+
return models.OutputAzureDataExplorerQueueFullBehavior(value)
|
|
1028
|
+
except ValueError:
|
|
1029
|
+
return value
|
|
1030
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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 utils
|
|
4
|
+
from cribl_control_plane import models, 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
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -179,6 +180,48 @@ class OutputAzureEventhubAuthentication(BaseModel):
|
|
|
179
180
|
scope: Optional[str] = None
|
|
180
181
|
r"""Scope to pass in the OAuth request parameter"""
|
|
181
182
|
|
|
183
|
+
@field_serializer("auth_type")
|
|
184
|
+
def serialize_auth_type(self, value):
|
|
185
|
+
if isinstance(value, str):
|
|
186
|
+
try:
|
|
187
|
+
return models.OutputAzureEventhubAuthTypeAuthenticationMethod(value)
|
|
188
|
+
except ValueError:
|
|
189
|
+
return value
|
|
190
|
+
return value
|
|
191
|
+
|
|
192
|
+
@field_serializer("mechanism")
|
|
193
|
+
def serialize_mechanism(self, value):
|
|
194
|
+
if isinstance(value, str):
|
|
195
|
+
try:
|
|
196
|
+
return models.OutputAzureEventhubSASLMechanism(value)
|
|
197
|
+
except ValueError:
|
|
198
|
+
return value
|
|
199
|
+
return value
|
|
200
|
+
|
|
201
|
+
@field_serializer("client_secret_auth_type")
|
|
202
|
+
def serialize_client_secret_auth_type(self, value):
|
|
203
|
+
if isinstance(value, str):
|
|
204
|
+
try:
|
|
205
|
+
return (
|
|
206
|
+
models.OutputAzureEventhubClientSecretAuthTypeAuthenticationMethod(
|
|
207
|
+
value
|
|
208
|
+
)
|
|
209
|
+
)
|
|
210
|
+
except ValueError:
|
|
211
|
+
return value
|
|
212
|
+
return value
|
|
213
|
+
|
|
214
|
+
@field_serializer("oauth_endpoint")
|
|
215
|
+
def serialize_oauth_endpoint(self, value):
|
|
216
|
+
if isinstance(value, str):
|
|
217
|
+
try:
|
|
218
|
+
return models.OutputAzureEventhubMicrosoftEntraIDAuthenticationEndpoint(
|
|
219
|
+
value
|
|
220
|
+
)
|
|
221
|
+
except ValueError:
|
|
222
|
+
return value
|
|
223
|
+
return value
|
|
224
|
+
|
|
182
225
|
|
|
183
226
|
class OutputAzureEventhubTLSSettingsClientSideTypedDict(TypedDict):
|
|
184
227
|
disabled: NotRequired[bool]
|
|
@@ -482,3 +525,57 @@ class OutputAzureEventhub(BaseModel):
|
|
|
482
525
|
pq_controls: Annotated[
|
|
483
526
|
Optional[OutputAzureEventhubPqControls], pydantic.Field(alias="pqControls")
|
|
484
527
|
] = None
|
|
528
|
+
|
|
529
|
+
@field_serializer("ack")
|
|
530
|
+
def serialize_ack(self, value):
|
|
531
|
+
if isinstance(value, str):
|
|
532
|
+
try:
|
|
533
|
+
return models.OutputAzureEventhubAcknowledgments(value)
|
|
534
|
+
except ValueError:
|
|
535
|
+
return value
|
|
536
|
+
return value
|
|
537
|
+
|
|
538
|
+
@field_serializer("format_")
|
|
539
|
+
def serialize_format_(self, value):
|
|
540
|
+
if isinstance(value, str):
|
|
541
|
+
try:
|
|
542
|
+
return models.OutputAzureEventhubRecordDataFormat(value)
|
|
543
|
+
except ValueError:
|
|
544
|
+
return value
|
|
545
|
+
return value
|
|
546
|
+
|
|
547
|
+
@field_serializer("on_backpressure")
|
|
548
|
+
def serialize_on_backpressure(self, value):
|
|
549
|
+
if isinstance(value, str):
|
|
550
|
+
try:
|
|
551
|
+
return models.OutputAzureEventhubBackpressureBehavior(value)
|
|
552
|
+
except ValueError:
|
|
553
|
+
return value
|
|
554
|
+
return value
|
|
555
|
+
|
|
556
|
+
@field_serializer("pq_mode")
|
|
557
|
+
def serialize_pq_mode(self, value):
|
|
558
|
+
if isinstance(value, str):
|
|
559
|
+
try:
|
|
560
|
+
return models.OutputAzureEventhubMode(value)
|
|
561
|
+
except ValueError:
|
|
562
|
+
return value
|
|
563
|
+
return value
|
|
564
|
+
|
|
565
|
+
@field_serializer("pq_compress")
|
|
566
|
+
def serialize_pq_compress(self, value):
|
|
567
|
+
if isinstance(value, str):
|
|
568
|
+
try:
|
|
569
|
+
return models.OutputAzureEventhubCompression(value)
|
|
570
|
+
except ValueError:
|
|
571
|
+
return value
|
|
572
|
+
return value
|
|
573
|
+
|
|
574
|
+
@field_serializer("pq_on_backpressure")
|
|
575
|
+
def serialize_pq_on_backpressure(self, value):
|
|
576
|
+
if isinstance(value, str):
|
|
577
|
+
try:
|
|
578
|
+
return models.OutputAzureEventhubQueueFullBehavior(value)
|
|
579
|
+
except ValueError:
|
|
580
|
+
return value
|
|
581
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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 utils
|
|
4
|
+
from cribl_control_plane import models, 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
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -425,3 +426,57 @@ class OutputAzureLogs(BaseModel):
|
|
|
425
426
|
None
|
|
426
427
|
)
|
|
427
428
|
r"""Select or create a stored secret that references your access key and secret key"""
|
|
429
|
+
|
|
430
|
+
@field_serializer("failed_request_logging_mode")
|
|
431
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
432
|
+
if isinstance(value, str):
|
|
433
|
+
try:
|
|
434
|
+
return models.OutputAzureLogsFailedRequestLoggingMode(value)
|
|
435
|
+
except ValueError:
|
|
436
|
+
return value
|
|
437
|
+
return value
|
|
438
|
+
|
|
439
|
+
@field_serializer("on_backpressure")
|
|
440
|
+
def serialize_on_backpressure(self, value):
|
|
441
|
+
if isinstance(value, str):
|
|
442
|
+
try:
|
|
443
|
+
return models.OutputAzureLogsBackpressureBehavior(value)
|
|
444
|
+
except ValueError:
|
|
445
|
+
return value
|
|
446
|
+
return value
|
|
447
|
+
|
|
448
|
+
@field_serializer("auth_type")
|
|
449
|
+
def serialize_auth_type(self, value):
|
|
450
|
+
if isinstance(value, str):
|
|
451
|
+
try:
|
|
452
|
+
return models.OutputAzureLogsAuthenticationMethod(value)
|
|
453
|
+
except ValueError:
|
|
454
|
+
return value
|
|
455
|
+
return value
|
|
456
|
+
|
|
457
|
+
@field_serializer("pq_mode")
|
|
458
|
+
def serialize_pq_mode(self, value):
|
|
459
|
+
if isinstance(value, str):
|
|
460
|
+
try:
|
|
461
|
+
return models.OutputAzureLogsMode(value)
|
|
462
|
+
except ValueError:
|
|
463
|
+
return value
|
|
464
|
+
return value
|
|
465
|
+
|
|
466
|
+
@field_serializer("pq_compress")
|
|
467
|
+
def serialize_pq_compress(self, value):
|
|
468
|
+
if isinstance(value, str):
|
|
469
|
+
try:
|
|
470
|
+
return models.OutputAzureLogsCompression(value)
|
|
471
|
+
except ValueError:
|
|
472
|
+
return value
|
|
473
|
+
return value
|
|
474
|
+
|
|
475
|
+
@field_serializer("pq_on_backpressure")
|
|
476
|
+
def serialize_pq_on_backpressure(self, value):
|
|
477
|
+
if isinstance(value, str):
|
|
478
|
+
try:
|
|
479
|
+
return models.OutputAzureLogsQueueFullBehavior(value)
|
|
480
|
+
except ValueError:
|
|
481
|
+
return value
|
|
482
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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 utils
|
|
4
|
+
from cribl_control_plane import models, 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
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -470,3 +471,57 @@ class OutputChronicle(BaseModel):
|
|
|
470
471
|
pq_controls: Annotated[
|
|
471
472
|
Optional[OutputChroniclePqControls], pydantic.Field(alias="pqControls")
|
|
472
473
|
] = None
|
|
474
|
+
|
|
475
|
+
@field_serializer("authentication_method")
|
|
476
|
+
def serialize_authentication_method(self, value):
|
|
477
|
+
if isinstance(value, str):
|
|
478
|
+
try:
|
|
479
|
+
return models.OutputChronicleAuthenticationMethod(value)
|
|
480
|
+
except ValueError:
|
|
481
|
+
return value
|
|
482
|
+
return value
|
|
483
|
+
|
|
484
|
+
@field_serializer("failed_request_logging_mode")
|
|
485
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
486
|
+
if isinstance(value, str):
|
|
487
|
+
try:
|
|
488
|
+
return models.OutputChronicleFailedRequestLoggingMode(value)
|
|
489
|
+
except ValueError:
|
|
490
|
+
return value
|
|
491
|
+
return value
|
|
492
|
+
|
|
493
|
+
@field_serializer("on_backpressure")
|
|
494
|
+
def serialize_on_backpressure(self, value):
|
|
495
|
+
if isinstance(value, str):
|
|
496
|
+
try:
|
|
497
|
+
return models.OutputChronicleBackpressureBehavior(value)
|
|
498
|
+
except ValueError:
|
|
499
|
+
return value
|
|
500
|
+
return value
|
|
501
|
+
|
|
502
|
+
@field_serializer("pq_mode")
|
|
503
|
+
def serialize_pq_mode(self, value):
|
|
504
|
+
if isinstance(value, str):
|
|
505
|
+
try:
|
|
506
|
+
return models.OutputChronicleMode(value)
|
|
507
|
+
except ValueError:
|
|
508
|
+
return value
|
|
509
|
+
return value
|
|
510
|
+
|
|
511
|
+
@field_serializer("pq_compress")
|
|
512
|
+
def serialize_pq_compress(self, value):
|
|
513
|
+
if isinstance(value, str):
|
|
514
|
+
try:
|
|
515
|
+
return models.OutputChronicleCompression(value)
|
|
516
|
+
except ValueError:
|
|
517
|
+
return value
|
|
518
|
+
return value
|
|
519
|
+
|
|
520
|
+
@field_serializer("pq_on_backpressure")
|
|
521
|
+
def serialize_pq_on_backpressure(self, value):
|
|
522
|
+
if isinstance(value, str):
|
|
523
|
+
try:
|
|
524
|
+
return models.OutputChronicleQueueFullBehavior(value)
|
|
525
|
+
except ValueError:
|
|
526
|
+
return value
|
|
527
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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 utils
|
|
4
|
+
from cribl_control_plane import models, 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
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -114,6 +115,24 @@ class OutputClickHouseTLSSettingsClientSide(BaseModel):
|
|
|
114
115
|
pydantic.Field(alias="maxVersion"),
|
|
115
116
|
] = None
|
|
116
117
|
|
|
118
|
+
@field_serializer("min_version")
|
|
119
|
+
def serialize_min_version(self, value):
|
|
120
|
+
if isinstance(value, str):
|
|
121
|
+
try:
|
|
122
|
+
return models.OutputClickHouseMinimumTLSVersion(value)
|
|
123
|
+
except ValueError:
|
|
124
|
+
return value
|
|
125
|
+
return value
|
|
126
|
+
|
|
127
|
+
@field_serializer("max_version")
|
|
128
|
+
def serialize_max_version(self, value):
|
|
129
|
+
if isinstance(value, str):
|
|
130
|
+
try:
|
|
131
|
+
return models.OutputClickHouseMaximumTLSVersion(value)
|
|
132
|
+
except ValueError:
|
|
133
|
+
return value
|
|
134
|
+
return value
|
|
135
|
+
|
|
117
136
|
|
|
118
137
|
class OutputClickHouseExtraHTTPHeaderTypedDict(TypedDict):
|
|
119
138
|
value: str
|
|
@@ -691,3 +710,75 @@ class OutputClickHouse(BaseModel):
|
|
|
691
710
|
pq_controls: Annotated[
|
|
692
711
|
Optional[OutputClickHousePqControls], pydantic.Field(alias="pqControls")
|
|
693
712
|
] = None
|
|
713
|
+
|
|
714
|
+
@field_serializer("auth_type")
|
|
715
|
+
def serialize_auth_type(self, value):
|
|
716
|
+
if isinstance(value, str):
|
|
717
|
+
try:
|
|
718
|
+
return models.OutputClickHouseAuthenticationType(value)
|
|
719
|
+
except ValueError:
|
|
720
|
+
return value
|
|
721
|
+
return value
|
|
722
|
+
|
|
723
|
+
@field_serializer("format_")
|
|
724
|
+
def serialize_format_(self, value):
|
|
725
|
+
if isinstance(value, str):
|
|
726
|
+
try:
|
|
727
|
+
return models.OutputClickHouseFormat(value)
|
|
728
|
+
except ValueError:
|
|
729
|
+
return value
|
|
730
|
+
return value
|
|
731
|
+
|
|
732
|
+
@field_serializer("mapping_type")
|
|
733
|
+
def serialize_mapping_type(self, value):
|
|
734
|
+
if isinstance(value, str):
|
|
735
|
+
try:
|
|
736
|
+
return models.MappingType(value)
|
|
737
|
+
except ValueError:
|
|
738
|
+
return value
|
|
739
|
+
return value
|
|
740
|
+
|
|
741
|
+
@field_serializer("failed_request_logging_mode")
|
|
742
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
743
|
+
if isinstance(value, str):
|
|
744
|
+
try:
|
|
745
|
+
return models.OutputClickHouseFailedRequestLoggingMode(value)
|
|
746
|
+
except ValueError:
|
|
747
|
+
return value
|
|
748
|
+
return value
|
|
749
|
+
|
|
750
|
+
@field_serializer("on_backpressure")
|
|
751
|
+
def serialize_on_backpressure(self, value):
|
|
752
|
+
if isinstance(value, str):
|
|
753
|
+
try:
|
|
754
|
+
return models.OutputClickHouseBackpressureBehavior(value)
|
|
755
|
+
except ValueError:
|
|
756
|
+
return value
|
|
757
|
+
return value
|
|
758
|
+
|
|
759
|
+
@field_serializer("pq_mode")
|
|
760
|
+
def serialize_pq_mode(self, value):
|
|
761
|
+
if isinstance(value, str):
|
|
762
|
+
try:
|
|
763
|
+
return models.OutputClickHouseMode(value)
|
|
764
|
+
except ValueError:
|
|
765
|
+
return value
|
|
766
|
+
return value
|
|
767
|
+
|
|
768
|
+
@field_serializer("pq_compress")
|
|
769
|
+
def serialize_pq_compress(self, value):
|
|
770
|
+
if isinstance(value, str):
|
|
771
|
+
try:
|
|
772
|
+
return models.OutputClickHouseCompression(value)
|
|
773
|
+
except ValueError:
|
|
774
|
+
return value
|
|
775
|
+
return value
|
|
776
|
+
|
|
777
|
+
@field_serializer("pq_on_backpressure")
|
|
778
|
+
def serialize_pq_on_backpressure(self, value):
|
|
779
|
+
if isinstance(value, str):
|
|
780
|
+
try:
|
|
781
|
+
return models.OutputClickHouseQueueFullBehavior(value)
|
|
782
|
+
except ValueError:
|
|
783
|
+
return value
|
|
784
|
+
return value
|