cribl-control-plane 0.2.1rc7__py3-none-any.whl → 0.3.0a1__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 (179) hide show
  1. cribl_control_plane/_version.py +4 -4
  2. cribl_control_plane/errors/__init__.py +5 -8
  3. cribl_control_plane/errors/{healthserverstatus_error.py → healthstatus_error.py} +9 -10
  4. cribl_control_plane/groups_sdk.py +28 -52
  5. cribl_control_plane/health.py +16 -22
  6. cribl_control_plane/models/__init__.py +54 -217
  7. cribl_control_plane/models/appmode.py +14 -0
  8. cribl_control_plane/models/authtoken.py +1 -5
  9. cribl_control_plane/models/cacheconnection.py +0 -20
  10. cribl_control_plane/models/configgroup.py +7 -55
  11. cribl_control_plane/models/configgroupcloud.py +1 -11
  12. cribl_control_plane/models/createconfiggroupbyproductop.py +5 -17
  13. cribl_control_plane/models/createroutesappendbyidop.py +2 -2
  14. cribl_control_plane/models/createversionundoop.py +3 -3
  15. cribl_control_plane/models/cribllakedataset.py +1 -11
  16. cribl_control_plane/models/cribllakedatasetupdate.py +1 -11
  17. cribl_control_plane/models/datasetmetadata.py +1 -11
  18. cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +0 -11
  19. cribl_control_plane/models/deleteoutputpqbyidop.py +2 -2
  20. cribl_control_plane/models/distributedsummary.py +0 -6
  21. cribl_control_plane/models/error.py +16 -0
  22. cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +0 -20
  23. cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +0 -20
  24. cribl_control_plane/models/getconfiggroupbyproductandidop.py +0 -11
  25. cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +0 -11
  26. cribl_control_plane/models/gethealthinfoop.py +17 -0
  27. cribl_control_plane/models/getsummaryop.py +0 -11
  28. cribl_control_plane/models/hbcriblinfo.py +3 -24
  29. cribl_control_plane/models/{healthserverstatus.py → healthstatus.py} +8 -27
  30. cribl_control_plane/models/heartbeatmetadata.py +0 -3
  31. cribl_control_plane/models/input.py +78 -80
  32. cribl_control_plane/models/inputappscope.py +17 -80
  33. cribl_control_plane/models/inputazureblob.py +1 -33
  34. cribl_control_plane/models/inputcollection.py +1 -24
  35. cribl_control_plane/models/inputconfluentcloud.py +18 -195
  36. cribl_control_plane/models/inputcribl.py +1 -24
  37. cribl_control_plane/models/inputcriblhttp.py +17 -62
  38. cribl_control_plane/models/inputcribllakehttp.py +17 -62
  39. cribl_control_plane/models/inputcriblmetrics.py +1 -24
  40. cribl_control_plane/models/inputcribltcp.py +17 -62
  41. cribl_control_plane/models/inputcrowdstrike.py +1 -54
  42. cribl_control_plane/models/inputdatadogagent.py +17 -62
  43. cribl_control_plane/models/inputdatagen.py +1 -24
  44. cribl_control_plane/models/inputedgeprometheus.py +34 -147
  45. cribl_control_plane/models/inputelastic.py +27 -119
  46. cribl_control_plane/models/inputeventhub.py +1 -182
  47. cribl_control_plane/models/inputexec.py +1 -33
  48. cribl_control_plane/models/inputfile.py +3 -42
  49. cribl_control_plane/models/inputfirehose.py +17 -62
  50. cribl_control_plane/models/inputgooglepubsub.py +1 -36
  51. cribl_control_plane/models/inputgrafana.py +32 -157
  52. cribl_control_plane/models/inputhttp.py +17 -62
  53. cribl_control_plane/models/inputhttpraw.py +17 -62
  54. cribl_control_plane/models/inputjournalfiles.py +1 -24
  55. cribl_control_plane/models/inputkafka.py +17 -189
  56. cribl_control_plane/models/inputkinesis.py +1 -80
  57. cribl_control_plane/models/inputkubeevents.py +1 -24
  58. cribl_control_plane/models/inputkubelogs.py +1 -33
  59. cribl_control_plane/models/inputkubemetrics.py +1 -33
  60. cribl_control_plane/models/inputloki.py +17 -71
  61. cribl_control_plane/models/inputmetrics.py +17 -62
  62. cribl_control_plane/models/inputmodeldriventelemetry.py +17 -62
  63. cribl_control_plane/models/inputmsk.py +18 -81
  64. cribl_control_plane/models/inputnetflow.py +1 -24
  65. cribl_control_plane/models/inputoffice365mgmt.py +1 -67
  66. cribl_control_plane/models/inputoffice365msgtrace.py +1 -67
  67. cribl_control_plane/models/inputoffice365service.py +1 -67
  68. cribl_control_plane/models/inputopentelemetry.py +16 -92
  69. cribl_control_plane/models/inputprometheus.py +34 -138
  70. cribl_control_plane/models/inputprometheusrw.py +17 -71
  71. cribl_control_plane/models/inputrawudp.py +1 -24
  72. cribl_control_plane/models/inputs3.py +1 -45
  73. cribl_control_plane/models/inputs3inventory.py +1 -54
  74. cribl_control_plane/models/inputsecuritylake.py +1 -54
  75. cribl_control_plane/models/inputsnmp.py +1 -40
  76. cribl_control_plane/models/inputsplunk.py +17 -85
  77. cribl_control_plane/models/inputsplunkhec.py +16 -70
  78. cribl_control_plane/models/inputsplunksearch.py +1 -63
  79. cribl_control_plane/models/inputsqs.py +1 -56
  80. cribl_control_plane/models/inputsyslog.py +32 -121
  81. cribl_control_plane/models/inputsystemmetrics.py +9 -142
  82. cribl_control_plane/models/inputsystemstate.py +1 -33
  83. cribl_control_plane/models/inputtcp.py +17 -81
  84. cribl_control_plane/models/inputtcpjson.py +17 -71
  85. cribl_control_plane/models/inputwef.py +1 -71
  86. cribl_control_plane/models/inputwindowsmetrics.py +9 -129
  87. cribl_control_plane/models/inputwineventlogs.py +1 -60
  88. cribl_control_plane/models/inputwiz.py +1 -45
  89. cribl_control_plane/models/inputwizwebhook.py +17 -62
  90. cribl_control_plane/models/inputzscalerhec.py +16 -70
  91. cribl_control_plane/models/jobinfo.py +1 -4
  92. cribl_control_plane/models/jobstatus.py +3 -34
  93. cribl_control_plane/models/listconfiggroupbyproductop.py +0 -11
  94. cribl_control_plane/models/logininfo.py +3 -3
  95. cribl_control_plane/models/masterworkerentry.py +1 -11
  96. cribl_control_plane/models/nodeprovidedinfo.py +1 -11
  97. cribl_control_plane/models/nodeupgradestatus.py +0 -38
  98. cribl_control_plane/models/output.py +88 -93
  99. cribl_control_plane/models/outputazureblob.py +1 -110
  100. cribl_control_plane/models/outputazuredataexplorer.py +87 -452
  101. cribl_control_plane/models/outputazureeventhub.py +19 -281
  102. cribl_control_plane/models/outputazurelogs.py +19 -115
  103. cribl_control_plane/models/outputchronicle.py +19 -115
  104. cribl_control_plane/models/outputclickhouse.py +19 -155
  105. cribl_control_plane/models/outputcloudwatch.py +19 -106
  106. cribl_control_plane/models/outputconfluentcloud.py +38 -311
  107. cribl_control_plane/models/outputcriblhttp.py +19 -135
  108. cribl_control_plane/models/outputcribllake.py +1 -97
  109. cribl_control_plane/models/outputcribltcp.py +19 -132
  110. cribl_control_plane/models/outputcrowdstrikenextgensiem.py +20 -129
  111. cribl_control_plane/models/outputdatadog.py +19 -159
  112. cribl_control_plane/models/outputdataset.py +19 -143
  113. cribl_control_plane/models/outputdiskspool.py +1 -11
  114. cribl_control_plane/models/outputdls3.py +1 -152
  115. cribl_control_plane/models/outputdynatracehttp.py +19 -160
  116. cribl_control_plane/models/outputdynatraceotlp.py +19 -160
  117. cribl_control_plane/models/outputelastic.py +19 -163
  118. cribl_control_plane/models/outputelasticcloud.py +19 -140
  119. cribl_control_plane/models/outputexabeam.py +1 -61
  120. cribl_control_plane/models/outputfilesystem.py +1 -87
  121. cribl_control_plane/models/outputgooglechronicle.py +20 -166
  122. cribl_control_plane/models/outputgooglecloudlogging.py +20 -131
  123. cribl_control_plane/models/outputgooglecloudstorage.py +1 -136
  124. cribl_control_plane/models/outputgooglepubsub.py +19 -106
  125. cribl_control_plane/models/outputgrafanacloud.py +37 -288
  126. cribl_control_plane/models/outputgraphite.py +19 -105
  127. cribl_control_plane/models/outputhoneycomb.py +19 -115
  128. cribl_control_plane/models/outputhumiohec.py +19 -126
  129. cribl_control_plane/models/outputinfluxdb.py +19 -130
  130. cribl_control_plane/models/outputkafka.py +34 -302
  131. cribl_control_plane/models/outputkinesis.py +19 -133
  132. cribl_control_plane/models/outputloki.py +17 -129
  133. cribl_control_plane/models/outputminio.py +1 -145
  134. cribl_control_plane/models/outputmsk.py +34 -193
  135. cribl_control_plane/models/outputnewrelic.py +19 -136
  136. cribl_control_plane/models/outputnewrelicevents.py +20 -128
  137. cribl_control_plane/models/outputopentelemetry.py +19 -178
  138. cribl_control_plane/models/outputprometheus.py +19 -115
  139. cribl_control_plane/models/outputring.py +1 -31
  140. cribl_control_plane/models/outputs3.py +1 -152
  141. cribl_control_plane/models/outputsecuritylake.py +1 -114
  142. cribl_control_plane/models/outputsentinel.py +19 -135
  143. cribl_control_plane/models/outputsentineloneaisiem.py +20 -134
  144. cribl_control_plane/models/outputservicenow.py +19 -168
  145. cribl_control_plane/models/outputsignalfx.py +19 -115
  146. cribl_control_plane/models/outputsns.py +17 -113
  147. cribl_control_plane/models/outputsplunk.py +19 -153
  148. cribl_control_plane/models/outputsplunkhec.py +19 -208
  149. cribl_control_plane/models/outputsplunklb.py +19 -182
  150. cribl_control_plane/models/outputsqs.py +17 -124
  151. cribl_control_plane/models/outputstatsd.py +19 -105
  152. cribl_control_plane/models/outputstatsdext.py +19 -105
  153. cribl_control_plane/models/outputsumologic.py +19 -117
  154. cribl_control_plane/models/outputsyslog.py +96 -259
  155. cribl_control_plane/models/outputtcpjson.py +19 -141
  156. cribl_control_plane/models/outputwavefront.py +19 -115
  157. cribl_control_plane/models/outputwebhook.py +19 -161
  158. cribl_control_plane/models/outputxsiam.py +17 -113
  159. cribl_control_plane/models/packinfo.py +5 -8
  160. cribl_control_plane/models/packinstallinfo.py +5 -8
  161. cribl_control_plane/models/resourcepolicy.py +0 -11
  162. cribl_control_plane/models/{uploadpackresponse.py → routecloneconf.py} +4 -4
  163. cribl_control_plane/models/routeconf.py +4 -3
  164. cribl_control_plane/models/runnablejobcollection.py +9 -72
  165. cribl_control_plane/models/runnablejobexecutor.py +9 -32
  166. cribl_control_plane/models/runnablejobscheduledsearch.py +9 -23
  167. cribl_control_plane/models/updateconfiggroupbyproductandidop.py +0 -11
  168. cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +0 -11
  169. cribl_control_plane/packs.py +7 -202
  170. cribl_control_plane/routes_sdk.py +6 -6
  171. cribl_control_plane/tokens.py +15 -23
  172. {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.3.0a1.dist-info}/METADATA +9 -50
  173. cribl_control_plane-0.3.0a1.dist-info/RECORD +330 -0
  174. cribl_control_plane/models/groupcreaterequest.py +0 -171
  175. cribl_control_plane/models/outpostnodeinfo.py +0 -16
  176. cribl_control_plane/models/outputdatabricks.py +0 -482
  177. cribl_control_plane/models/updatepacksop.py +0 -25
  178. cribl_control_plane-0.2.1rc7.dist-info/RECORD +0 -331
  179. {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.3.0a1.dist-info}/WHEEL +0 -0
