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.
- cribl_control_plane/_version.py +4 -4
- cribl_control_plane/errors/__init__.py +5 -8
- cribl_control_plane/errors/{healthserverstatus_error.py → healthstatus_error.py} +9 -10
- cribl_control_plane/groups_sdk.py +28 -52
- cribl_control_plane/health.py +16 -22
- cribl_control_plane/models/__init__.py +54 -217
- cribl_control_plane/models/appmode.py +14 -0
- cribl_control_plane/models/authtoken.py +1 -5
- cribl_control_plane/models/cacheconnection.py +0 -20
- cribl_control_plane/models/configgroup.py +7 -55
- cribl_control_plane/models/configgroupcloud.py +1 -11
- cribl_control_plane/models/createconfiggroupbyproductop.py +5 -17
- cribl_control_plane/models/createroutesappendbyidop.py +2 -2
- cribl_control_plane/models/createversionundoop.py +3 -3
- 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/deleteoutputpqbyidop.py +2 -2
- cribl_control_plane/models/distributedsummary.py +0 -6
- cribl_control_plane/models/error.py +16 -0
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +0 -20
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +0 -20
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +0 -11
- cribl_control_plane/models/gethealthinfoop.py +17 -0
- cribl_control_plane/models/getsummaryop.py +0 -11
- cribl_control_plane/models/hbcriblinfo.py +3 -24
- cribl_control_plane/models/{healthserverstatus.py → healthstatus.py} +8 -27
- cribl_control_plane/models/heartbeatmetadata.py +0 -3
- cribl_control_plane/models/input.py +78 -80
- cribl_control_plane/models/inputappscope.py +17 -80
- cribl_control_plane/models/inputazureblob.py +1 -33
- cribl_control_plane/models/inputcollection.py +1 -24
- cribl_control_plane/models/inputconfluentcloud.py +18 -195
- cribl_control_plane/models/inputcribl.py +1 -24
- cribl_control_plane/models/inputcriblhttp.py +17 -62
- cribl_control_plane/models/inputcribllakehttp.py +17 -62
- cribl_control_plane/models/inputcriblmetrics.py +1 -24
- cribl_control_plane/models/inputcribltcp.py +17 -62
- cribl_control_plane/models/inputcrowdstrike.py +1 -54
- cribl_control_plane/models/inputdatadogagent.py +17 -62
- cribl_control_plane/models/inputdatagen.py +1 -24
- cribl_control_plane/models/inputedgeprometheus.py +34 -147
- cribl_control_plane/models/inputelastic.py +27 -119
- cribl_control_plane/models/inputeventhub.py +1 -182
- cribl_control_plane/models/inputexec.py +1 -33
- cribl_control_plane/models/inputfile.py +3 -42
- cribl_control_plane/models/inputfirehose.py +17 -62
- cribl_control_plane/models/inputgooglepubsub.py +1 -36
- cribl_control_plane/models/inputgrafana.py +32 -157
- cribl_control_plane/models/inputhttp.py +17 -62
- cribl_control_plane/models/inputhttpraw.py +17 -62
- cribl_control_plane/models/inputjournalfiles.py +1 -24
- cribl_control_plane/models/inputkafka.py +17 -189
- cribl_control_plane/models/inputkinesis.py +1 -80
- cribl_control_plane/models/inputkubeevents.py +1 -24
- cribl_control_plane/models/inputkubelogs.py +1 -33
- cribl_control_plane/models/inputkubemetrics.py +1 -33
- cribl_control_plane/models/inputloki.py +17 -71
- cribl_control_plane/models/inputmetrics.py +17 -62
- cribl_control_plane/models/inputmodeldriventelemetry.py +17 -62
- cribl_control_plane/models/inputmsk.py +18 -81
- cribl_control_plane/models/inputnetflow.py +1 -24
- cribl_control_plane/models/inputoffice365mgmt.py +1 -67
- cribl_control_plane/models/inputoffice365msgtrace.py +1 -67
- cribl_control_plane/models/inputoffice365service.py +1 -67
- cribl_control_plane/models/inputopentelemetry.py +16 -92
- cribl_control_plane/models/inputprometheus.py +34 -138
- cribl_control_plane/models/inputprometheusrw.py +17 -71
- cribl_control_plane/models/inputrawudp.py +1 -24
- cribl_control_plane/models/inputs3.py +1 -45
- cribl_control_plane/models/inputs3inventory.py +1 -54
- cribl_control_plane/models/inputsecuritylake.py +1 -54
- cribl_control_plane/models/inputsnmp.py +1 -40
- cribl_control_plane/models/inputsplunk.py +17 -85
- cribl_control_plane/models/inputsplunkhec.py +16 -70
- cribl_control_plane/models/inputsplunksearch.py +1 -63
- cribl_control_plane/models/inputsqs.py +1 -56
- cribl_control_plane/models/inputsyslog.py +32 -121
- cribl_control_plane/models/inputsystemmetrics.py +9 -142
- cribl_control_plane/models/inputsystemstate.py +1 -33
- cribl_control_plane/models/inputtcp.py +17 -81
- cribl_control_plane/models/inputtcpjson.py +17 -71
- cribl_control_plane/models/inputwef.py +1 -71
- cribl_control_plane/models/inputwindowsmetrics.py +9 -129
- cribl_control_plane/models/inputwineventlogs.py +1 -60
- cribl_control_plane/models/inputwiz.py +1 -45
- cribl_control_plane/models/inputwizwebhook.py +17 -62
- cribl_control_plane/models/inputzscalerhec.py +16 -70
- cribl_control_plane/models/jobinfo.py +1 -4
- cribl_control_plane/models/jobstatus.py +3 -34
- cribl_control_plane/models/listconfiggroupbyproductop.py +0 -11
- cribl_control_plane/models/logininfo.py +3 -3
- cribl_control_plane/models/masterworkerentry.py +1 -11
- cribl_control_plane/models/nodeprovidedinfo.py +1 -11
- cribl_control_plane/models/nodeupgradestatus.py +0 -38
- cribl_control_plane/models/output.py +88 -93
- cribl_control_plane/models/outputazureblob.py +1 -110
- cribl_control_plane/models/outputazuredataexplorer.py +87 -452
- cribl_control_plane/models/outputazureeventhub.py +19 -281
- cribl_control_plane/models/outputazurelogs.py +19 -115
- cribl_control_plane/models/outputchronicle.py +19 -115
- cribl_control_plane/models/outputclickhouse.py +19 -155
- cribl_control_plane/models/outputcloudwatch.py +19 -106
- cribl_control_plane/models/outputconfluentcloud.py +38 -311
- cribl_control_plane/models/outputcriblhttp.py +19 -135
- cribl_control_plane/models/outputcribllake.py +1 -97
- cribl_control_plane/models/outputcribltcp.py +19 -132
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +20 -129
- cribl_control_plane/models/outputdatadog.py +19 -159
- cribl_control_plane/models/outputdataset.py +19 -143
- cribl_control_plane/models/outputdiskspool.py +1 -11
- cribl_control_plane/models/outputdls3.py +1 -152
- cribl_control_plane/models/outputdynatracehttp.py +19 -160
- cribl_control_plane/models/outputdynatraceotlp.py +19 -160
- cribl_control_plane/models/outputelastic.py +19 -163
- cribl_control_plane/models/outputelasticcloud.py +19 -140
- cribl_control_plane/models/outputexabeam.py +1 -61
- cribl_control_plane/models/outputfilesystem.py +1 -87
- cribl_control_plane/models/outputgooglechronicle.py +20 -166
- cribl_control_plane/models/outputgooglecloudlogging.py +20 -131
- cribl_control_plane/models/outputgooglecloudstorage.py +1 -136
- cribl_control_plane/models/outputgooglepubsub.py +19 -106
- cribl_control_plane/models/outputgrafanacloud.py +37 -288
- cribl_control_plane/models/outputgraphite.py +19 -105
- cribl_control_plane/models/outputhoneycomb.py +19 -115
- cribl_control_plane/models/outputhumiohec.py +19 -126
- cribl_control_plane/models/outputinfluxdb.py +19 -130
- cribl_control_plane/models/outputkafka.py +34 -302
- cribl_control_plane/models/outputkinesis.py +19 -133
- cribl_control_plane/models/outputloki.py +17 -129
- cribl_control_plane/models/outputminio.py +1 -145
- cribl_control_plane/models/outputmsk.py +34 -193
- cribl_control_plane/models/outputnewrelic.py +19 -136
- cribl_control_plane/models/outputnewrelicevents.py +20 -128
- cribl_control_plane/models/outputopentelemetry.py +19 -178
- cribl_control_plane/models/outputprometheus.py +19 -115
- cribl_control_plane/models/outputring.py +1 -31
- cribl_control_plane/models/outputs3.py +1 -152
- cribl_control_plane/models/outputsecuritylake.py +1 -114
- cribl_control_plane/models/outputsentinel.py +19 -135
- cribl_control_plane/models/outputsentineloneaisiem.py +20 -134
- cribl_control_plane/models/outputservicenow.py +19 -168
- cribl_control_plane/models/outputsignalfx.py +19 -115
- cribl_control_plane/models/outputsns.py +17 -113
- cribl_control_plane/models/outputsplunk.py +19 -153
- cribl_control_plane/models/outputsplunkhec.py +19 -208
- cribl_control_plane/models/outputsplunklb.py +19 -182
- cribl_control_plane/models/outputsqs.py +17 -124
- cribl_control_plane/models/outputstatsd.py +19 -105
- cribl_control_plane/models/outputstatsdext.py +19 -105
- cribl_control_plane/models/outputsumologic.py +19 -117
- cribl_control_plane/models/outputsyslog.py +96 -259
- cribl_control_plane/models/outputtcpjson.py +19 -141
- cribl_control_plane/models/outputwavefront.py +19 -115
- cribl_control_plane/models/outputwebhook.py +19 -161
- cribl_control_plane/models/outputxsiam.py +17 -113
- cribl_control_plane/models/packinfo.py +5 -8
- cribl_control_plane/models/packinstallinfo.py +5 -8
- cribl_control_plane/models/resourcepolicy.py +0 -11
- cribl_control_plane/models/{uploadpackresponse.py → routecloneconf.py} +4 -4
- cribl_control_plane/models/routeconf.py +4 -3
- cribl_control_plane/models/runnablejobcollection.py +9 -72
- cribl_control_plane/models/runnablejobexecutor.py +9 -32
- cribl_control_plane/models/runnablejobscheduledsearch.py +9 -23
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +0 -11
- cribl_control_plane/packs.py +7 -202
- cribl_control_plane/routes_sdk.py +6 -6
- cribl_control_plane/tokens.py +15 -23
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.3.0a1.dist-info}/METADATA +9 -50
- cribl_control_plane-0.3.0a1.dist-info/RECORD +330 -0
- cribl_control_plane/models/groupcreaterequest.py +0 -171
- cribl_control_plane/models/outpostnodeinfo.py +0 -16
- cribl_control_plane/models/outputdatabricks.py +0 -482
- cribl_control_plane/models/updatepacksop.py +0 -25
- cribl_control_plane-0.2.1rc7.dist-info/RECORD +0 -331
- {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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
141
|
+
OutputSentinelOneAiSiemTypedDict,
|
|
147
142
|
OutputSentinelTypedDict,
|
|
148
|
-
OutputAzureBlobTypedDict,
|
|
149
143
|
OutputInfluxdbTypedDict,
|
|
150
|
-
|
|
151
|
-
|
|
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 =
|
|
160
|
+
Output = TypeAliasType(
|
|
161
|
+
"Output",
|
|
165
162
|
Union[
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
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
|
-
|
|
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
|
|
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
|