cribl-control-plane 0.0.50rc2__py3-none-any.whl → 0.0.52__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.

Files changed (182) hide show
  1. cribl_control_plane/_hooks/clientcredentials.py +91 -41
  2. cribl_control_plane/_version.py +6 -4
  3. cribl_control_plane/errors/apierror.py +1 -1
  4. cribl_control_plane/errors/criblcontrolplaneerror.py +1 -1
  5. cribl_control_plane/errors/error.py +1 -1
  6. cribl_control_plane/errors/healthstatus_error.py +3 -9
  7. cribl_control_plane/errors/no_response_error.py +1 -1
  8. cribl_control_plane/errors/responsevalidationerror.py +1 -1
  9. cribl_control_plane/groups_sdk.py +4 -4
  10. cribl_control_plane/health.py +2 -6
  11. cribl_control_plane/models/__init__.py +31 -56
  12. cribl_control_plane/models/appmode.py +13 -0
  13. cribl_control_plane/models/cacheconnection.py +2 -10
  14. cribl_control_plane/models/cacheconnectionbackfillstatus.py +1 -2
  15. cribl_control_plane/models/cloudprovider.py +1 -2
  16. cribl_control_plane/models/configgroup.py +4 -24
  17. cribl_control_plane/models/configgroupcloud.py +2 -6
  18. cribl_control_plane/models/createconfiggroupbyproductop.py +2 -8
  19. cribl_control_plane/models/createinputhectokenbyidop.py +5 -6
  20. cribl_control_plane/models/createversionpushop.py +5 -5
  21. cribl_control_plane/models/cribllakedataset.py +2 -8
  22. cribl_control_plane/models/datasetmetadata.py +2 -8
  23. cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +2 -7
  24. cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +2 -4
  25. cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +2 -4
  26. cribl_control_plane/models/getconfiggroupbyproductandidop.py +1 -3
  27. cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +2 -7
  28. cribl_control_plane/models/getsummaryop.py +2 -7
  29. cribl_control_plane/models/getversionshowop.py +5 -6
  30. cribl_control_plane/models/gitinfo.py +3 -14
  31. cribl_control_plane/models/hbcriblinfo.py +3 -24
  32. cribl_control_plane/models/healthstatus.py +4 -7
  33. cribl_control_plane/models/heartbeatmetadata.py +0 -3
  34. cribl_control_plane/models/input.py +63 -65
  35. cribl_control_plane/models/inputappscope.py +14 -34
  36. cribl_control_plane/models/inputazureblob.py +6 -17
  37. cribl_control_plane/models/inputcollection.py +4 -11
  38. cribl_control_plane/models/inputconfluentcloud.py +32 -41
  39. cribl_control_plane/models/inputcribl.py +4 -11
  40. cribl_control_plane/models/inputcriblhttp.py +8 -23
  41. cribl_control_plane/models/inputcribllakehttp.py +10 -22
  42. cribl_control_plane/models/inputcriblmetrics.py +4 -12
  43. cribl_control_plane/models/inputcribltcp.py +8 -23
  44. cribl_control_plane/models/inputcrowdstrike.py +10 -26
  45. cribl_control_plane/models/inputdatadogagent.py +8 -24
  46. cribl_control_plane/models/inputdatagen.py +4 -11
  47. cribl_control_plane/models/inputedgeprometheus.py +24 -58
  48. cribl_control_plane/models/inputelastic.py +14 -40
  49. cribl_control_plane/models/inputeventhub.py +6 -15
  50. cribl_control_plane/models/inputexec.py +6 -14
  51. cribl_control_plane/models/inputfile.py +6 -15
  52. cribl_control_plane/models/inputfirehose.py +8 -23
  53. cribl_control_plane/models/inputgooglepubsub.py +6 -19
  54. cribl_control_plane/models/inputgrafana.py +24 -67
  55. cribl_control_plane/models/inputhttp.py +8 -23
  56. cribl_control_plane/models/inputhttpraw.py +8 -23
  57. cribl_control_plane/models/inputjournalfiles.py +4 -12
  58. cribl_control_plane/models/inputkafka.py +28 -41
  59. cribl_control_plane/models/inputkinesis.py +14 -38
  60. cribl_control_plane/models/inputkubeevents.py +4 -11
  61. cribl_control_plane/models/inputkubelogs.py +8 -16
  62. cribl_control_plane/models/inputkubemetrics.py +8 -16
  63. cribl_control_plane/models/inputloki.py +10 -29
  64. cribl_control_plane/models/inputmetrics.py +8 -23
  65. cribl_control_plane/models/inputmodeldriventelemetry.py +10 -32
  66. cribl_control_plane/models/inputmsk.py +30 -48
  67. cribl_control_plane/models/inputnetflow.py +4 -11
  68. cribl_control_plane/models/inputoffice365mgmt.py +14 -33
  69. cribl_control_plane/models/inputoffice365msgtrace.py +16 -35
  70. cribl_control_plane/models/inputoffice365service.py +16 -35
  71. cribl_control_plane/models/inputopentelemetry.py +16 -38
  72. cribl_control_plane/models/inputprometheus.py +18 -50
  73. cribl_control_plane/models/inputprometheusrw.py +10 -30
  74. cribl_control_plane/models/inputrawudp.py +4 -11
  75. cribl_control_plane/models/inputs3.py +8 -21
  76. cribl_control_plane/models/inputs3inventory.py +10 -26
  77. cribl_control_plane/models/inputsecuritylake.py +10 -27
  78. cribl_control_plane/models/inputsnmp.py +6 -16
  79. cribl_control_plane/models/inputsplunk.py +12 -33
  80. cribl_control_plane/models/inputsplunkhec.py +10 -29
  81. cribl_control_plane/models/inputsplunksearch.py +14 -33
  82. cribl_control_plane/models/inputsqs.py +10 -27
  83. cribl_control_plane/models/inputsyslog.py +16 -43
  84. cribl_control_plane/models/inputsystemmetrics.py +24 -48
  85. cribl_control_plane/models/inputsystemstate.py +8 -16
  86. cribl_control_plane/models/inputtcp.py +10 -29
  87. cribl_control_plane/models/inputtcpjson.py +10 -29
  88. cribl_control_plane/models/inputwef.py +14 -37
  89. cribl_control_plane/models/inputwindowsmetrics.py +24 -44
  90. cribl_control_plane/models/inputwineventlogs.py +10 -20
  91. cribl_control_plane/models/inputwiz.py +8 -21
  92. cribl_control_plane/models/inputwizwebhook.py +8 -23
  93. cribl_control_plane/models/inputzscalerhec.py +10 -29
  94. cribl_control_plane/models/lakehouseconnectiontype.py +1 -2
  95. cribl_control_plane/models/listconfiggroupbyproductop.py +1 -3
  96. cribl_control_plane/models/masterworkerentry.py +2 -7
  97. cribl_control_plane/models/nodeactiveupgradestatus.py +1 -2
  98. cribl_control_plane/models/nodefailedupgradestatus.py +1 -2
  99. cribl_control_plane/models/nodeprovidedinfo.py +0 -3
  100. cribl_control_plane/models/nodeskippedupgradestatus.py +1 -2
  101. cribl_control_plane/models/nodeupgradestate.py +1 -2
  102. cribl_control_plane/models/nodeupgradestatus.py +5 -13
  103. cribl_control_plane/models/output.py +79 -84
  104. cribl_control_plane/models/outputazureblob.py +18 -48
  105. cribl_control_plane/models/outputazuredataexplorer.py +28 -73
  106. cribl_control_plane/models/outputazureeventhub.py +18 -40
  107. cribl_control_plane/models/outputazurelogs.py +12 -35
  108. cribl_control_plane/models/outputclickhouse.py +20 -55
  109. cribl_control_plane/models/outputcloudwatch.py +10 -29
  110. cribl_control_plane/models/outputconfluentcloud.py +44 -71
  111. cribl_control_plane/models/outputcriblhttp.py +16 -44
  112. cribl_control_plane/models/outputcribllake.py +16 -46
  113. cribl_control_plane/models/outputcribltcp.py +18 -45
  114. cribl_control_plane/models/outputcrowdstrikenextgensiem.py +14 -49
  115. cribl_control_plane/models/outputdatadog.py +20 -48
  116. cribl_control_plane/models/outputdataset.py +18 -46
  117. cribl_control_plane/models/outputdiskspool.py +2 -7
  118. cribl_control_plane/models/outputdls3.py +24 -68
  119. cribl_control_plane/models/outputdynatracehttp.py +20 -53
  120. cribl_control_plane/models/outputdynatraceotlp.py +22 -55
  121. cribl_control_plane/models/outputelastic.py +18 -43
  122. cribl_control_plane/models/outputelasticcloud.py +12 -36
  123. cribl_control_plane/models/outputexabeam.py +10 -29
  124. cribl_control_plane/models/outputfilesystem.py +14 -39
  125. cribl_control_plane/models/outputgooglechronicle.py +16 -50
  126. cribl_control_plane/models/outputgooglecloudlogging.py +18 -50
  127. cribl_control_plane/models/outputgooglecloudstorage.py +24 -66
  128. cribl_control_plane/models/outputgooglepubsub.py +10 -31
  129. cribl_control_plane/models/outputgrafanacloud.py +32 -97
  130. cribl_control_plane/models/outputgraphite.py +14 -31
  131. cribl_control_plane/models/outputhoneycomb.py +12 -35
  132. cribl_control_plane/models/outputhumiohec.py +16 -43
  133. cribl_control_plane/models/outputinfluxdb.py +16 -42
  134. cribl_control_plane/models/outputkafka.py +40 -69
  135. cribl_control_plane/models/outputkinesis.py +16 -40
  136. cribl_control_plane/models/outputloki.py +16 -41
  137. cribl_control_plane/models/outputminio.py +24 -65
  138. cribl_control_plane/models/outputmsk.py +42 -77
  139. cribl_control_plane/models/outputnewrelic.py +18 -43
  140. cribl_control_plane/models/outputnewrelicevents.py +14 -41
  141. cribl_control_plane/models/outputopentelemetry.py +26 -67
  142. cribl_control_plane/models/outputprometheus.py +12 -35
  143. cribl_control_plane/models/outputring.py +8 -19
  144. cribl_control_plane/models/outputs3.py +26 -68
  145. cribl_control_plane/models/outputsecuritylake.py +18 -52
  146. cribl_control_plane/models/outputsentinel.py +18 -45
  147. cribl_control_plane/models/outputsentineloneaisiem.py +18 -50
  148. cribl_control_plane/models/outputservicenow.py +24 -60
  149. cribl_control_plane/models/outputsignalfx.py +14 -37
  150. cribl_control_plane/models/outputsns.py +14 -36
  151. cribl_control_plane/models/outputsplunk.py +24 -60
  152. cribl_control_plane/models/outputsplunkhec.py +12 -35
  153. cribl_control_plane/models/outputsplunklb.py +30 -77
  154. cribl_control_plane/models/outputsqs.py +16 -41
  155. cribl_control_plane/models/outputstatsd.py +14 -30
  156. cribl_control_plane/models/outputstatsdext.py +12 -29
  157. cribl_control_plane/models/outputsumologic.py +12 -35
  158. cribl_control_plane/models/outputsyslog.py +24 -58
  159. cribl_control_plane/models/outputtcpjson.py +20 -52
  160. cribl_control_plane/models/outputwavefront.py +12 -35
  161. cribl_control_plane/models/outputwebhook.py +22 -58
  162. cribl_control_plane/models/outputxsiam.py +14 -35
  163. cribl_control_plane/models/productscore.py +1 -2
  164. cribl_control_plane/models/rbacresource.py +1 -2
  165. cribl_control_plane/models/resourcepolicy.py +2 -4
  166. cribl_control_plane/models/routecloneconf.py +13 -0
  167. cribl_control_plane/models/routeconf.py +4 -3
  168. cribl_control_plane/models/runnablejobcollection.py +13 -30
  169. cribl_control_plane/models/runnablejobexecutor.py +4 -13
  170. cribl_control_plane/models/runnablejobscheduledsearch.py +2 -7
  171. cribl_control_plane/models/updateconfiggroupbyproductandidop.py +2 -8
  172. cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +2 -8
  173. cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +5 -6
  174. cribl_control_plane/models/workertypes.py +1 -2
  175. {cribl_control_plane-0.0.50rc2.dist-info → cribl_control_plane-0.0.52.dist-info}/METADATA +14 -12
  176. cribl_control_plane-0.0.52.dist-info/RECORD +325 -0
  177. cribl_control_plane/models/error.py +0 -16
  178. cribl_control_plane/models/gethealthinfoop.py +0 -17
  179. cribl_control_plane/models/gitshowresult.py +0 -19
  180. cribl_control_plane/models/outputdatabricks.py +0 -282
  181. cribl_control_plane-0.0.50rc2.dist-info/RECORD +0 -327
  182. {cribl_control_plane-0.0.50rc2.dist-info → cribl_control_plane-0.0.52.dist-info}/WHEEL +0 -0