@@ -19,7 +19,6 @@ from .outputcrowdstrikenextgensiem import (
19
19
  OutputCrowdstrikeNextGenSiem,
20
20
  OutputCrowdstrikeNextGenSiemTypedDict,
21
21
  )
22
- from .outputdatabricks import OutputDatabricks, OutputDatabricksTypedDict
23
22
  from .outputdatadog import OutputDatadog, OutputDatadogTypedDict
24
23
  from .outputdataset import OutputDataset, OutputDatasetTypedDict
25
24
  from .outputdefault import OutputDefault, OutputDefaultTypedDict
@@ -82,10 +81,8 @@ from .outputtcpjson import OutputTcpjson, OutputTcpjsonTypedDict
82
81
  from .outputwavefront import OutputWavefront, OutputWavefrontTypedDict
83
82
  from .outputwebhook import OutputWebhook, OutputWebhookTypedDict
84
83
  from .outputxsiam import OutputXsiam, OutputXsiamTypedDict
85
- from cribl_control_plane.utils import get_discriminator
86
- from pydantic import Discriminator, Tag
87
84
  from typing import Union
88
- from typing_extensions import Annotated, TypeAliasType
85
+ from typing_extensions import TypeAliasType
89
86
 
90
87
 
91
88
  OutputTypedDict = TypeAliasType(
@@ -98,137 +95,135 @@ OutputTypedDict = TypeAliasType(
98
95
  OutputNetflowTypedDict,
99
96
  OutputDiskSpoolTypedDict,
100
97
  OutputRingTypedDict,
101
- OutputGraphiteTypedDict,
102
98
  OutputStatsdExtTypedDict,
99
+ OutputGraphiteTypedDict,
103
100
  OutputStatsdTypedDict,
104
101
  OutputGooglePubsubTypedDict,
105
- OutputExabeamTypedDict,
102
+ OutputCriblTCPTypedDict,
106
103
  OutputSplunkTypedDict,
107
104
  OutputSnsTypedDict,
108
- OutputCriblTCPTypedDict,
109
- OutputAzureEventhubTypedDict,
110
105
  OutputCloudwatchTypedDict,
106
+ OutputAzureEventhubTypedDict,
107
+ OutputWavefrontTypedDict,
111
108
  OutputSignalfxTypedDict,
112
109
  OutputHoneycombTypedDict,
113
- OutputWavefrontTypedDict,
114
- OutputHumioHecTypedDict,
115
110
  OutputSumoLogicTypedDict,
116
111
  OutputCrowdstrikeNextGenSiemTypedDict,
112
+ OutputHumioHecTypedDict,
117
113
  OutputTcpjsonTypedDict,
118
114
  OutputElasticCloudTypedDict,
119
- OutputNewrelicEventsTypedDict,
120
- OutputFilesystemTypedDict,
115
+ OutputKinesisTypedDict,
121
116
  OutputConfluentCloudTypedDict,
122
117
  OutputKafkaTypedDict,
118
+ OutputExabeamTypedDict,
119
+ OutputNewrelicEventsTypedDict,
123
120
  OutputAzureLogsTypedDict,
124
- OutputKinesisTypedDict,
125
121
  OutputSplunkLbTypedDict,
126
122
  OutputSyslogTypedDict,
127
123
  OutputSqsTypedDict,
128
- OutputCriblHTTPTypedDict,
129
124
  OutputNewrelicTypedDict,
125
+ OutputCriblHTTPTypedDict,
130
126
  OutputXsiamTypedDict,
127
+ OutputFilesystemTypedDict,
131
128
  OutputDatasetTypedDict,
132
129
  OutputLokiTypedDict,
133
- OutputCriblLakeTypedDict,
130
+ OutputSplunkHecTypedDict,
134
131
  OutputDynatraceHTTPTypedDict,
135
132
  OutputServiceNowTypedDict,
136
- OutputSplunkHecTypedDict,
137
133
  OutputChronicleTypedDict,
138
134
  OutputDynatraceOtlpTypedDict,
139
- OutputDatabricksTypedDict,
140
135
  OutputElasticTypedDict,
141
- OutputDatadogTypedDict,
142
136
  OutputGoogleChronicleTypedDict,
137
+ OutputCriblLakeTypedDict,
138
+ OutputDatadogTypedDict,
143
139
  OutputPrometheusTypedDict,
144
- OutputSentinelOneAiSiemTypedDict,
145
140
  OutputMskTypedDict,
146
- OutputGoogleCloudStorageTypedDict,
141
+ OutputSentinelOneAiSiemTypedDict,
147
142
  OutputSentinelTypedDict,
148
- OutputAzureBlobTypedDict,
149
143
  OutputInfluxdbTypedDict,
150
- OutputMinioTypedDict,
151
- OutputSecurityLakeTypedDict,
144
+ OutputGoogleCloudStorageTypedDict,
145
+ OutputAzureBlobTypedDict,
152
146
  OutputOpenTelemetryTypedDict,
147
+ OutputMinioTypedDict,
153
148
  OutputClickHouseTypedDict,
149
+ OutputSecurityLakeTypedDict,
154
150
  OutputDlS3TypedDict,
155
151
  OutputS3TypedDict,
156
152
  OutputWebhookTypedDict,
157
- OutputGoogleCloudLoggingTypedDict,
158
153
  OutputAzureDataExplorerTypedDict,
154
+ OutputGoogleCloudLoggingTypedDict,
159
155
  OutputGrafanaCloudTypedDict,
160
156
  ],
161
157
  )
