cribl-control-plane 0.2.0b7__py3-none-any.whl → 0.2.0rc1__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 +5 -3
- cribl_control_plane/groups_sdk.py +12 -12
- cribl_control_plane/models/__init__.py +27 -45
- cribl_control_plane/models/appmode.py +14 -0
- cribl_control_plane/models/authtoken.py +1 -8
- cribl_control_plane/models/configgroup.py +3 -29
- cribl_control_plane/models/createversionundoop.py +3 -3
- cribl_control_plane/models/distributedsummary.py +0 -6
- cribl_control_plane/models/hbcriblinfo.py +3 -14
- cribl_control_plane/models/heartbeatmetadata.py +0 -3
- cribl_control_plane/models/input.py +63 -65
- cribl_control_plane/models/inputappscope.py +0 -4
- cribl_control_plane/models/inputazureblob.py +0 -4
- cribl_control_plane/models/inputcollection.py +0 -4
- cribl_control_plane/models/inputconfluentcloud.py +18 -8
- cribl_control_plane/models/inputcribl.py +0 -4
- cribl_control_plane/models/inputcriblhttp.py +0 -4
- cribl_control_plane/models/inputcribllakehttp.py +0 -4
- cribl_control_plane/models/inputcriblmetrics.py +0 -4
- cribl_control_plane/models/inputcribltcp.py +0 -4
- cribl_control_plane/models/inputcrowdstrike.py +0 -7
- cribl_control_plane/models/inputdatadogagent.py +0 -4
- cribl_control_plane/models/inputdatagen.py +0 -4
- cribl_control_plane/models/inputedgeprometheus.py +0 -12
- cribl_control_plane/models/inputelastic.py +0 -11
- cribl_control_plane/models/inputeventhub.py +0 -6
- cribl_control_plane/models/inputexec.py +0 -4
- cribl_control_plane/models/inputfile.py +0 -6
- cribl_control_plane/models/inputfirehose.py +0 -4
- cribl_control_plane/models/inputgooglepubsub.py +0 -7
- cribl_control_plane/models/inputgrafana.py +0 -8
- cribl_control_plane/models/inputhttp.py +0 -4
- cribl_control_plane/models/inputhttpraw.py +0 -4
- cribl_control_plane/models/inputjournalfiles.py +0 -4
- cribl_control_plane/models/inputkafka.py +17 -8
- cribl_control_plane/models/inputkinesis.py +0 -15
- cribl_control_plane/models/inputkubeevents.py +0 -4
- cribl_control_plane/models/inputkubelogs.py +0 -4
- cribl_control_plane/models/inputkubemetrics.py +0 -4
- cribl_control_plane/models/inputloki.py +0 -4
- cribl_control_plane/models/inputmetrics.py +0 -4
- cribl_control_plane/models/inputmodeldriventelemetry.py +0 -4
- cribl_control_plane/models/inputmsk.py +17 -7
- cribl_control_plane/models/inputnetflow.py +0 -4
- cribl_control_plane/models/inputoffice365mgmt.py +0 -11
- cribl_control_plane/models/inputoffice365msgtrace.py +0 -11
- cribl_control_plane/models/inputoffice365service.py +0 -11
- cribl_control_plane/models/inputopentelemetry.py +0 -8
- cribl_control_plane/models/inputprometheus.py +0 -10
- cribl_control_plane/models/inputprometheusrw.py +0 -4
- cribl_control_plane/models/inputrawudp.py +0 -4
- cribl_control_plane/models/inputs3.py +0 -7
- cribl_control_plane/models/inputs3inventory.py +0 -7
- cribl_control_plane/models/inputsecuritylake.py +0 -7
- cribl_control_plane/models/inputsnmp.py +0 -11
- cribl_control_plane/models/inputsplunk.py +0 -9
- cribl_control_plane/models/inputsplunkhec.py +0 -4
- cribl_control_plane/models/inputsplunksearch.py +0 -7
- cribl_control_plane/models/inputsqs.py +0 -9
- cribl_control_plane/models/inputsyslog.py +0 -8
- cribl_control_plane/models/inputsystemmetrics.py +0 -32
- cribl_control_plane/models/inputsystemstate.py +0 -4
- cribl_control_plane/models/inputtcp.py +0 -4
- cribl_control_plane/models/inputtcpjson.py +0 -4
- cribl_control_plane/models/inputwef.py +0 -6
- cribl_control_plane/models/inputwindowsmetrics.py +0 -28
- cribl_control_plane/models/inputwineventlogs.py +0 -8
- cribl_control_plane/models/inputwiz.py +0 -7
- cribl_control_plane/models/inputwizwebhook.py +0 -4
- cribl_control_plane/models/inputzscalerhec.py +0 -4
- cribl_control_plane/models/jobinfo.py +1 -4
- cribl_control_plane/models/nodeprovidedinfo.py +1 -7
- cribl_control_plane/models/output.py +80 -85
- cribl_control_plane/models/outputazureblob.py +0 -20
- cribl_control_plane/models/outputazuredataexplorer.py +0 -28
- cribl_control_plane/models/outputazureeventhub.py +0 -17
- cribl_control_plane/models/outputazurelogs.py +0 -13
- cribl_control_plane/models/outputchronicle.py +0 -13
- cribl_control_plane/models/outputclickhouse.py +0 -17
- cribl_control_plane/models/outputcloudwatch.py +0 -13
- cribl_control_plane/models/outputconfluentcloud.py +18 -24
- cribl_control_plane/models/outputcriblhttp.py +0 -15
- cribl_control_plane/models/outputcribllake.py +0 -21
- cribl_control_plane/models/outputcribltcp.py +0 -12
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +0 -15
- cribl_control_plane/models/outputdatadog.py +0 -30
- cribl_control_plane/models/outputdataset.py +0 -23
- cribl_control_plane/models/outputdls3.py +0 -35
- cribl_control_plane/models/outputdynatracehttp.py +0 -22
- cribl_control_plane/models/outputdynatraceotlp.py +0 -22
- cribl_control_plane/models/outputelastic.py +0 -18
- cribl_control_plane/models/outputelasticcloud.py +0 -13
- cribl_control_plane/models/outputexabeam.py +0 -14
- cribl_control_plane/models/outputfilesystem.py +0 -15
- cribl_control_plane/models/outputgooglechronicle.py +0 -21
- cribl_control_plane/models/outputgooglecloudlogging.py +0 -19
- cribl_control_plane/models/outputgooglecloudstorage.py +0 -28
- cribl_control_plane/models/outputgooglepubsub.py +0 -13
- cribl_control_plane/models/outputgrafanacloud.py +0 -50
- cribl_control_plane/models/outputgraphite.py +0 -12
- cribl_control_plane/models/outputhoneycomb.py +0 -13
- cribl_control_plane/models/outputhumiohec.py +0 -15
- cribl_control_plane/models/outputinfluxdb.py +0 -19
- cribl_control_plane/models/outputkafka.py +17 -24
- cribl_control_plane/models/outputkinesis.py +0 -15
- cribl_control_plane/models/outputloki.py +0 -20
- cribl_control_plane/models/outputminio.py +0 -28
- cribl_control_plane/models/outputmsk.py +17 -23
- cribl_control_plane/models/outputnewrelic.py +0 -16
- cribl_control_plane/models/outputnewrelicevents.py +0 -16
- cribl_control_plane/models/outputopentelemetry.py +0 -22
- cribl_control_plane/models/outputprometheus.py +0 -13
- cribl_control_plane/models/outputring.py +0 -2
- cribl_control_plane/models/outputs3.py +0 -35
- cribl_control_plane/models/outputsecuritylake.py +0 -29
- cribl_control_plane/models/outputsentinel.py +0 -15
- cribl_control_plane/models/outputsentineloneaisiem.py +0 -13
- cribl_control_plane/models/outputservicenow.py +0 -21
- cribl_control_plane/models/outputsignalfx.py +0 -13
- cribl_control_plane/models/outputsns.py +0 -13
- cribl_control_plane/models/outputsplunk.py +0 -15
- cribl_control_plane/models/outputsplunkhec.py +0 -13
- cribl_control_plane/models/outputsplunklb.py +0 -15
- cribl_control_plane/models/outputsqs.py +0 -15
- cribl_control_plane/models/outputstatsd.py +0 -12
- cribl_control_plane/models/outputstatsdext.py +0 -12
- cribl_control_plane/models/outputsumologic.py +0 -15
- cribl_control_plane/models/outputsyslog.py +0 -24
- cribl_control_plane/models/outputtcpjson.py +0 -12
- cribl_control_plane/models/outputwavefront.py +0 -13
- cribl_control_plane/models/outputwebhook.py +0 -23
- cribl_control_plane/models/outputxsiam.py +0 -13
- cribl_control_plane/models/packinfo.py +5 -8
- cribl_control_plane/models/packinstallinfo.py +5 -8
- cribl_control_plane/models/{uploadpackresponse.py → routecloneconf.py} +4 -4
- cribl_control_plane/models/routeconf.py +4 -3
- cribl_control_plane/models/runnablejobcollection.py +0 -4
- cribl_control_plane/packs.py +7 -202
- {cribl_control_plane-0.2.0b7.dist-info → cribl_control_plane-0.2.0rc1.dist-info}/METADATA +16 -39
- {cribl_control_plane-0.2.0b7.dist-info → cribl_control_plane-0.2.0rc1.dist-info}/RECORD +141 -142
- cribl_control_plane/models/outputdatabricks.py +0 -291
- cribl_control_plane/models/updatepacksop.py +0 -27
- {cribl_control_plane-0.2.0b7.dist-info → cribl_control_plane-0.2.0rc1.dist-info}/WHEEL +0 -0
|
@@ -1,291 +0,0 @@
|
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import utils
|
|
5
|
-
from cribl_control_plane.types import BaseModel
|
|
6
|
-
from cribl_control_plane.utils import validate_open_enum
|
|
7
|
-
from enum import Enum
|
|
8
|
-
import pydantic
|
|
9
|
-
from pydantic.functional_validators import PlainValidator
|
|
10
|
-
from typing import List, Optional
|
|
11
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class OutputDatabricksType(str, Enum):
|
|
15
|
-
DATABRICKS = "databricks"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
class OutputDatabricksDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
|
-
r"""Format of the output data"""
|
|
20
|
-
|
|
21
|
-
# JSON
|
|
22
|
-
JSON = "json"
|
|
23
|
-
# Raw
|
|
24
|
-
RAW = "raw"
|
|
25
|
-
# Parquet
|
|
26
|
-
PARQUET = "parquet"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
class OutputDatabricksBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
|
-
r"""How to handle events when all receivers are exerting backpressure"""
|
|
31
|
-
|
|
32
|
-
# Block
|
|
33
|
-
BLOCK = "block"
|
|
34
|
-
# Drop
|
|
35
|
-
DROP = "drop"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
class OutputDatabricksDiskSpaceProtection(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
39
|
-
r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
|
|
40
|
-
|
|
41
|
-
# Block
|
|
42
|
-
BLOCK = "block"
|
|
43
|
-
# Drop
|
|
44
|
-
DROP = "drop"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
class OutputDatabricksAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
48
|
-
r"""Unity Catalog authentication method. Choose Manual to enter credentials directly, or Secret to use a stored secret."""
|
|
49
|
-
|
|
50
|
-
# Manual
|
|
51
|
-
MANUAL = "manual"
|
|
52
|
-
# Secret Key pair
|
|
53
|
-
SECRET = "secret"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
class OutputDatabricksTypedDict(TypedDict):
|
|
57
|
-
type: OutputDatabricksType
|
|
58
|
-
login_url: str
|
|
59
|
-
r"""URL for Unity Catalog OAuth token endpoint (example: 'https://your-workspace.cloud.databricks.com/oauth/token')"""
|
|
60
|
-
client_id: str
|
|
61
|
-
r"""JavaScript expression to compute the OAuth client ID for Unity Catalog authentication. Can be a constant."""
|
|
62
|
-
id: NotRequired[str]
|
|
63
|
-
r"""Unique ID for this output"""
|
|
64
|
-
pipeline: NotRequired[str]
|
|
65
|
-
r"""Pipeline to process data before sending out to this output"""
|
|
66
|
-
system_fields: NotRequired[List[str]]
|
|
67
|
-
r"""Fields to automatically add to events, such as cribl_pipe. Supports wildcards."""
|
|
68
|
-
environment: NotRequired[str]
|
|
69
|
-
r"""Optionally, enable this config only on a specified Git branch. If empty, will be enabled everywhere."""
|
|
70
|
-
streamtags: NotRequired[List[str]]
|
|
71
|
-
r"""Tags for filtering and grouping in @{product}"""
|
|
72
|
-
dest_path: NotRequired[str]
|
|
73
|
-
r"""Optional path to prepend to files before uploading. Must be a JavaScript expression (which can evaluate to a constant value), enclosed in quotes or backticks. Can be evaluated only at init time. Example referencing a Global Variable: `myEventsVolumePath-${C.vars.myVar}`"""
|
|
74
|
-
stage_path: NotRequired[str]
|
|
75
|
-
r"""Filesystem location in which to buffer files before compressing and moving to final destination. Use performant, stable storage."""
|
|
76
|
-
add_id_to_stage_path: NotRequired[bool]
|
|
77
|
-
r"""Add the Output ID value to staging location"""
|
|
78
|
-
remove_empty_dirs: NotRequired[bool]
|
|
79
|
-
r"""Remove empty staging directories after moving files"""
|
|
80
|
-
partition_expr: NotRequired[str]
|
|
81
|
-
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."""
|
|
82
|
-
format_: NotRequired[OutputDatabricksDataFormat]
|
|
83
|
-
r"""Format of the output data"""
|
|
84
|
-
base_file_name: NotRequired[str]
|
|
85
|
-
r"""JavaScript expression to define the output filename prefix (can be constant)"""
|
|
86
|
-
file_name_suffix: NotRequired[str]
|
|
87
|
-
r"""JavaScript expression to define the output filename suffix (can be constant). The `__format` variable refers to the value of the `Data format` field (`json` or `raw`). The `__compression` field refers to the kind of compression being used (`none` or `gzip`)."""
|
|
88
|
-
max_file_size_mb: NotRequired[float]
|
|
89
|
-
r"""Maximum uncompressed output file size. Files of this size will be closed and moved to final output location."""
|
|
90
|
-
max_file_open_time_sec: NotRequired[float]
|
|
91
|
-
r"""Maximum amount of time to write to a file. Files open for longer than this will be closed and moved to final output location."""
|
|
92
|
-
max_file_idle_time_sec: NotRequired[float]
|
|
93
|
-
r"""Maximum amount of time to keep inactive files open. Files open for longer than this will be closed and moved to final output location."""
|
|
94
|
-
max_open_files: NotRequired[float]
|
|
95
|
-
r"""Maximum number of files to keep open concurrently. When exceeded, @{product} will close the oldest open files and move them to the final output location."""
|
|
96
|
-
header_line: NotRequired[str]
|
|
97
|
-
r"""If set, this line will be written to the beginning of each output file"""
|
|
98
|
-
write_high_water_mark: NotRequired[float]
|
|
99
|
-
r"""Buffer size used to write to a file"""
|
|
100
|
-
on_backpressure: NotRequired[OutputDatabricksBackpressureBehavior]
|
|
101
|
-
r"""How to handle events when all receivers are exerting backpressure"""
|
|
102
|
-
deadletter_enabled: NotRequired[bool]
|
|
103
|
-
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"""
|
|
104
|
-
on_disk_full_backpressure: NotRequired[OutputDatabricksDiskSpaceProtection]
|
|
105
|
-
r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
|
|
106
|
-
unity_auth_method: NotRequired[OutputDatabricksAuthenticationMethod]
|
|
107
|
-
r"""Unity Catalog authentication method. Choose Manual to enter credentials directly, or Secret to use a stored secret."""
|
|
108
|
-
scope: NotRequired[str]
|
|
109
|
-
r"""OAuth scope for Unity Catalog authentication"""
|
|
110
|
-
token_timeout_secs: NotRequired[float]
|
|
111
|
-
r"""How often the OAuth token should be refreshed"""
|
|
112
|
-
default_catalog: NotRequired[str]
|
|
113
|
-
r"""Name of the catalog to use for the output"""
|
|
114
|
-
default_schema: NotRequired[str]
|
|
115
|
-
r"""Name of the catalog schema to use for the output"""
|
|
116
|
-
events_volume_name: NotRequired[str]
|
|
117
|
-
r"""Name of the events volume in Databricks"""
|
|
118
|
-
over_write_files: NotRequired[bool]
|
|
119
|
-
r"""Uploaded files should be overwritten if they already exist. If disabled, upload will fail if a file already exists."""
|
|
120
|
-
description: NotRequired[str]
|
|
121
|
-
client_secret: NotRequired[str]
|
|
122
|
-
r"""JavaScript expression to compute the OAuth client secret for Unity Catalog authentication. Can be a constant."""
|
|
123
|
-
client_text_secret: NotRequired[str]
|
|
124
|
-
r"""Select or create a stored text secret"""
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
class OutputDatabricks(BaseModel):
|
|
128
|
-
type: OutputDatabricksType
|
|
129
|
-
|
|
130
|
-
login_url: Annotated[str, pydantic.Field(alias="loginUrl")]
|
|
131
|
-
r"""URL for Unity Catalog OAuth token endpoint (example: 'https://your-workspace.cloud.databricks.com/oauth/token')"""
|
|
132
|
-
|
|
133
|
-
client_id: Annotated[str, pydantic.Field(alias="clientId")]
|
|
134
|
-
r"""JavaScript expression to compute the OAuth client ID for Unity Catalog authentication. Can be a constant."""
|
|
135
|
-
|
|
136
|
-
id: Optional[str] = None
|
|
137
|
-
r"""Unique ID for this output"""
|
|
138
|
-
|
|
139
|
-
pipeline: Optional[str] = None
|
|
140
|
-
r"""Pipeline to process data before sending out to this output"""
|
|
141
|
-
|
|
142
|
-
system_fields: Annotated[
|
|
143
|
-
Optional[List[str]], pydantic.Field(alias="systemFields")
|
|
144
|
-
] = None
|
|
145
|
-
r"""Fields to automatically add to events, such as cribl_pipe. Supports wildcards."""
|
|
146
|
-
|
|
147
|
-
environment: Optional[str] = None
|
|
148
|
-
r"""Optionally, enable this config only on a specified Git branch. If empty, will be enabled everywhere."""
|
|
149
|
-
|
|
150
|
-
streamtags: Optional[List[str]] = None
|
|
151
|
-
r"""Tags for filtering and grouping in @{product}"""
|
|
152
|
-
|
|
153
|
-
dest_path: Annotated[Optional[str], pydantic.Field(alias="destPath")] = ""
|
|
154
|
-
r"""Optional path to prepend to files before uploading. Must be a JavaScript expression (which can evaluate to a constant value), enclosed in quotes or backticks. Can be evaluated only at init time. Example referencing a Global Variable: `myEventsVolumePath-${C.vars.myVar}`"""
|
|
155
|
-
|
|
156
|
-
stage_path: Annotated[Optional[str], pydantic.Field(alias="stagePath")] = (
|
|
157
|
-
"$CRIBL_HOME/state/outputs/staging"
|
|
158
|
-
)
|
|
159
|
-
r"""Filesystem location in which to buffer files before compressing and moving to final destination. Use performant, stable storage."""
|
|
160
|
-
|
|
161
|
-
add_id_to_stage_path: Annotated[
|
|
162
|
-
Optional[bool], pydantic.Field(alias="addIdToStagePath")
|
|
163
|
-
] = True
|
|
164
|
-
r"""Add the Output ID value to staging location"""
|
|
165
|
-
|
|
166
|
-
remove_empty_dirs: Annotated[
|
|
167
|
-
Optional[bool], pydantic.Field(alias="removeEmptyDirs")
|
|
168
|
-
] = True
|
|
169
|
-
r"""Remove empty staging directories after moving files"""
|
|
170
|
-
|
|
171
|
-
partition_expr: Annotated[Optional[str], pydantic.Field(alias="partitionExpr")] = (
|
|
172
|
-
"C.Time.strftime(_time ? _time : Date.now()/1000, '%Y/%m/%d')"
|
|
173
|
-
)
|
|
174
|
-
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."""
|
|
175
|
-
|
|
176
|
-
format_: Annotated[
|
|
177
|
-
Annotated[
|
|
178
|
-
Optional[OutputDatabricksDataFormat],
|
|
179
|
-
PlainValidator(validate_open_enum(False)),
|
|
180
|
-
],
|
|
181
|
-
pydantic.Field(alias="format"),
|
|
182
|
-
] = OutputDatabricksDataFormat.JSON
|
|
183
|
-
r"""Format of the output data"""
|
|
184
|
-
|
|
185
|
-
base_file_name: Annotated[Optional[str], pydantic.Field(alias="baseFileName")] = (
|
|
186
|
-
"`CriblOut`"
|
|
187
|
-
)
|
|
188
|
-
r"""JavaScript expression to define the output filename prefix (can be constant)"""
|
|
189
|
-
|
|
190
|
-
file_name_suffix: Annotated[
|
|
191
|
-
Optional[str], pydantic.Field(alias="fileNameSuffix")
|
|
192
|
-
] = '`.${C.env["CRIBL_WORKER_ID"]}.${__format}${__compression === "gzip" ? ".gz" : ""}`'
|
|
193
|
-
r"""JavaScript expression to define the output filename suffix (can be constant). The `__format` variable refers to the value of the `Data format` field (`json` or `raw`). The `__compression` field refers to the kind of compression being used (`none` or `gzip`)."""
|
|
194
|
-
|
|
195
|
-
max_file_size_mb: Annotated[
|
|
196
|
-
Optional[float], pydantic.Field(alias="maxFileSizeMB")
|
|
197
|
-
] = 32
|
|
198
|
-
r"""Maximum uncompressed output file size. Files of this size will be closed and moved to final output location."""
|
|
199
|
-
|
|
200
|
-
max_file_open_time_sec: Annotated[
|
|
201
|
-
Optional[float], pydantic.Field(alias="maxFileOpenTimeSec")
|
|
202
|
-
] = 300
|
|
203
|
-
r"""Maximum amount of time to write to a file. Files open for longer than this will be closed and moved to final output location."""
|
|
204
|
-
|
|
205
|
-
max_file_idle_time_sec: Annotated[
|
|
206
|
-
Optional[float], pydantic.Field(alias="maxFileIdleTimeSec")
|
|
207
|
-
] = 30
|
|
208
|
-
r"""Maximum amount of time to keep inactive files open. Files open for longer than this will be closed and moved to final output location."""
|
|
209
|
-
|
|
210
|
-
max_open_files: Annotated[Optional[float], pydantic.Field(alias="maxOpenFiles")] = (
|
|
211
|
-
100
|
|
212
|
-
)
|
|
213
|
-
r"""Maximum number of files to keep open concurrently. When exceeded, @{product} will close the oldest open files and move them to the final output location."""
|
|
214
|
-
|
|
215
|
-
header_line: Annotated[Optional[str], pydantic.Field(alias="headerLine")] = ""
|
|
216
|
-
r"""If set, this line will be written to the beginning of each output file"""
|
|
217
|
-
|
|
218
|
-
write_high_water_mark: Annotated[
|
|
219
|
-
Optional[float], pydantic.Field(alias="writeHighWaterMark")
|
|
220
|
-
] = 64
|
|
221
|
-
r"""Buffer size used to write to a file"""
|
|
222
|
-
|
|
223
|
-
on_backpressure: Annotated[
|
|
224
|
-
Annotated[
|
|
225
|
-
Optional[OutputDatabricksBackpressureBehavior],
|
|
226
|
-
PlainValidator(validate_open_enum(False)),
|
|
227
|
-
],
|
|
228
|
-
pydantic.Field(alias="onBackpressure"),
|
|
229
|
-
] = OutputDatabricksBackpressureBehavior.BLOCK
|
|
230
|
-
r"""How to handle events when all receivers are exerting backpressure"""
|
|
231
|
-
|
|
232
|
-
deadletter_enabled: Annotated[
|
|
233
|
-
Optional[bool], pydantic.Field(alias="deadletterEnabled")
|
|
234
|
-
] = False
|
|
235
|
-
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"""
|
|
236
|
-
|
|
237
|
-
on_disk_full_backpressure: Annotated[
|
|
238
|
-
Annotated[
|
|
239
|
-
Optional[OutputDatabricksDiskSpaceProtection],
|
|
240
|
-
PlainValidator(validate_open_enum(False)),
|
|
241
|
-
],
|
|
242
|
-
pydantic.Field(alias="onDiskFullBackpressure"),
|
|
243
|
-
] = OutputDatabricksDiskSpaceProtection.BLOCK
|
|
244
|
-
r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
|
|
245
|
-
|
|
246
|
-
unity_auth_method: Annotated[
|
|
247
|
-
Annotated[
|
|
248
|
-
Optional[OutputDatabricksAuthenticationMethod],
|
|
249
|
-
PlainValidator(validate_open_enum(False)),
|
|
250
|
-
],
|
|
251
|
-
pydantic.Field(alias="unityAuthMethod"),
|
|
252
|
-
] = OutputDatabricksAuthenticationMethod.MANUAL
|
|
253
|
-
r"""Unity Catalog authentication method. Choose Manual to enter credentials directly, or Secret to use a stored secret."""
|
|
254
|
-
|
|
255
|
-
scope: Optional[str] = "all-apis"
|
|
256
|
-
r"""OAuth scope for Unity Catalog authentication"""
|
|
257
|
-
|
|
258
|
-
token_timeout_secs: Annotated[
|
|
259
|
-
Optional[float], pydantic.Field(alias="tokenTimeoutSecs")
|
|
260
|
-
] = 3600
|
|
261
|
-
r"""How often the OAuth token should be refreshed"""
|
|
262
|
-
|
|
263
|
-
default_catalog: Annotated[
|
|
264
|
-
Optional[str], pydantic.Field(alias="defaultCatalog")
|
|
265
|
-
] = "main"
|
|
266
|
-
r"""Name of the catalog to use for the output"""
|
|
267
|
-
|
|
268
|
-
default_schema: Annotated[Optional[str], pydantic.Field(alias="defaultSchema")] = (
|
|
269
|
-
"external"
|
|
270
|
-
)
|
|
271
|
-
r"""Name of the catalog schema to use for the output"""
|
|
272
|
-
|
|
273
|
-
events_volume_name: Annotated[
|
|
274
|
-
Optional[str], pydantic.Field(alias="eventsVolumeName")
|
|
275
|
-
] = "events"
|
|
276
|
-
r"""Name of the events volume in Databricks"""
|
|
277
|
-
|
|
278
|
-
over_write_files: Annotated[
|
|
279
|
-
Optional[bool], pydantic.Field(alias="overWriteFiles")
|
|
280
|
-
] = False
|
|
281
|
-
r"""Uploaded files should be overwritten if they already exist. If disabled, upload will fail if a file already exists."""
|
|
282
|
-
|
|
283
|
-
description: Optional[str] = None
|
|
284
|
-
|
|
285
|
-
client_secret: Annotated[Optional[str], pydantic.Field(alias="clientSecret")] = None
|
|
286
|
-
r"""JavaScript expression to compute the OAuth client secret for Unity Catalog authentication. Can be a constant."""
|
|
287
|
-
|
|
288
|
-
client_text_secret: Annotated[
|
|
289
|
-
Optional[str], pydantic.Field(alias="clientTextSecret")
|
|
290
|
-
] = None
|
|
291
|
-
r"""Select or create a stored text secret"""
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane.types import BaseModel
|
|
5
|
-
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
6
|
-
import io
|
|
7
|
-
from typing import IO, Union
|
|
8
|
-
from typing_extensions import Annotated, TypedDict
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class UpdatePacksRequestTypedDict(TypedDict):
|
|
12
|
-
filename: str
|
|
13
|
-
r"""Filename of the Pack file to upload."""
|
|
14
|
-
request_body: Union[bytes, IO[bytes], io.BufferedReader]
|
|
15
|
-
r"""Binary file content"""
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
class UpdatePacksRequest(BaseModel):
|
|
19
|
-
filename: Annotated[
|
|
20
|
-
str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
|
|
21
|
-
]
|
|
22
|
-
r"""Filename of the Pack file to upload."""
|
|
23
|
-
|
|
24
|
-
request_body: Annotated[
|
|
25
|
-
Union[bytes, IO[bytes], io.BufferedReader], FieldMetadata(request=True)
|
|
26
|
-
]
|
|
27
|
-
r"""Binary file content"""
|
|
File without changes
|