cribl-control-plane 0.2.1rc11__py3-none-any.whl → 0.4.0a6__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/acl.py +4 -4
- cribl_control_plane/branches.py +4 -4
- cribl_control_plane/commits.py +28 -28
- cribl_control_plane/commits_files.py +8 -8
- cribl_control_plane/configs_versions.py +8 -4
- cribl_control_plane/destinations.py +20 -20
- cribl_control_plane/destinations_pq.py +8 -8
- cribl_control_plane/groups_sdk.py +48 -24
- cribl_control_plane/hectokens.py +16 -8
- cribl_control_plane/lakedatasets.py +40 -20
- cribl_control_plane/models/__init__.py +568 -214
- cribl_control_plane/models/createconfiggroupbyproductop.py +20 -1
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +19 -1
- cribl_control_plane/models/createinputhectokenbyidop.py +20 -1
- cribl_control_plane/models/{countedlistgitdiffresult.py → createinputop.py} +9 -5
- cribl_control_plane/models/{countedlistgitshowresult.py → createoutputop.py} +9 -5
- cribl_control_plane/models/createoutputtestbyidop.py +20 -1
- cribl_control_plane/models/{countedlistpackinstallinfo.py → createpacksop.py} +6 -2
- cribl_control_plane/models/createpipelineop.py +24 -0
- cribl_control_plane/models/createroutesappendbyidop.py +20 -2
- cribl_control_plane/models/createversioncommitop.py +19 -1
- cribl_control_plane/models/{countedliststring.py → createversionpushop.py} +6 -2
- cribl_control_plane/models/createversionrevertop.py +19 -1
- cribl_control_plane/models/createversionundoop.py +18 -1
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +20 -1
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +20 -1
- cribl_control_plane/models/deleteinputbyidop.py +20 -1
- cribl_control_plane/models/deleteoutputbyidop.py +20 -1
- cribl_control_plane/models/deleteoutputpqbyidop.py +19 -1
- cribl_control_plane/models/deletepacksbyidop.py +20 -1
- cribl_control_plane/models/deletepipelinebyidop.py +20 -1
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +19 -1
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +19 -1
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +19 -1
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +19 -1
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +20 -1
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +20 -1
- cribl_control_plane/models/getinputbyidop.py +20 -1
- cribl_control_plane/models/getmasterworkerentryop.py +18 -1
- cribl_control_plane/models/getoutputbyidop.py +20 -1
- cribl_control_plane/models/getoutputpqbyidop.py +20 -1
- cribl_control_plane/models/getoutputsamplesbyidop.py +20 -1
- cribl_control_plane/models/getpacksbyidop.py +20 -1
- cribl_control_plane/models/getpacksop.py +19 -1
- cribl_control_plane/models/getpipelinebyidop.py +20 -1
- cribl_control_plane/models/getroutesbyidop.py +20 -1
- cribl_control_plane/models/getsummaryop.py +19 -1
- cribl_control_plane/models/{countedlistbranchinfo.py → getversionbranchop.py} +6 -2
- cribl_control_plane/models/getversioncountop.py +19 -1
- cribl_control_plane/models/getversiondiffop.py +19 -1
- cribl_control_plane/models/getversionfilesop.py +19 -1
- cribl_control_plane/models/{countedlistgitinfo.py → getversioninfoop.py} +6 -2
- cribl_control_plane/models/getversionop.py +19 -1
- cribl_control_plane/models/getversionshowop.py +19 -1
- cribl_control_plane/models/getversionstatusop.py +19 -1
- cribl_control_plane/models/input.py +18 -15
- cribl_control_plane/models/inputcloudflarehec.py +513 -0
- cribl_control_plane/models/inputfile.py +7 -0
- cribl_control_plane/models/listconfiggroupbyproductop.py +19 -1
- cribl_control_plane/models/{countedlistinput.py → listinputop.py} +6 -2
- cribl_control_plane/models/listmasterworkerentryop.py +19 -1
- cribl_control_plane/models/{countedlistoutput.py → listoutputop.py} +6 -2
- cribl_control_plane/models/{countedlistpipeline.py → listpipelineop.py} +6 -2
- cribl_control_plane/models/{countedlistroutes.py → listroutesop.py} +6 -2
- cribl_control_plane/models/output.py +23 -17
- cribl_control_plane/models/outputazureblob.py +14 -0
- cribl_control_plane/models/outputazuredataexplorer.py +7 -0
- cribl_control_plane/models/outputchronicle.py +5 -0
- cribl_control_plane/models/outputcloudflarer2.py +632 -0
- cribl_control_plane/models/outputcribllake.py +14 -0
- cribl_control_plane/models/outputdatabricks.py +19 -0
- cribl_control_plane/models/outputdls3.py +14 -0
- cribl_control_plane/models/outputexabeam.py +7 -0
- cribl_control_plane/models/outputfilesystem.py +14 -0
- cribl_control_plane/models/outputgooglecloudstorage.py +14 -0
- cribl_control_plane/models/outputmicrosoftfabric.py +540 -0
- cribl_control_plane/models/outputminio.py +19 -4
- cribl_control_plane/models/outputs3.py +14 -0
- cribl_control_plane/models/outputsecuritylake.py +14 -0
- cribl_control_plane/models/outputsyslog.py +7 -0
- cribl_control_plane/models/runnablejobcollection.py +0 -8
- cribl_control_plane/models/runnablejobexecutor.py +0 -4
- cribl_control_plane/models/runnablejobscheduledsearch.py +0 -4
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +19 -1
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +20 -1
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +20 -1
- cribl_control_plane/models/updateinputbyidop.py +19 -1
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +20 -1
- cribl_control_plane/models/updateoutputbyidop.py +19 -1
- cribl_control_plane/models/updatepacksbyidop.py +20 -1
- cribl_control_plane/models/updatepipelinebyidop.py +19 -1
- cribl_control_plane/models/updateroutesbyidop.py +19 -1
- cribl_control_plane/nodes.py +12 -8
- cribl_control_plane/packs.py +20 -20
- cribl_control_plane/pipelines.py +20 -20
- cribl_control_plane/routes_sdk.py +20 -16
- cribl_control_plane/samples.py +8 -8
- cribl_control_plane/sources.py +20 -20
- cribl_control_plane/statuses.py +4 -4
- cribl_control_plane/summaries.py +4 -8
- cribl_control_plane/teams.py +4 -4
- cribl_control_plane/utils/retries.py +69 -5
- cribl_control_plane/utils/unmarshal_json_response.py +15 -1
- cribl_control_plane/versions_configs.py +4 -4
- {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a6.dist-info}/METADATA +6 -14
- {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a6.dist-info}/RECORD +109 -123
- cribl_control_plane-0.4.0a6.dist-info/licenses/LICENSE +201 -0
- cribl_control_plane/models/countedlistconfiggroup.py +0 -20
- cribl_control_plane/models/countedlistcribllakedataset.py +0 -20
- cribl_control_plane/models/countedlistdistributedsummary.py +0 -20
- cribl_control_plane/models/countedlistgitcommitsummary.py +0 -20
- cribl_control_plane/models/countedlistgitcountresult.py +0 -20
- cribl_control_plane/models/countedlistgitfilesresponse.py +0 -20
- cribl_control_plane/models/countedlistgitlogresult.py +0 -20
- cribl_control_plane/models/countedlistgitrevertresult.py +0 -20
- cribl_control_plane/models/countedlistgitstatusresult.py +0 -20
- cribl_control_plane/models/countedlistinputsplunkhec.py +0 -20
- cribl_control_plane/models/countedlistjobinfo.py +0 -20
- cribl_control_plane/models/countedlistmasterworkerentry.py +0 -20
- cribl_control_plane/models/countedlistnumber.py +0 -19
- cribl_control_plane/models/countedlistobject.py +0 -19
- cribl_control_plane/models/countedlistoutputsamplesresponse.py +0 -20
- cribl_control_plane/models/countedlistoutputtestresponse.py +0 -20
- cribl_control_plane/models/countedlistpackinfo.py +0 -20
- cribl_control_plane/models/countedlistteamaccesscontrollist.py +0 -20
- cribl_control_plane/models/countedlistuseraccesscontrollist.py +0 -20
- {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a6.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,513 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from cribl_control_plane import models, 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 import field_serializer
|
|
10
|
+
from pydantic.functional_validators import PlainValidator
|
|
11
|
+
from typing import Any, List, Optional
|
|
12
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class InputCloudflareHecType(str, Enum):
|
|
16
|
+
CLOUDFLARE_HEC = "cloudflare_hec"
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class InputCloudflareHecConnectionTypedDict(TypedDict):
|
|
20
|
+
output: str
|
|
21
|
+
pipeline: NotRequired[str]
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class InputCloudflareHecConnection(BaseModel):
|
|
25
|
+
output: str
|
|
26
|
+
|
|
27
|
+
pipeline: Optional[str] = None
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class InputCloudflareHecMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
31
|
+
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
32
|
+
|
|
33
|
+
# Smart
|
|
34
|
+
SMART = "smart"
|
|
35
|
+
# Always On
|
|
36
|
+
ALWAYS = "always"
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class InputCloudflareHecCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
40
|
+
r"""Codec to use to compress the persisted data"""
|
|
41
|
+
|
|
42
|
+
# None
|
|
43
|
+
NONE = "none"
|
|
44
|
+
# Gzip
|
|
45
|
+
GZIP = "gzip"
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
class InputCloudflareHecPqControlsTypedDict(TypedDict):
|
|
49
|
+
pass
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
class InputCloudflareHecPqControls(BaseModel):
|
|
53
|
+
pass
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
class InputCloudflareHecPqTypedDict(TypedDict):
|
|
57
|
+
mode: NotRequired[InputCloudflareHecMode]
|
|
58
|
+
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
59
|
+
max_buffer_size: NotRequired[float]
|
|
60
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
61
|
+
commit_frequency: NotRequired[float]
|
|
62
|
+
r"""The number of events to send downstream before committing that Stream has read them"""
|
|
63
|
+
max_file_size: NotRequired[str]
|
|
64
|
+
r"""The maximum size to store in each queue file before closing and optionally compressing. Enter a numeral with units of KB, MB, etc."""
|
|
65
|
+
max_size: NotRequired[str]
|
|
66
|
+
r"""The maximum disk space that the queue can consume (as an average per Worker Process) before queueing stops. Enter a numeral with units of KB, MB, etc."""
|
|
67
|
+
path: NotRequired[str]
|
|
68
|
+
r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/inputs/<input-id>"""
|
|
69
|
+
compress: NotRequired[InputCloudflareHecCompression]
|
|
70
|
+
r"""Codec to use to compress the persisted data"""
|
|
71
|
+
pq_controls: NotRequired[InputCloudflareHecPqControlsTypedDict]
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
class InputCloudflareHecPq(BaseModel):
|
|
75
|
+
mode: Annotated[
|
|
76
|
+
Optional[InputCloudflareHecMode], PlainValidator(validate_open_enum(False))
|
|
77
|
+
] = InputCloudflareHecMode.ALWAYS
|
|
78
|
+
r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
|
|
79
|
+
|
|
80
|
+
max_buffer_size: Annotated[
|
|
81
|
+
Optional[float], pydantic.Field(alias="maxBufferSize")
|
|
82
|
+
] = 1000
|
|
83
|
+
r"""The maximum number of events to hold in memory before writing the events to disk"""
|
|
84
|
+
|
|
85
|
+
commit_frequency: Annotated[
|
|
86
|
+
Optional[float], pydantic.Field(alias="commitFrequency")
|
|
87
|
+
] = 42
|
|
88
|
+
r"""The number of events to send downstream before committing that Stream has read them"""
|
|
89
|
+
|
|
90
|
+
max_file_size: Annotated[Optional[str], pydantic.Field(alias="maxFileSize")] = (
|
|
91
|
+
"1 MB"
|
|
92
|
+
)
|
|
93
|
+
r"""The maximum size to store in each queue file before closing and optionally compressing. Enter a numeral with units of KB, MB, etc."""
|
|
94
|
+
|
|
95
|
+
max_size: Annotated[Optional[str], pydantic.Field(alias="maxSize")] = "5GB"
|
|
96
|
+
r"""The maximum disk space that the queue can consume (as an average per Worker Process) before queueing stops. Enter a numeral with units of KB, MB, etc."""
|
|
97
|
+
|
|
98
|
+
path: Optional[str] = "$CRIBL_HOME/state/queues"
|
|
99
|
+
r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/inputs/<input-id>"""
|
|
100
|
+
|
|
101
|
+
compress: Annotated[
|
|
102
|
+
Optional[InputCloudflareHecCompression],
|
|
103
|
+
PlainValidator(validate_open_enum(False)),
|
|
104
|
+
] = InputCloudflareHecCompression.NONE
|
|
105
|
+
r"""Codec to use to compress the persisted data"""
|
|
106
|
+
|
|
107
|
+
pq_controls: Annotated[
|
|
108
|
+
Optional[InputCloudflareHecPqControls], pydantic.Field(alias="pqControls")
|
|
109
|
+
] = None
|
|
110
|
+
|
|
111
|
+
@field_serializer("mode")
|
|
112
|
+
def serialize_mode(self, value):
|
|
113
|
+
if isinstance(value, str):
|
|
114
|
+
try:
|
|
115
|
+
return models.InputCloudflareHecMode(value)
|
|
116
|
+
except ValueError:
|
|
117
|
+
return value
|
|
118
|
+
return value
|
|
119
|
+
|
|
120
|
+
@field_serializer("compress")
|
|
121
|
+
def serialize_compress(self, value):
|
|
122
|
+
if isinstance(value, str):
|
|
123
|
+
try:
|
|
124
|
+
return models.InputCloudflareHecCompression(value)
|
|
125
|
+
except ValueError:
|
|
126
|
+
return value
|
|
127
|
+
return value
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
class InputCloudflareHecAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
131
|
+
r"""Select Secret to use a text secret to authenticate"""
|
|
132
|
+
|
|
133
|
+
SECRET = "secret"
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
class InputCloudflareHecAuthTokenMetadatumTypedDict(TypedDict):
|
|
137
|
+
name: str
|
|
138
|
+
value: str
|
|
139
|
+
r"""JavaScript expression to compute field's value, enclosed in quotes or backticks. (Can evaluate to a constant.)"""
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
class InputCloudflareHecAuthTokenMetadatum(BaseModel):
|
|
143
|
+
name: str
|
|
144
|
+
|
|
145
|
+
value: str
|
|
146
|
+
r"""JavaScript expression to compute field's value, enclosed in quotes or backticks. (Can evaluate to a constant.)"""
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
class InputCloudflareHecAuthTokenTypedDict(TypedDict):
|
|
150
|
+
auth_type: NotRequired[InputCloudflareHecAuthenticationMethod]
|
|
151
|
+
r"""Select Secret to use a text secret to authenticate"""
|
|
152
|
+
token_secret: NotRequired[Any]
|
|
153
|
+
token: NotRequired[Any]
|
|
154
|
+
enabled: NotRequired[bool]
|
|
155
|
+
description: NotRequired[str]
|
|
156
|
+
allowed_indexes_at_token: NotRequired[List[str]]
|
|
157
|
+
r"""Enter the values you want to allow in the HEC event index field at the token level. Supports wildcards. To skip validation, leave blank."""
|
|
158
|
+
metadata: NotRequired[List[InputCloudflareHecAuthTokenMetadatumTypedDict]]
|
|
159
|
+
r"""Fields to add to events referencing this token"""
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
class InputCloudflareHecAuthToken(BaseModel):
|
|
163
|
+
auth_type: Annotated[
|
|
164
|
+
Annotated[
|
|
165
|
+
Optional[InputCloudflareHecAuthenticationMethod],
|
|
166
|
+
PlainValidator(validate_open_enum(False)),
|
|
167
|
+
],
|
|
168
|
+
pydantic.Field(alias="authType"),
|
|
169
|
+
] = InputCloudflareHecAuthenticationMethod.SECRET
|
|
170
|
+
r"""Select Secret to use a text secret to authenticate"""
|
|
171
|
+
|
|
172
|
+
token_secret: Annotated[Optional[Any], pydantic.Field(alias="tokenSecret")] = None
|
|
173
|
+
|
|
174
|
+
token: Optional[Any] = None
|
|
175
|
+
|
|
176
|
+
enabled: Optional[bool] = True
|
|
177
|
+
|
|
178
|
+
description: Optional[str] = None
|
|
179
|
+
|
|
180
|
+
allowed_indexes_at_token: Annotated[
|
|
181
|
+
Optional[List[str]], pydantic.Field(alias="allowedIndexesAtToken")
|
|
182
|
+
] = None
|
|
183
|
+
r"""Enter the values you want to allow in the HEC event index field at the token level. Supports wildcards. To skip validation, leave blank."""
|
|
184
|
+
|
|
185
|
+
metadata: Optional[List[InputCloudflareHecAuthTokenMetadatum]] = None
|
|
186
|
+
r"""Fields to add to events referencing this token"""
|
|
187
|
+
|
|
188
|
+
@field_serializer("auth_type")
|
|
189
|
+
def serialize_auth_type(self, value):
|
|
190
|
+
if isinstance(value, str):
|
|
191
|
+
try:
|
|
192
|
+
return models.InputCloudflareHecAuthenticationMethod(value)
|
|
193
|
+
except ValueError:
|
|
194
|
+
return value
|
|
195
|
+
return value
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
class InputCloudflareHecMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
199
|
+
TL_SV1 = "TLSv1"
|
|
200
|
+
TL_SV1_1 = "TLSv1.1"
|
|
201
|
+
TL_SV1_2 = "TLSv1.2"
|
|
202
|
+
TL_SV1_3 = "TLSv1.3"
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
class InputCloudflareHecMaximumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
206
|
+
TL_SV1 = "TLSv1"
|
|
207
|
+
TL_SV1_1 = "TLSv1.1"
|
|
208
|
+
TL_SV1_2 = "TLSv1.2"
|
|
209
|
+
TL_SV1_3 = "TLSv1.3"
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
class InputCloudflareHecTLSSettingsServerSideTypedDict(TypedDict):
|
|
213
|
+
disabled: NotRequired[bool]
|
|
214
|
+
request_cert: NotRequired[bool]
|
|
215
|
+
r"""Require clients to present their certificates. Used to perform client authentication using SSL certs."""
|
|
216
|
+
reject_unauthorized: NotRequired[bool]
|
|
217
|
+
r"""Reject certificates not authorized by a CA in the CA certificate path or by another trusted CA (such as the system's)"""
|
|
218
|
+
common_name_regex: NotRequired[str]
|
|
219
|
+
r"""Regex matching allowable common names in peer certificates' subject attribute"""
|
|
220
|
+
certificate_name: NotRequired[str]
|
|
221
|
+
r"""The name of the predefined certificate"""
|
|
222
|
+
priv_key_path: NotRequired[str]
|
|
223
|
+
r"""Path on server containing the private key to use. PEM format. Can reference $ENV_VARS."""
|
|
224
|
+
passphrase: NotRequired[str]
|
|
225
|
+
r"""Passphrase to use to decrypt private key"""
|
|
226
|
+
cert_path: NotRequired[str]
|
|
227
|
+
r"""Path on server containing certificates to use. PEM format. Can reference $ENV_VARS."""
|
|
228
|
+
ca_path: NotRequired[str]
|
|
229
|
+
r"""Path on server containing CA certificates to use. PEM format. Can reference $ENV_VARS."""
|
|
230
|
+
min_version: NotRequired[InputCloudflareHecMinimumTLSVersion]
|
|
231
|
+
max_version: NotRequired[InputCloudflareHecMaximumTLSVersion]
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
class InputCloudflareHecTLSSettingsServerSide(BaseModel):
|
|
235
|
+
disabled: Optional[bool] = True
|
|
236
|
+
|
|
237
|
+
request_cert: Annotated[Optional[bool], pydantic.Field(alias="requestCert")] = False
|
|
238
|
+
r"""Require clients to present their certificates. Used to perform client authentication using SSL certs."""
|
|
239
|
+
|
|
240
|
+
reject_unauthorized: Annotated[
|
|
241
|
+
Optional[bool], pydantic.Field(alias="rejectUnauthorized")
|
|
242
|
+
] = True
|
|
243
|
+
r"""Reject certificates not authorized by a CA in the CA certificate path or by another trusted CA (such as the system's)"""
|
|
244
|
+
|
|
245
|
+
common_name_regex: Annotated[
|
|
246
|
+
Optional[str], pydantic.Field(alias="commonNameRegex")
|
|
247
|
+
] = "/.*/"
|
|
248
|
+
r"""Regex matching allowable common names in peer certificates' subject attribute"""
|
|
249
|
+
|
|
250
|
+
certificate_name: Annotated[
|
|
251
|
+
Optional[str], pydantic.Field(alias="certificateName")
|
|
252
|
+
] = None
|
|
253
|
+
r"""The name of the predefined certificate"""
|
|
254
|
+
|
|
255
|
+
priv_key_path: Annotated[Optional[str], pydantic.Field(alias="privKeyPath")] = None
|
|
256
|
+
r"""Path on server containing the private key to use. PEM format. Can reference $ENV_VARS."""
|
|
257
|
+
|
|
258
|
+
passphrase: Optional[str] = None
|
|
259
|
+
r"""Passphrase to use to decrypt private key"""
|
|
260
|
+
|
|
261
|
+
cert_path: Annotated[Optional[str], pydantic.Field(alias="certPath")] = None
|
|
262
|
+
r"""Path on server containing certificates to use. PEM format. Can reference $ENV_VARS."""
|
|
263
|
+
|
|
264
|
+
ca_path: Annotated[Optional[str], pydantic.Field(alias="caPath")] = None
|
|
265
|
+
r"""Path on server containing CA certificates to use. PEM format. Can reference $ENV_VARS."""
|
|
266
|
+
|
|
267
|
+
min_version: Annotated[
|
|
268
|
+
Annotated[
|
|
269
|
+
Optional[InputCloudflareHecMinimumTLSVersion],
|
|
270
|
+
PlainValidator(validate_open_enum(False)),
|
|
271
|
+
],
|
|
272
|
+
pydantic.Field(alias="minVersion"),
|
|
273
|
+
] = None
|
|
274
|
+
|
|
275
|
+
max_version: Annotated[
|
|
276
|
+
Annotated[
|
|
277
|
+
Optional[InputCloudflareHecMaximumTLSVersion],
|
|
278
|
+
PlainValidator(validate_open_enum(False)),
|
|
279
|
+
],
|
|
280
|
+
pydantic.Field(alias="maxVersion"),
|
|
281
|
+
] = None
|
|
282
|
+
|
|
283
|
+
@field_serializer("min_version")
|
|
284
|
+
def serialize_min_version(self, value):
|
|
285
|
+
if isinstance(value, str):
|
|
286
|
+
try:
|
|
287
|
+
return models.InputCloudflareHecMinimumTLSVersion(value)
|
|
288
|
+
except ValueError:
|
|
289
|
+
return value
|
|
290
|
+
return value
|
|
291
|
+
|
|
292
|
+
@field_serializer("max_version")
|
|
293
|
+
def serialize_max_version(self, value):
|
|
294
|
+
if isinstance(value, str):
|
|
295
|
+
try:
|
|
296
|
+
return models.InputCloudflareHecMaximumTLSVersion(value)
|
|
297
|
+
except ValueError:
|
|
298
|
+
return value
|
|
299
|
+
return value
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
class InputCloudflareHecMetadatumTypedDict(TypedDict):
|
|
303
|
+
name: str
|
|
304
|
+
value: str
|
|
305
|
+
r"""JavaScript expression to compute field's value, enclosed in quotes or backticks. (Can evaluate to a constant.)"""
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
class InputCloudflareHecMetadatum(BaseModel):
|
|
309
|
+
name: str
|
|
310
|
+
|
|
311
|
+
value: str
|
|
312
|
+
r"""JavaScript expression to compute field's value, enclosed in quotes or backticks. (Can evaluate to a constant.)"""
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
class InputCloudflareHecTypedDict(TypedDict):
|
|
316
|
+
type: InputCloudflareHecType
|
|
317
|
+
port: float
|
|
318
|
+
r"""Port to listen on"""
|
|
319
|
+
hec_api: str
|
|
320
|
+
r"""Absolute path on which to listen for the Cloudflare HTTP Event Collector API requests. This input supports the /event endpoint."""
|
|
321
|
+
id: NotRequired[str]
|
|
322
|
+
r"""Unique ID for this input"""
|
|
323
|
+
disabled: NotRequired[bool]
|
|
324
|
+
pipeline: NotRequired[str]
|
|
325
|
+
r"""Pipeline to process data from this Source before sending it through the Routes"""
|
|
326
|
+
send_to_routes: NotRequired[bool]
|
|
327
|
+
r"""Select whether to send data to Routes, or directly to Destinations."""
|
|
328
|
+
environment: NotRequired[str]
|
|
329
|
+
r"""Optionally, enable this config only on a specified Git branch. If empty, will be enabled everywhere."""
|
|
330
|
+
pq_enabled: NotRequired[bool]
|
|
331
|
+
r"""Use a disk queue to minimize data loss when connected services block. See [Cribl Docs](https://docs.cribl.io/stream/persistent-queues) for PQ defaults (Cribl-managed Cloud Workers) and configuration options (on-prem and hybrid Workers)."""
|
|
332
|
+
streamtags: NotRequired[List[str]]
|
|
333
|
+
r"""Tags for filtering and grouping in @{product}"""
|
|
334
|
+
connections: NotRequired[List[InputCloudflareHecConnectionTypedDict]]
|
|
335
|
+
r"""Direct connections to Destinations, and optionally via a Pipeline or a Pack"""
|
|
336
|
+
pq: NotRequired[InputCloudflareHecPqTypedDict]
|
|
337
|
+
host: NotRequired[str]
|
|
338
|
+
r"""Address to bind on. Defaults to 0.0.0.0 (all addresses)."""
|
|
339
|
+
auth_tokens: NotRequired[List[InputCloudflareHecAuthTokenTypedDict]]
|
|
340
|
+
r"""Shared secrets to be provided by any client (Authorization: <token>). If empty, unauthorized access is permitted."""
|
|
341
|
+
tls: NotRequired[InputCloudflareHecTLSSettingsServerSideTypedDict]
|
|
342
|
+
max_active_req: NotRequired[float]
|
|
343
|
+
r"""Maximum number of active requests allowed per Worker Process. Set to 0 for unlimited. Caution: Increasing the limit above the default value, or setting it to unlimited, may degrade performance and reduce throughput."""
|
|
344
|
+
max_requests_per_socket: NotRequired[int]
|
|
345
|
+
r"""Maximum number of requests per socket before @{product} instructs the client to close the connection. Default is 0 (unlimited)."""
|
|
346
|
+
enable_proxy_header: NotRequired[bool]
|
|
347
|
+
r"""Extract the client IP and port from PROXY protocol v1/v2. When enabled, the X-Forwarded-For header is ignored. Disable to use the X-Forwarded-For header for client IP extraction."""
|
|
348
|
+
capture_headers: NotRequired[bool]
|
|
349
|
+
r"""Add request headers to events, in the __headers field"""
|
|
350
|
+
activity_log_sample_rate: NotRequired[float]
|
|
351
|
+
r"""How often request activity is logged at the `info` level. A value of 1 would log every request, 10 every 10th request, etc."""
|
|
352
|
+
request_timeout: NotRequired[float]
|
|
353
|
+
r"""How long to wait for an incoming request to complete before aborting it. Use 0 to disable."""
|
|
354
|
+
socket_timeout: NotRequired[float]
|
|
355
|
+
r"""How long @{product} should wait before assuming that an inactive socket has timed out. To wait forever, set to 0."""
|
|
356
|
+
keep_alive_timeout: NotRequired[float]
|
|
357
|
+
r"""After the last response is sent, @{product} will wait this long for additional data before closing the socket connection. Minimum 1 second, maximum 600 seconds (10 minutes)."""
|
|
358
|
+
enable_health_check: NotRequired[Any]
|
|
359
|
+
ip_allowlist_regex: NotRequired[str]
|
|
360
|
+
r"""Messages from matched IP addresses will be processed, unless also matched by the denylist"""
|
|
361
|
+
ip_denylist_regex: NotRequired[str]
|
|
362
|
+
r"""Messages from matched IP addresses will be ignored. This takes precedence over the allowlist."""
|
|
363
|
+
metadata: NotRequired[List[InputCloudflareHecMetadatumTypedDict]]
|
|
364
|
+
r"""Fields to add to every event. May be overridden by fields added at the token or request level."""
|
|
365
|
+
allowed_indexes: NotRequired[List[str]]
|
|
366
|
+
r"""List values allowed in HEC event index field. Leave blank to skip validation. Supports wildcards. The values here can expand index validation at the token level."""
|
|
367
|
+
breaker_rulesets: NotRequired[List[str]]
|
|
368
|
+
r"""A list of event-breaking rulesets that will be applied, in order, to the input data stream"""
|
|
369
|
+
stale_channel_flush_ms: NotRequired[float]
|
|
370
|
+
r"""How long (in milliseconds) the Event Breaker will wait for new data to be sent to a specific channel before flushing the data stream out, as is, to the Pipelines"""
|
|
371
|
+
access_control_allow_origin: NotRequired[List[str]]
|
|
372
|
+
r"""HTTP origins to which @{product} should send CORS (cross-origin resource sharing) Access-Control-Allow-* headers. Supports wildcards."""
|
|
373
|
+
access_control_allow_headers: NotRequired[List[str]]
|
|
374
|
+
r"""HTTP headers that @{product} will send to allowed origins as \"Access-Control-Allow-Headers\" in a CORS preflight response. Use \"*\" to allow all headers."""
|
|
375
|
+
emit_token_metrics: NotRequired[bool]
|
|
376
|
+
r"""Emit per-token (<prefix>.http.perToken) and summary (<prefix>.http.summary) request metrics"""
|
|
377
|
+
description: NotRequired[str]
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
class InputCloudflareHec(BaseModel):
|
|
381
|
+
type: InputCloudflareHecType
|
|
382
|
+
|
|
383
|
+
port: float
|
|
384
|
+
r"""Port to listen on"""
|
|
385
|
+
|
|
386
|
+
hec_api: Annotated[str, pydantic.Field(alias="hecAPI")]
|
|
387
|
+
r"""Absolute path on which to listen for the Cloudflare HTTP Event Collector API requests. This input supports the /event endpoint."""
|
|
388
|
+
|
|
389
|
+
id: Optional[str] = None
|
|
390
|
+
r"""Unique ID for this input"""
|
|
391
|
+
|
|
392
|
+
disabled: Optional[bool] = False
|
|
393
|
+
|
|
394
|
+
pipeline: Optional[str] = None
|
|
395
|
+
r"""Pipeline to process data from this Source before sending it through the Routes"""
|
|
396
|
+
|
|
397
|
+
send_to_routes: Annotated[Optional[bool], pydantic.Field(alias="sendToRoutes")] = (
|
|
398
|
+
True
|
|
399
|
+
)
|
|
400
|
+
r"""Select whether to send data to Routes, or directly to Destinations."""
|
|
401
|
+
|
|
402
|
+
environment: Optional[str] = None
|
|
403
|
+
r"""Optionally, enable this config only on a specified Git branch. If empty, will be enabled everywhere."""
|
|
404
|
+
|
|
405
|
+
pq_enabled: Annotated[Optional[bool], pydantic.Field(alias="pqEnabled")] = False
|
|
406
|
+
r"""Use a disk queue to minimize data loss when connected services block. See [Cribl Docs](https://docs.cribl.io/stream/persistent-queues) for PQ defaults (Cribl-managed Cloud Workers) and configuration options (on-prem and hybrid Workers)."""
|
|
407
|
+
|
|
408
|
+
streamtags: Optional[List[str]] = None
|
|
409
|
+
r"""Tags for filtering and grouping in @{product}"""
|
|
410
|
+
|
|
411
|
+
connections: Optional[List[InputCloudflareHecConnection]] = None
|
|
412
|
+
r"""Direct connections to Destinations, and optionally via a Pipeline or a Pack"""
|
|
413
|
+
|
|
414
|
+
pq: Optional[InputCloudflareHecPq] = None
|
|
415
|
+
|
|
416
|
+
host: Optional[str] = "0.0.0.0"
|
|
417
|
+
r"""Address to bind on. Defaults to 0.0.0.0 (all addresses)."""
|
|
418
|
+
|
|
419
|
+
auth_tokens: Annotated[
|
|
420
|
+
Optional[List[InputCloudflareHecAuthToken]], pydantic.Field(alias="authTokens")
|
|
421
|
+
] = None
|
|
422
|
+
r"""Shared secrets to be provided by any client (Authorization: <token>). If empty, unauthorized access is permitted."""
|
|
423
|
+
|
|
424
|
+
tls: Optional[InputCloudflareHecTLSSettingsServerSide] = None
|
|
425
|
+
|
|
426
|
+
max_active_req: Annotated[Optional[float], pydantic.Field(alias="maxActiveReq")] = (
|
|
427
|
+
256
|
|
428
|
+
)
|
|
429
|
+
r"""Maximum number of active requests allowed per Worker Process. Set to 0 for unlimited. Caution: Increasing the limit above the default value, or setting it to unlimited, may degrade performance and reduce throughput."""
|
|
430
|
+
|
|
431
|
+
max_requests_per_socket: Annotated[
|
|
432
|
+
Optional[int], pydantic.Field(alias="maxRequestsPerSocket")
|
|
433
|
+
] = 0
|
|
434
|
+
r"""Maximum number of requests per socket before @{product} instructs the client to close the connection. Default is 0 (unlimited)."""
|
|
435
|
+
|
|
436
|
+
enable_proxy_header: Annotated[
|
|
437
|
+
Optional[bool], pydantic.Field(alias="enableProxyHeader")
|
|
438
|
+
] = False
|
|
439
|
+
r"""Extract the client IP and port from PROXY protocol v1/v2. When enabled, the X-Forwarded-For header is ignored. Disable to use the X-Forwarded-For header for client IP extraction."""
|
|
440
|
+
|
|
441
|
+
capture_headers: Annotated[
|
|
442
|
+
Optional[bool], pydantic.Field(alias="captureHeaders")
|
|
443
|
+
] = False
|
|
444
|
+
r"""Add request headers to events, in the __headers field"""
|
|
445
|
+
|
|
446
|
+
activity_log_sample_rate: Annotated[
|
|
447
|
+
Optional[float], pydantic.Field(alias="activityLogSampleRate")
|
|
448
|
+
] = 100
|
|
449
|
+
r"""How often request activity is logged at the `info` level. A value of 1 would log every request, 10 every 10th request, etc."""
|
|
450
|
+
|
|
451
|
+
request_timeout: Annotated[
|
|
452
|
+
Optional[float], pydantic.Field(alias="requestTimeout")
|
|
453
|
+
] = 0
|
|
454
|
+
r"""How long to wait for an incoming request to complete before aborting it. Use 0 to disable."""
|
|
455
|
+
|
|
456
|
+
socket_timeout: Annotated[
|
|
457
|
+
Optional[float], pydantic.Field(alias="socketTimeout")
|
|
458
|
+
] = 0
|
|
459
|
+
r"""How long @{product} should wait before assuming that an inactive socket has timed out. To wait forever, set to 0."""
|
|
460
|
+
|
|
461
|
+
keep_alive_timeout: Annotated[
|
|
462
|
+
Optional[float], pydantic.Field(alias="keepAliveTimeout")
|
|
463
|
+
] = 5
|
|
464
|
+
r"""After the last response is sent, @{product} will wait this long for additional data before closing the socket connection. Minimum 1 second, maximum 600 seconds (10 minutes)."""
|
|
465
|
+
|
|
466
|
+
enable_health_check: Annotated[
|
|
467
|
+
Optional[Any], pydantic.Field(alias="enableHealthCheck")
|
|
468
|
+
] = None
|
|
469
|
+
|
|
470
|
+
ip_allowlist_regex: Annotated[
|
|
471
|
+
Optional[str], pydantic.Field(alias="ipAllowlistRegex")
|
|
472
|
+
] = "/.*/"
|
|
473
|
+
r"""Messages from matched IP addresses will be processed, unless also matched by the denylist"""
|
|
474
|
+
|
|
475
|
+
ip_denylist_regex: Annotated[
|
|
476
|
+
Optional[str], pydantic.Field(alias="ipDenylistRegex")
|
|
477
|
+
] = "/^$/"
|
|
478
|
+
r"""Messages from matched IP addresses will be ignored. This takes precedence over the allowlist."""
|
|
479
|
+
|
|
480
|
+
metadata: Optional[List[InputCloudflareHecMetadatum]] = None
|
|
481
|
+
r"""Fields to add to every event. May be overridden by fields added at the token or request level."""
|
|
482
|
+
|
|
483
|
+
allowed_indexes: Annotated[
|
|
484
|
+
Optional[List[str]], pydantic.Field(alias="allowedIndexes")
|
|
485
|
+
] = None
|
|
486
|
+
r"""List values allowed in HEC event index field. Leave blank to skip validation. Supports wildcards. The values here can expand index validation at the token level."""
|
|
487
|
+
|
|
488
|
+
breaker_rulesets: Annotated[
|
|
489
|
+
Optional[List[str]], pydantic.Field(alias="breakerRulesets")
|
|
490
|
+
] = None
|
|
491
|
+
r"""A list of event-breaking rulesets that will be applied, in order, to the input data stream"""
|
|
492
|
+
|
|
493
|
+
stale_channel_flush_ms: Annotated[
|
|
494
|
+
Optional[float], pydantic.Field(alias="staleChannelFlushMs")
|
|
495
|
+
] = 10000
|
|
496
|
+
r"""How long (in milliseconds) the Event Breaker will wait for new data to be sent to a specific channel before flushing the data stream out, as is, to the Pipelines"""
|
|
497
|
+
|
|
498
|
+
access_control_allow_origin: Annotated[
|
|
499
|
+
Optional[List[str]], pydantic.Field(alias="accessControlAllowOrigin")
|
|
500
|
+
] = None
|
|
501
|
+
r"""HTTP origins to which @{product} should send CORS (cross-origin resource sharing) Access-Control-Allow-* headers. Supports wildcards."""
|
|
502
|
+
|
|
503
|
+
access_control_allow_headers: Annotated[
|
|
504
|
+
Optional[List[str]], pydantic.Field(alias="accessControlAllowHeaders")
|
|
505
|
+
] = None
|
|
506
|
+
r"""HTTP headers that @{product} will send to allowed origins as \"Access-Control-Allow-Headers\" in a CORS preflight response. Use \"*\" to allow all headers."""
|
|
507
|
+
|
|
508
|
+
emit_token_metrics: Annotated[
|
|
509
|
+
Optional[bool], pydantic.Field(alias="emitTokenMetrics")
|
|
510
|
+
] = False
|
|
511
|
+
r"""Emit per-token (<prefix>.http.perToken) and summary (<prefix>.http.summary) request metrics"""
|
|
512
|
+
|
|
513
|
+
description: Optional[str] = None
|
|
@@ -172,6 +172,8 @@ class InputFileTypedDict(TypedDict):
|
|
|
172
172
|
r"""Time, in seconds, between scanning for files"""
|
|
173
173
|
filenames: NotRequired[List[str]]
|
|
174
174
|
r"""The full path of discovered files are matched against this wildcard list"""
|
|
175
|
+
filter_archived_files: NotRequired[bool]
|
|
176
|
+
r"""Apply filename allowlist to file entries in archive file types, like tar or zip."""
|
|
175
177
|
tail_only: NotRequired[bool]
|
|
176
178
|
r"""Read only new entries at the end of all files discovered at next startup. @{product} will then read newly discovered files from the head. Disable this to resume reading all files from head."""
|
|
177
179
|
idle_timeout: NotRequired[float]
|
|
@@ -245,6 +247,11 @@ class InputFile(BaseModel):
|
|
|
245
247
|
filenames: Optional[List[str]] = None
|
|
246
248
|
r"""The full path of discovered files are matched against this wildcard list"""
|
|
247
249
|
|
|
250
|
+
filter_archived_files: Annotated[
|
|
251
|
+
Optional[bool], pydantic.Field(alias="filterArchivedFiles")
|
|
252
|
+
] = False
|
|
253
|
+
r"""Apply filename allowlist to file entries in archive file types, like tar or zip."""
|
|
254
|
+
|
|
248
255
|
tail_only: Annotated[Optional[bool], pydantic.Field(alias="tailOnly")] = True
|
|
249
256
|
r"""Read only new entries at the end of all files discovered at next startup. @{product} will then read newly discovered files from the head. Disable this to resume reading all files from head."""
|
|
250
257
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from .configgroup import ConfigGroup, ConfigGroupTypedDict
|
|
4
5
|
from .productscore import ProductsCore
|
|
5
6
|
from cribl_control_plane import models
|
|
6
7
|
from cribl_control_plane.types import BaseModel
|
|
@@ -12,7 +13,7 @@ from cribl_control_plane.utils import (
|
|
|
12
13
|
)
|
|
13
14
|
from pydantic import field_serializer
|
|
14
15
|
from pydantic.functional_validators import PlainValidator
|
|
15
|
-
from typing import Optional
|
|
16
|
+
from typing import List, Optional
|
|
16
17
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
17
18
|
|
|
18
19
|
|
|
@@ -44,3 +45,20 @@ class ListConfigGroupByProductRequest(BaseModel):
|
|
|
44
45
|
except ValueError:
|
|
45
46
|
return value
|
|
46
47
|
return value
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class ListConfigGroupByProductResponseTypedDict(TypedDict):
|
|
51
|
+
r"""a list of ConfigGroup objects"""
|
|
52
|
+
|
|
53
|
+
count: NotRequired[int]
|
|
54
|
+
r"""number of items present in the items array"""
|
|
55
|
+
items: NotRequired[List[ConfigGroupTypedDict]]
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class ListConfigGroupByProductResponse(BaseModel):
|
|
59
|
+
r"""a list of ConfigGroup objects"""
|
|
60
|
+
|
|
61
|
+
count: Optional[int] = None
|
|
62
|
+
r"""number of items present in the items array"""
|
|
63
|
+
|
|
64
|
+
items: Optional[List[ConfigGroup]] = None
|
|
@@ -7,13 +7,17 @@ from typing import List, Optional
|
|
|
7
7
|
from typing_extensions import NotRequired, TypedDict
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class
|
|
10
|
+
class ListInputResponseTypedDict(TypedDict):
|
|
11
|
+
r"""a list of Source objects"""
|
|
12
|
+
|
|
11
13
|
count: NotRequired[int]
|
|
12
14
|
r"""number of items present in the items array"""
|
|
13
15
|
items: NotRequired[List[InputTypedDict]]
|
|
14
16
|
|
|
15
17
|
|
|
16
|
-
class
|
|
18
|
+
class ListInputResponse(BaseModel):
|
|
19
|
+
r"""a list of Source objects"""
|
|
20
|
+
|
|
17
21
|
count: Optional[int] = None
|
|
18
22
|
r"""number of items present in the items array"""
|
|
19
23
|
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from .masterworkerentry import MasterWorkerEntry, MasterWorkerEntryTypedDict
|
|
4
5
|
from cribl_control_plane.types import BaseModel
|
|
5
6
|
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
6
7
|
import pydantic
|
|
7
|
-
from typing import Optional
|
|
8
|
+
from typing import List, Optional
|
|
8
9
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
10
|
|
|
10
11
|
|
|
@@ -62,3 +63,20 @@ class ListMasterWorkerEntryRequest(BaseModel):
|
|
|
62
63
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
63
64
|
] = None
|
|
64
65
|
r"""Starting point from which to retrieve results for this request. Use with <code>limit</code> to paginate the response into manageable batches."""
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
class ListMasterWorkerEntryResponseTypedDict(TypedDict):
|
|
69
|
+
r"""a list of MasterWorkerEntry objects"""
|
|
70
|
+
|
|
71
|
+
count: NotRequired[int]
|
|
72
|
+
r"""number of items present in the items array"""
|
|
73
|
+
items: NotRequired[List[MasterWorkerEntryTypedDict]]
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
class ListMasterWorkerEntryResponse(BaseModel):
|
|
77
|
+
r"""a list of MasterWorkerEntry objects"""
|
|
78
|
+
|
|
79
|
+
count: Optional[int] = None
|
|
80
|
+
r"""number of items present in the items array"""
|
|
81
|
+
|
|
82
|
+
items: Optional[List[MasterWorkerEntry]] = None
|
|
@@ -7,13 +7,17 @@ from typing import List, Optional
|
|
|
7
7
|
from typing_extensions import NotRequired, TypedDict
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class
|
|
10
|
+
class ListOutputResponseTypedDict(TypedDict):
|
|
11
|
+
r"""a list of Destination objects"""
|
|
12
|
+
|
|
11
13
|
count: NotRequired[int]
|
|
12
14
|
r"""number of items present in the items array"""
|
|
13
15
|
items: NotRequired[List[OutputTypedDict]]
|
|
14
16
|
|
|
15
17
|
|
|
16
|
-
class
|
|
18
|
+
class ListOutputResponse(BaseModel):
|
|
19
|
+
r"""a list of Destination objects"""
|
|
20
|
+
|
|
17
21
|
count: Optional[int] = None
|
|
18
22
|
r"""number of items present in the items array"""
|
|
19
23
|
|
|
@@ -7,13 +7,17 @@ from typing import List, Optional
|
|
|
7
7
|
from typing_extensions import NotRequired, TypedDict
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class
|
|
10
|
+
class ListPipelineResponseTypedDict(TypedDict):
|
|
11
|
+
r"""a list of Pipeline objects"""
|
|
12
|
+
|
|
11
13
|
count: NotRequired[int]
|
|
12
14
|
r"""number of items present in the items array"""
|
|
13
15
|
items: NotRequired[List[PipelineTypedDict]]
|
|
14
16
|
|
|
15
17
|
|
|
16
|
-
class
|
|
18
|
+
class ListPipelineResponse(BaseModel):
|
|
19
|
+
r"""a list of Pipeline objects"""
|
|
20
|
+
|
|
17
21
|
count: Optional[int] = None
|
|
18
22
|
r"""number of items present in the items array"""
|
|
19
23
|
|