162
158
 
163
159
 
164
- Output = Annotated[
160
+ Output = TypeAliasType(
161
+ "Output",
165
162
  Union[
166
- Annotated[OutputDefault, Tag("default")],
167
- Annotated[OutputWebhook, Tag("webhook")],
168
- Annotated[OutputSentinel, Tag("sentinel")],
169
- Annotated[OutputDevnull, Tag("devnull")],
170
- Annotated[OutputSyslog, Tag("syslog")],
171
- Annotated[OutputSplunk, Tag("splunk")],
172
- Annotated[OutputSplunkLb, Tag("splunk_lb")],
173
- Annotated[OutputSplunkHec, Tag("splunk_hec")],
174
- Annotated[OutputTcpjson, Tag("tcpjson")],
175
- Annotated[OutputWavefront, Tag("wavefront")],
176
- Annotated[OutputSignalfx, Tag("signalfx")],
177
- Annotated[OutputFilesystem, Tag("filesystem")],
178
- Annotated[OutputS3, Tag("s3")],
179
- Annotated[OutputAzureBlob, Tag("azure_blob")],
180
- Annotated[OutputAzureDataExplorer, Tag("azure_data_explorer")],
181
- Annotated[OutputAzureLogs, Tag("azure_logs")],
182
- Annotated[OutputKinesis, Tag("kinesis")],
183
- Annotated[OutputHoneycomb, Tag("honeycomb")],
184
- Annotated[OutputAzureEventhub, Tag("azure_eventhub")],
185
- Annotated[OutputGoogleChronicle, Tag("google_chronicle")],
186
- Annotated[OutputGoogleCloudStorage, Tag("google_cloud_storage")],
187
- Annotated[OutputGoogleCloudLogging, Tag("google_cloud_logging")],
188
- Annotated[OutputGooglePubsub, Tag("google_pubsub")],
189
- Annotated[OutputExabeam, Tag("exabeam")],
190
- Annotated[OutputKafka, Tag("kafka")],
191
- Annotated[OutputConfluentCloud, Tag("confluent_cloud")],
192
- Annotated[OutputMsk, Tag("msk")],
193
- Annotated[OutputElastic, Tag("elastic")],
194
- Annotated[OutputElasticCloud, Tag("elastic_cloud")],
195
- Annotated[OutputNewrelic, Tag("newrelic")],
196
- Annotated[OutputNewrelicEvents, Tag("newrelic_events")],
197
- Annotated[OutputInfluxdb, Tag("influxdb")],
198
- Annotated[OutputCloudwatch, Tag("cloudwatch")],
199
- Annotated[OutputMinio, Tag("minio")],
200
- Annotated[OutputStatsd, Tag("statsd")],
201
- Annotated[OutputStatsdExt, Tag("statsd_ext")],
202
- Annotated[OutputGraphite, Tag("graphite")],
203
- Annotated[OutputRouter, Tag("router")],
204
- Annotated[OutputSns, Tag("sns")],
205
- Annotated[OutputSqs, Tag("sqs")],
206
- Annotated[OutputSnmp, Tag("snmp")],
207
- Annotated[OutputSumoLogic, Tag("sumo_logic")],
208
- Annotated[OutputDatadog, Tag("datadog")],
209
- Annotated[OutputGrafanaCloud, Tag("grafana_cloud")],
210
- Annotated[OutputLoki, Tag("loki")],
211
- Annotated[OutputPrometheus, Tag("prometheus")],
212
- Annotated[OutputRing, Tag("ring")],
213
- Annotated[OutputOpenTelemetry, Tag("open_telemetry")],
214
- Annotated[OutputServiceNow, Tag("service_now")],
215
- Annotated[OutputDataset, Tag("dataset")],
216
- Annotated[OutputCriblTCP, Tag("cribl_tcp")],
217
- Annotated[OutputCriblHTTP, Tag("cribl_http")],
218
- Annotated[OutputHumioHec, Tag("humio_hec")],
219
- Annotated[OutputCrowdstrikeNextGenSiem, Tag("crowdstrike_next_gen_siem")],
220
- Annotated[OutputDlS3, Tag("dl_s3")],
221
- Annotated[OutputSecurityLake, Tag("security_lake")],
222
- Annotated[OutputCriblLake, Tag("cribl_lake")],
223
- Annotated[OutputDiskSpool, Tag("disk_spool")],
224
- Annotated[OutputClickHouse, Tag("click_house")],
225
- Annotated[OutputXsiam, Tag("xsiam")],
226
- Annotated[OutputNetflow, Tag("netflow")],
227
- Annotated[OutputDynatraceHTTP, Tag("dynatrace_http")],
228
- Annotated[OutputDynatraceOtlp, Tag("dynatrace_otlp")],
229
- Annotated[OutputSentinelOneAiSiem, Tag("sentinel_one_ai_siem")],
230
- Annotated[OutputChronicle, Tag("chronicle")],
231
- Annotated[OutputDatabricks, Tag("databricks")],
163
+ OutputDevnull,
164
+ OutputDefault,
165
+ OutputRouter,
166
+ OutputSnmp,
167
+ OutputNetflow,
168
+ OutputDiskSpool,
169
+ OutputRing,
170
+ OutputStatsdExt,
171
+ OutputGraphite,
172
+ OutputStatsd,
173
+ OutputGooglePubsub,
174
+ OutputCriblTCP,
175
+ OutputSplunk,
176
+ OutputSns,
177
+ OutputCloudwatch,
178
+ OutputAzureEventhub,
179
+ OutputWavefront,
180
+ OutputSignalfx,
181
+ OutputHoneycomb,
182
+ OutputSumoLogic,
183
+ OutputCrowdstrikeNextGenSiem,
184
+ OutputHumioHec,
185
+ OutputTcpjson,
186
+ OutputElasticCloud,
187
+ OutputKinesis,
188
+ OutputConfluentCloud,
189
+ OutputKafka,
190
+ OutputExabeam,
191
+ OutputNewrelicEvents,
192
+ OutputAzureLogs,
193
+ OutputSplunkLb,
194
+ OutputSyslog,
195
+ OutputSqs,
196
+ OutputNewrelic,
197
+ OutputCriblHTTP,
198
+ OutputXsiam,
199
+ OutputFilesystem,
200
+ OutputDataset,
201
+ OutputLoki,
202
+ OutputSplunkHec,
203
+ OutputDynatraceHTTP,
204
+ OutputServiceNow,
205
+ OutputChronicle,
206
+ OutputDynatraceOtlp,
207
+ OutputElastic,
208
+ OutputGoogleChronicle,
209
+ OutputCriblLake,
210
+ OutputDatadog,
211
+ OutputPrometheus,
212
+ OutputMsk,
213
+ OutputSentinelOneAiSiem,
214
+ OutputSentinel,
215
+ OutputInfluxdb,
216
+ OutputGoogleCloudStorage,
217
+ OutputAzureBlob,
218
+ OutputOpenTelemetry,
219
+ OutputMinio,
220
+ OutputClickHouse,
221
+ OutputSecurityLake,
222
+ OutputDlS3,
223
+ OutputS3,
224
+ OutputWebhook,
225
+ OutputAzureDataExplorer,
226
+ OutputGoogleCloudLogging,
227
+ OutputGrafanaCloud,
232
228
  ],
233
- Discriminator(lambda m: get_discriminator(m, "type", "type")),
234
- ]
229
+ )
@@ -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 models, utils
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
@@ -19,29 +18,22 @@ class OutputAzureBlobType(str, Enum):
19
18
  class OutputAzureBlobDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