@@ -19,7 +19,6 @@ class NodeProvidedInfoTags(BaseModel):
19
19
 
20
20
  class NodeProvidedInfoAwsTypedDict(TypedDict):
21
21
  enabled: bool
22
- instance_id: str
23
22
  region: str
24
23
  type: str
25
24
  zone: str
@@ -29,8 +28,6 @@ class NodeProvidedInfoAwsTypedDict(TypedDict):
29
28
  class NodeProvidedInfoAws(BaseModel):
30
29
  enabled: bool
31
30
 
32
- instance_id: Annotated[str, pydantic.Field(alias="instanceId")]
33
-
34
31
  region: str
35
32
 
36
33
  type: str
@@ -1,11 +1,10 @@
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
5
4
  from enum import Enum
6
5
 
7
6
 
8
- class NodeSkippedUpgradeStatus(int, Enum, metaclass=utils.OpenEnumMeta):
7
+ class NodeSkippedUpgradeStatus(int, Enum):
9
8
  ZERO = 0
10
9
  ONE = 1
11
10
  TWO = 2
@@ -1,11 +1,10 @@
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
5
4
  from enum import Enum
6
5
 
7
6
 
8
- class NodeUpgradeState(int, Enum, metaclass=utils.OpenEnumMeta):
7
+ class NodeUpgradeState(int, Enum):
9
8
  ZERO = 0
