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
|
@@ -5,10 +5,8 @@ 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
|
|
9
8
|
from cribl_control_plane.types import BaseModel
|
|
10
9
|
from cribl_control_plane.utils import validate_open_enum
|
|
11
|
-
from pydantic import field_serializer
|
|
12
10
|
from pydantic.functional_validators import PlainValidator
|
|
13
11
|
from typing import Optional
|
|
14
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -38,39 +36,3 @@ class NodeUpgradeStatus(BaseModel):
|
|
|
38
36
|
skipped: Annotated[
|
|
39
37
|
Optional[NodeSkippedUpgradeStatus], PlainValidator(validate_open_enum(True))
|
|
40
38
|
] = 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,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
|
|
@@ -495,84 +494,3 @@ class OutputAzureBlob(BaseModel):
|
|
|
495
494
|
r"""Select or create a stored text secret"""
|
|
496
495
|
|
|
497
496
|
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,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
|
|
@@ -163,15 +162,6 @@ class ExtentTag(BaseModel):
|
|
|
163
162
|
Optional[PrefixOptional], PlainValidator(validate_open_enum(False))
|
|
164
163
|
] = None
|
|
165
164
|
|
|
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
|
-
|
|
175
165
|
|
|
176
166
|
class IngestIfNotExistTypedDict(TypedDict):
|
|
177
167
|
value: str
|
|
@@ -891,140 +881,3 @@ class OutputAzureDataExplorer(BaseModel):
|
|
|
891
881
|
pq_controls: Annotated[
|
|
892
882
|
Optional[OutputAzureDataExplorerPqControls], pydantic.Field(alias="pqControls")
|
|
893
883
|
] = 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,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
|
|
@@ -180,48 +179,6 @@ class OutputAzureEventhubAuthentication(BaseModel):
|
|
|
180
179
|
scope: Optional[str] = None
|
|
181
180
|
r"""Scope to pass in the OAuth request parameter"""
|
|
182
181
|
|
|
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
|
-
|
|
225
182
|
|
|
226
183
|
class OutputAzureEventhubTLSSettingsClientSideTypedDict(TypedDict):
|
|
227
184
|
disabled: NotRequired[bool]
|
|
@@ -525,57 +482,3 @@ class OutputAzureEventhub(BaseModel):
|
|
|
525
482
|
pq_controls: Annotated[
|
|
526
483
|
Optional[OutputAzureEventhubPqControls], pydantic.Field(alias="pqControls")
|
|
527
484
|
] = 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,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
|
|
@@ -426,57 +425,3 @@ class OutputAzureLogs(BaseModel):
|
|
|
426
425
|
None
|
|
427
426
|
)
|
|
428
427
|
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,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
|
|
@@ -471,57 +470,3 @@ class OutputChronicle(BaseModel):
|
|
|
471
470
|
pq_controls: Annotated[
|
|
472
471
|
Optional[OutputChroniclePqControls], pydantic.Field(alias="pqControls")
|
|
473
472
|
] = 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,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
|
|
@@ -115,24 +114,6 @@ class OutputClickHouseTLSSettingsClientSide(BaseModel):
|
|
|
115
114
|
pydantic.Field(alias="maxVersion"),
|
|
116
115
|
] = None
|
|
117
116
|
|
|
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
|
-
|
|
136
117
|
|
|
137
118
|
class OutputClickHouseExtraHTTPHeaderTypedDict(TypedDict):
|
|
138
119
|
value: str
|
|
@@ -710,75 +691,3 @@ class OutputClickHouse(BaseModel):
|
|
|
710
691
|
pq_controls: Annotated[
|
|
711
692
|
Optional[OutputClickHousePqControls], pydantic.Field(alias="pqControls")
|
|
712
693
|
] = 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
|