20
19
  r"""Format of the output data"""
21
20
 
22
- # JSON
23
21
  JSON = "json"
24
- # Raw
25
22
  RAW = "raw"
26
- # Parquet
27
23
  PARQUET = "parquet"
28
24
 
29
25
 
30
26
  class OutputAzureBlobBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
31
27
  r"""How to handle events when all receivers are exerting backpressure"""
32
28
 
33
- # Block
34
29
  BLOCK = "block"
35
- # Drop
36
30
  DROP = "drop"
37
31
 
38
32
 
39
33
  class OutputAzureBlobDiskSpaceProtection(str, Enum, metaclass=utils.OpenEnumMeta):
40
34
  r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
41
35
 
42
- # Block
43
36
  BLOCK = "block"
44
- # Drop
45
37
  DROP = "drop"
46
38
 
47
39
 
@@ -53,15 +45,10 @@ class OutputAzureBlobAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMet
53
45
 
54
46
 
55
47
  class BlobAccessTier(str, Enum, metaclass=utils.OpenEnumMeta):
56
- # Default account access tier
57
48
  INFERRED = "Inferred"
58
- # Hot tier
59
49
  HOT = "Hot"
60
- # Cool tier
61
50
  COOL = "Cool"
62
- # Cold tier
63
51
  COLD = "Cold"