10
9
  ONE = 1
11
10
  TWO = 2
@@ -6,10 +6,8 @@ from .nodefailedupgradestatus import NodeFailedUpgradeStatus
6
6
  from .nodeskippedupgradestatus import NodeSkippedUpgradeStatus
7
7
  from .nodeupgradestate import NodeUpgradeState
8
8
  from cribl_control_plane.types import BaseModel
9
- from cribl_control_plane.utils import validate_open_enum
10
- from pydantic.functional_validators import PlainValidator
11
9
  from typing import Optional
12
- from typing_extensions import Annotated, NotRequired, TypedDict
10
+ from typing_extensions import NotRequired, TypedDict
13
11
 
14
12
 
15
13
  class NodeUpgradeStatusTypedDict(TypedDict):
@@ -21,18 +19,12 @@ class NodeUpgradeStatusTypedDict(TypedDict):
21
19
 
22
20
 
23
21
  class NodeUpgradeStatus(BaseModel):
24
- state: Annotated[NodeUpgradeState, PlainValidator(validate_open_enum(True))]
22
+ state: NodeUpgradeState
25
23
 
26
24
  timestamp: float
27
25
 
28
- active: Annotated[
29
- Optional[NodeActiveUpgradeStatus], PlainValidator(validate_open_enum(True))
30
- ] = None
26
+ active: Optional[NodeActiveUpgradeStatus] = None
31
27
 