64
- # Archive tier
65
52
  ARCHIVE = "Archive"
66
53
 
67
54
 
@@ -75,31 +62,23 @@ class OutputAzureBlobCompression(str, Enum, metaclass=utils.OpenEnumMeta):
75
62
  class OutputAzureBlobCompressionLevel(str, Enum, metaclass=utils.OpenEnumMeta):
76
63
  r"""Compression level to apply before moving files to final destination"""
77
64
 
78
- # Best Speed
79
65
  BEST_SPEED = "best_speed"
80
- # Normal
81
66
  NORMAL = "normal"
82
- # Best Compression
83
67
  BEST_COMPRESSION = "best_compression"
84
68
 
85
69
 
86
70
  class OutputAzureBlobParquetVersion(str, Enum, metaclass=utils.OpenEnumMeta):
87
71
  r"""Determines which data types are supported and how they are represented"""
88
72
 
89
- # 1.0
90
73
  PARQUET_1_0 = "PARQUET_1_0"
91
- # 2.4
92
74
  PARQUET_2_4 = "PARQUET_2_4"
93
- # 2.6
94
75
  PARQUET_2_6 = "PARQUET_2_6"
95
76
 
96
77
 
97
78
  class OutputAzureBlobDataPageVersion(str, Enum, metaclass=utils.OpenEnumMeta):