32
- failed: Annotated[
33
- Optional[NodeFailedUpgradeStatus], PlainValidator(validate_open_enum(True))
34
- ] = None
28
+ failed: Optional[NodeFailedUpgradeStatus] = None
35
29
 
36
- skipped: Annotated[
37
- Optional[NodeSkippedUpgradeStatus], PlainValidator(validate_open_enum(True))
38
- ] = None
30
+ skipped: Optional[NodeSkippedUpgradeStatus] = None
@@ -18,7 +18,6 @@ from .outputcrowdstrikenextgensiem import (
18
18
  OutputCrowdstrikeNextGenSiem,
19
19
  OutputCrowdstrikeNextGenSiemTypedDict,
20
20
  )
21
- from .outputdatabricks import OutputDatabricks, OutputDatabricksTypedDict
22
21
  from .outputdatadog import OutputDatadog, OutputDatadogTypedDict
23
22
  from .outputdataset import OutputDataset, OutputDatasetTypedDict
24
23
  from .outputdefault import OutputDefault, OutputDefaultTypedDict
@@ -81,10 +80,8 @@ from .outputtcpjson import OutputTcpjson, OutputTcpjsonTypedDict
81
80
  from .outputwavefront import OutputWavefront, OutputWavefrontTypedDict
82
81
  from .outputwebhook import OutputWebhook, OutputWebhookTypedDict
83
82
  from .outputxsiam import OutputXsiam, OutputXsiamTypedDict
84
- from cribl_control_plane.utils import get_discriminator
85
- from pydantic import Discriminator, Tag
86
83
  from typing import Union
87
- from typing_extensions import Annotated, TypeAliasType
84
+ from typing_extensions import TypeAliasType
88
85
 
89
86
 