98
79
  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."""
99
80
 
100
- # V1
101
81
  DATA_PAGE_V1 = "DATA_PAGE_V1"
102
- # V2
103
82
  DATA_PAGE_V2 = "DATA_PAGE_V2"
104
83
 
105
84
 
@@ -185,8 +164,6 @@ class OutputAzureBlobTypedDict(TypedDict):
185
164
  r"""Compression level to apply before moving files to final destination"""
186
165
  automatic_schema: NotRequired[bool]
187
166
  r"""Automatically calculate the schema based on the events of each Parquet file generated"""
188
- parquet_schema: NotRequired[str]
189
- r"""To add a new schema, navigate to Processing > Knowledge > Parquet Schemas"""
190
167
  parquet_version: NotRequired[OutputAzureBlobParquetVersion]
191
168
  r"""Determines which data types are supported and how they are represented"""
192
169
  parquet_data_page_version: NotRequired[OutputAzureBlobDataPageVersion]
@@ -390,11 +367,6 @@ class OutputAzureBlob(BaseModel):
390
367
  ] = False
391
368
  r"""Automatically calculate the schema based on the events of each Parquet file generated"""
392
369
 
393
- parquet_schema: Annotated[Optional[str], pydantic.Field(alias="parquetSchema")] = (
394
- None
395
- )
396
- r"""To add a new schema, navigate to Processing > Knowledge > Parquet Schemas"""
397
-
398
370
  parquet_version: Annotated[
399
371
  Annotated[
400
372
  Optional[OutputAzureBlobParquetVersion],
@@ -495,84 +467,3 @@ class OutputAzureBlob(BaseModel):
495
467
  r"""Select or create a stored text secret"""
496
468
 
497
469
  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