90
87
  OutputTypedDict = TypeAliasType(
@@ -93,32 +90,31 @@ OutputTypedDict = TypeAliasType(
93
90
  OutputDevnullTypedDict,
94
91
  OutputDefaultTypedDict,
95
92
  OutputRouterTypedDict,
96
- OutputNetflowTypedDict,
97
93
  OutputSnmpTypedDict,
94
+ OutputNetflowTypedDict,
98
95
  OutputDiskSpoolTypedDict,
99
96
  OutputRingTypedDict,
100
- OutputGraphiteTypedDict,
101
97
  OutputStatsdExtTypedDict,
98
+ OutputGraphiteTypedDict,
102
99
  OutputStatsdTypedDict,
103
100
  OutputGooglePubsubTypedDict,
104
- OutputSplunkTypedDict,
105
101
  OutputCriblTCPTypedDict,
102
+ OutputSplunkTypedDict,
106
103
  OutputSnsTypedDict,
107
104
  OutputCloudwatchTypedDict,
108
105
  OutputAzureEventhubTypedDict,
109
- OutputSignalfxTypedDict,
110
106
  OutputWavefrontTypedDict,
107
+ OutputSignalfxTypedDict,
111
108
  OutputHoneycombTypedDict,
112
- OutputHumioHecTypedDict,
113
- OutputTcpjsonTypedDict,
114
109
  OutputSumoLogicTypedDict,
115
110
  OutputCrowdstrikeNextGenSiemTypedDict,
111
+ OutputHumioHecTypedDict,
112
+ OutputTcpjsonTypedDict,
116
113
  OutputElasticCloudTypedDict,
117
- OutputExabeamTypedDict,
118
- OutputKafkaTypedDict,
119
- OutputConfluentCloudTypedDict,
120
114
  OutputKinesisTypedDict,
121
- OutputDatabricksTypedDict,
115
+ OutputConfluentCloudTypedDict,
116
+ OutputKafkaTypedDict,
117
+ OutputExabeamTypedDict,
122
118
  OutputNewrelicEventsTypedDict,
123
119
  OutputAzureLogsTypedDict,
124
120
  OutputSplunkLbTypedDict,
@@ -134,10 +130,10 @@ OutputTypedDict = TypeAliasType(
134
130
  OutputDynatraceHTTPTypedDict,
135
131
  OutputServiceNowTypedDict,
136
132
  OutputDynatraceOtlpTypedDict,
137
- OutputGoogleChronicleTypedDict,
138
133
  OutputElasticTypedDict,
139
- OutputDatadogTypedDict,
134
+ OutputGoogleChronicleTypedDict,
140
135
  OutputCriblLakeTypedDict,
136
+ OutputDatadogTypedDict,
141
137
  OutputPrometheusTypedDict,
142
138
  OutputMskTypedDict,
143
139
  OutputSentinelOneAiSiemTypedDict,
@@ -159,73 +155,72 @@ OutputTypedDict = TypeAliasType(
159
155
  )
160
156
 
161
157
 
162
- Output = Annotated[
158
+ Output = TypeAliasType(
159
+ "Output",
163
160
  Union[
164
- Annotated[OutputDefault, Tag("default")],
165
- Annotated[OutputWebhook, Tag("webhook")],
166
- Annotated[OutputSentinel, Tag("sentinel")],
167
- Annotated[OutputDevnull, Tag("devnull")],
168
- Annotated[OutputSyslog, Tag("syslog")],
169
- Annotated[OutputSplunk, Tag("splunk")],
170
- Annotated[OutputSplunkLb, Tag("splunk_lb")],
171
- Annotated[OutputSplunkHec, Tag("splunk_hec")],
172
- Annotated[OutputTcpjson, Tag("tcpjson")],
173
- Annotated[OutputWavefront, Tag("wavefront")],
174
- Annotated[OutputSignalfx, Tag("signalfx")],
175
- Annotated[OutputFilesystem, Tag("filesystem")],
176
- Annotated[OutputS3, Tag("s3")],
177
- Annotated[OutputAzureBlob, Tag("azure_blob")],
178
- Annotated[OutputAzureDataExplorer, Tag("azure_data_explorer")],
179
- Annotated[OutputAzureLogs, Tag("azure_logs")],
180
- Annotated[OutputKinesis, Tag("kinesis")],
181
- Annotated[OutputHoneycomb, Tag("honeycomb")],
182
- Annotated[OutputAzureEventhub, Tag("azure_eventhub")],
183
- Annotated[OutputGoogleChronicle, Tag("google_chronicle")],
184
- Annotated[OutputGoogleCloudStorage, Tag("google_cloud_storage")],
185
- Annotated[OutputGoogleCloudLogging, Tag("google_cloud_logging")],
186
- Annotated[OutputGooglePubsub, Tag("google_pubsub")],
187
- Annotated[OutputExabeam, Tag("exabeam")],
188
- Annotated[OutputKafka, Tag("kafka")],
189
- Annotated[OutputConfluentCloud, Tag("confluent_cloud")],
190
- Annotated[OutputMsk, Tag("msk")],
191
- Annotated[OutputElastic, Tag("elastic")],
192
- Annotated[OutputElasticCloud, Tag("elastic_cloud")],
193
- Annotated[OutputNewrelic, Tag("newrelic")],
194
- Annotated[OutputNewrelicEvents, Tag("newrelic_events")],
195
- Annotated[OutputInfluxdb, Tag("influxdb")],
196
- Annotated[OutputCloudwatch, Tag("cloudwatch")],
197
- Annotated[OutputMinio, Tag("minio")],
198
- Annotated[OutputStatsd, Tag("statsd")],
199
- Annotated[OutputStatsdExt, Tag("statsd_ext")],
200
- Annotated[OutputGraphite, Tag("graphite")],
201
- Annotated[OutputRouter, Tag("router")],
202
- Annotated[OutputSns, Tag("sns")],
203
- Annotated[OutputSqs, Tag("sqs")],
204
- Annotated[OutputSnmp, Tag("snmp")],
205
- Annotated[OutputSumoLogic, Tag("sumo_logic")],
206
- Annotated[OutputDatadog, Tag("datadog")],
207
- Annotated[OutputGrafanaCloud, Tag("grafana_cloud")],
208
- Annotated[OutputLoki, Tag("loki")],
209
- Annotated[OutputPrometheus, Tag("prometheus")],
210
- Annotated[OutputRing, Tag("ring")],
211
- Annotated[OutputOpenTelemetry, Tag("open_telemetry")],
212
- Annotated[OutputServiceNow, Tag("service_now")],
213
- Annotated[OutputDataset, Tag("dataset")],
214
- Annotated[OutputCriblTCP, Tag("cribl_tcp")],
215
- Annotated[OutputCriblHTTP, Tag("cribl_http")],
216
- Annotated[OutputHumioHec, Tag("humio_hec")],
217
- Annotated[OutputCrowdstrikeNextGenSiem, Tag("crowdstrike_next_gen_siem")],
218
- Annotated[OutputDlS3, Tag("dl_s3")],
219
- Annotated[OutputSecurityLake, Tag("security_lake")],
220
- Annotated[OutputCriblLake, Tag("cribl_lake")],
221
- Annotated[OutputDiskSpool, Tag("disk_spool")],
222
- Annotated[OutputClickHouse, Tag("click_house")],
223
- Annotated[OutputXsiam, Tag("xsiam")],
224
- Annotated[OutputNetflow, Tag("netflow")],
225
- Annotated[OutputDynatraceHTTP, Tag("dynatrace_http")],
226
- Annotated[OutputDynatraceOtlp, Tag("dynatrace_otlp")],
227
- Annotated[OutputSentinelOneAiSiem, Tag("sentinel_one_ai_siem")],
228
- Annotated[OutputDatabricks, Tag("databricks")],
161
+ OutputDevnull,
162
+ OutputDefault,
163
+ OutputRouter,
164
+ OutputSnmp,
165
+ OutputNetflow,
166
+ OutputDiskSpool,
167
+ OutputRing,
168
+ OutputStatsdExt,
169
+ OutputGraphite,
170
+ OutputStatsd,
171
+ OutputGooglePubsub,
172
+ OutputCriblTCP,
173
+ OutputSplunk,
174
+ OutputSns,
175
+ OutputCloudwatch,
176
+ OutputAzureEventhub,
177
+ OutputWavefront,
178
+ OutputSignalfx,
179
+ OutputHoneycomb,
180
+ OutputSumoLogic,
181
+ OutputCrowdstrikeNextGenSiem,
182
+ OutputHumioHec,
183
+ OutputTcpjson,
184
+ OutputElasticCloud,
185
+ OutputKinesis,
186
+ OutputConfluentCloud,
187
+ OutputKafka,
188
+ OutputExabeam,
189
+ OutputNewrelicEvents,
190
+ OutputAzureLogs,
191
+ OutputSplunkLb,
192
+ OutputSyslog,
193
+ OutputSqs,
194
+ OutputNewrelic,
195
+ OutputCriblHTTP,
196
+ OutputXsiam,
197
+ OutputFilesystem,
198
+ OutputDataset,
199
+ OutputLoki,
200
+ OutputSplunkHec,
201
+ OutputDynatraceHTTP,
202
+ OutputServiceNow,
203
+ OutputDynatraceOtlp,
204
+ OutputElastic,
205
+ OutputGoogleChronicle,
206
+ OutputCriblLake,
207
+ OutputDatadog,
208
+ OutputPrometheus,
209
+ OutputMsk,
210
+ OutputSentinelOneAiSiem,
211
+ OutputSentinel,
212
+ OutputInfluxdb,
213
+ OutputGoogleCloudStorage,
214
+ OutputAzureBlob,
215
+ OutputOpenTelemetry,
216
+ OutputMinio,
217
+ OutputClickHouse,
218
+ OutputSecurityLake,
219
+ OutputDlS3,
220
+ OutputS3,
221
+ OutputWebhook,
222
+ OutputAzureDataExplorer,
223
+ OutputGoogleCloudLogging,
224
+ OutputGrafanaCloud,
229
225
  ],
230
- Discriminator(lambda m: get_discriminator(m, "type", "type")),
231
- ]
226
+ )
@@ -1,12 +1,9 @@
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
5
4
  from cribl_control_plane.types import BaseModel
6
- from cribl_control_plane.utils import validate_open_enum
7
5
  from enum import Enum
8
6
  import pydantic
9
- from pydantic.functional_validators import PlainValidator
10
7
  from typing import List, Optional
11
8
  from typing_extensions import Annotated, NotRequired, TypedDict
12
9
 
@@ -15,7 +12,7 @@ class OutputAzureBlobType(str, Enum):
15
12
  AZURE_BLOB = "azure_blob"
16
13
 
17
14
 
18
- class OutputAzureBlobDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
15
+ class OutputAzureBlobDataFormat(str, Enum):
19
16
  r"""Format of the output data"""
20
17
 
21
18
  JSON = "json"
@@ -23,28 +20,28 @@ class OutputAzureBlobDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
23
20
  PARQUET = "parquet"
24
21
 
25
22
 
26
- class OutputAzureBlobBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
23
+ class OutputAzureBlobBackpressureBehavior(str, Enum):
27
24
  r"""How to handle events when all receivers are exerting backpressure"""
28
25
 
29
26
  BLOCK = "block"
30
27
  DROP = "drop"
31
28
 
32
29
 
33
- class OutputAzureBlobDiskSpaceProtection(str, Enum, metaclass=utils.OpenEnumMeta):
30
+ class OutputAzureBlobDiskSpaceProtection(str, Enum):
34
31
  r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
35
32
 
36
33
  BLOCK = "block"
37
34
  DROP = "drop"
38
35
 
39
36
 
40
- class OutputAzureBlobAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
37
+ class OutputAzureBlobAuthenticationMethod(str, Enum):
41
38
  MANUAL = "manual"
42
39
  SECRET = "secret"
43
40
  CLIENT_SECRET = "clientSecret"
44
41
  CLIENT_CERT = "clientCert"
45
42
 
46
43
 
47
- class BlobAccessTier(str, Enum, metaclass=utils.OpenEnumMeta):
44
+ class BlobAccessTier(str, Enum):
48
45
  INFERRED = "Inferred"
49
46
  HOT = "Hot"
50
47
  COOL = "Cool"
@@ -52,14 +49,14 @@ class BlobAccessTier(str, Enum, metaclass=utils.OpenEnumMeta):
52
49
  ARCHIVE = "Archive"
53
50
 
54
51
 
55
- class OutputAzureBlobCompression(str, Enum, metaclass=utils.OpenEnumMeta):
52
+ class OutputAzureBlobCompression(str, Enum):
56
53
  r"""Data compression format to apply to HTTP content before it is delivered"""
57
54
 
58
55
  NONE = "none"
59
56
  GZIP = "gzip"
60
57
 
61
58
 
62
- class OutputAzureBlobCompressionLevel(str, Enum, metaclass=utils.OpenEnumMeta):
59
+ class OutputAzureBlobCompressionLevel(str, Enum):
63
60
  r"""Compression level to apply before moving files to final destination"""
64
61
 
65
62
  BEST_SPEED = "best_speed"
@@ -67,7 +64,7 @@ class OutputAzureBlobCompressionLevel(str, Enum, metaclass=utils.OpenEnumMeta):
67
64
  BEST_COMPRESSION = "best_compression"
68
65
 
69
66
 
70
- class OutputAzureBlobParquetVersion(str, Enum, metaclass=utils.OpenEnumMeta):
67
+ class OutputAzureBlobParquetVersion(str, Enum):
71
68
  r"""Determines which data types are supported and how they are represented"""
72
69
 
73
70
  PARQUET_1_0 = "PARQUET_1_0"
@@ -75,7 +72,7 @@ class OutputAzureBlobParquetVersion(str, Enum, metaclass=utils.OpenEnumMeta):
75
72
  PARQUET_2_6 = "PARQUET_2_6"
76
73
 
77
74
 
78
- class OutputAzureBlobDataPageVersion(str, Enum, metaclass=utils.OpenEnumMeta):
75
+ class OutputAzureBlobDataPageVersion(str, Enum):
79
76
  r"""Serialization format of data pages. Note that some reader implementations use Data page V2's attributes to work more efficiently, while others ignore it."""
80
77
 
81
78
  DATA_PAGE_V1 = "DATA_PAGE_V1"
@@ -264,11 +261,7 @@ class OutputAzureBlob(BaseModel):
264
261
  r"""JavaScript expression defining how files are partitioned and organized. Default is date-based. If blank, Stream will fall back to the event's __partition field value – if present – otherwise to each location's root directory."""
265
262
 
266
263
  format_: Annotated[
267
- Annotated[
268
- Optional[OutputAzureBlobDataFormat],
269
- PlainValidator(validate_open_enum(False)),
270
- ],
271
- pydantic.Field(alias="format"),
264
+ Optional[OutputAzureBlobDataFormat], pydantic.Field(alias="format")
272
265
  ] = OutputAzureBlobDataFormat.JSON
273
266
  r"""Format of the output data"""
274
267
 
@@ -311,10 +304,7 @@ class OutputAzureBlob(BaseModel):
311
304
  r"""Buffer size used to write to a file"""
312
305
 
313
306
  on_backpressure: Annotated[
314
- Annotated[
315
- Optional[OutputAzureBlobBackpressureBehavior],
316
- PlainValidator(validate_open_enum(False)),
317
- ],
307
+ Optional[OutputAzureBlobBackpressureBehavior],
318
308
  pydantic.Field(alias="onBackpressure"),
319
309
  ] = OutputAzureBlobBackpressureBehavior.BLOCK
320
310
  r"""How to handle events when all receivers are exerting backpressure"""
@@ -325,39 +315,26 @@ class OutputAzureBlob(BaseModel):
325
315
  r"""If a file fails to move to its final destination after the maximum number of retries, move it to a designated directory to prevent further errors"""
326
316
 
327
317
  on_disk_full_backpressure: Annotated[
328
- Annotated[
329
- Optional[OutputAzureBlobDiskSpaceProtection],
330
- PlainValidator(validate_open_enum(False)),
331
- ],
318
+ Optional[OutputAzureBlobDiskSpaceProtection],
332
319
  pydantic.Field(alias="onDiskFullBackpressure"),
333
320
  ] = OutputAzureBlobDiskSpaceProtection.BLOCK
334
321
  r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
335
322
 
336
323
  auth_type: Annotated[
337
- Annotated[
338
- Optional[OutputAzureBlobAuthenticationMethod],
339
- PlainValidator(validate_open_enum(False)),
340
- ],
341
- pydantic.Field(alias="authType"),
324
+ Optional[OutputAzureBlobAuthenticationMethod], pydantic.Field(alias="authType")
342
325
  ] = OutputAzureBlobAuthenticationMethod.MANUAL
343
326
 
344
327
  storage_class: Annotated[
345
- Annotated[Optional[BlobAccessTier], PlainValidator(validate_open_enum(False))],
346
- pydantic.Field(alias="storageClass"),
328
+ Optional[BlobAccessTier], pydantic.Field(alias="storageClass")
347
329
  ] = BlobAccessTier.INFERRED
348
330
 
349
331
  description: Optional[str] = None
350
332
 
351
- compress: Annotated[
352
- Optional[OutputAzureBlobCompression], PlainValidator(validate_open_enum(False))
353
- ] = OutputAzureBlobCompression.GZIP
333
+ compress: Optional[OutputAzureBlobCompression] = OutputAzureBlobCompression.GZIP
354
334
  r"""Data compression format to apply to HTTP content before it is delivered"""
355
335
 
356
336
  compression_level: Annotated[
357
- Annotated[
358
- Optional[OutputAzureBlobCompressionLevel],
359
- PlainValidator(validate_open_enum(False)),
360
- ],
337
+ Optional[OutputAzureBlobCompressionLevel],
361
338
  pydantic.Field(alias="compressionLevel"),
362
339
  ] = OutputAzureBlobCompressionLevel.BEST_SPEED
363
340
  r"""Compression level to apply before moving files to final destination"""
@@ -368,19 +345,12 @@ class OutputAzureBlob(BaseModel):
368
345
  r"""Automatically calculate the schema based on the events of each Parquet file generated"""
369
346
 
370
347
  parquet_version: Annotated[
371
- Annotated[
372
- Optional[OutputAzureBlobParquetVersion],
373
- PlainValidator(validate_open_enum(False)),
374
- ],
375
- pydantic.Field(alias="parquetVersion"),
348
+ Optional[OutputAzureBlobParquetVersion], pydantic.Field(alias="parquetVersion")
376
349
  ] = OutputAzureBlobParquetVersion.PARQUET_2_6
377
350
  r"""Determines which data types are supported and how they are represented"""
378
351
 
379
352
  parquet_data_page_version: Annotated[
380
- Annotated[
381
- Optional[OutputAzureBlobDataPageVersion],
382
- PlainValidator(validate_open_enum(False)),
383
- ],
353
+ Optional[OutputAzureBlobDataPageVersion],
384
354
  pydantic.Field(alias="parquetDataPageVersion"),
385
355
  ] = OutputAzureBlobDataPageVersion.DATA_PAGE_V2
386
356
  r"""Serialization format of data pages. Note that some reader implementations use Data page V2's attributes to work more efficiently, while others ignore it."""