cribl-control-plane 0.2.1rc11__py3-none-any.whl → 0.3.0b12__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 +3 -3
- 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 +391 -235
- 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 +1 -1
- cribl_control_plane/models/inputcriblhttp.py +6 -24
- cribl_control_plane/models/inputcribltcp.py +0 -25
- 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 +2 -2
- cribl_control_plane/models/outputcriblhttp.py +0 -23
- cribl_control_plane/models/outputcribltcp.py +0 -25
- 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/versions_configs.py +4 -4
- {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.3.0b12.dist-info}/METADATA +5 -14
- {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.3.0b12.dist-info}/RECORD +93 -111
- 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.3.0b12.dist-info}/WHEEL +0 -0
|
@@ -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 .gitfilesresponse import GitFilesResponse, GitFilesResponseTypedDict
|
|
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
|
|
|
@@ -29,3 +30,20 @@ class GetVersionFilesRequest(BaseModel):
|
|
|
29
30
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
30
31
|
] = None
|
|
31
32
|
r"""The Git commit hash to use as the starting point for the request."""
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class GetVersionFilesResponseTypedDict(TypedDict):
|
|
36
|
+
r"""a list of GitFilesResponse objects"""
|
|
37
|
+
|
|
38
|
+
count: NotRequired[int]
|
|
39
|
+
r"""number of items present in the items array"""
|
|
40
|
+
items: NotRequired[List[GitFilesResponseTypedDict]]
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
class GetVersionFilesResponse(BaseModel):
|
|
44
|
+
r"""a list of GitFilesResponse objects"""
|
|
45
|
+
|
|
46
|
+
count: Optional[int] = None
|
|
47
|
+
r"""number of items present in the items array"""
|
|
48
|
+
|
|
49
|
+
items: Optional[List[GitFilesResponse]] = 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 GetVersionInfoResponseTypedDict(TypedDict):
|
|
11
|
+
r"""a list of GitInfo objects"""
|
|
12
|
+
|
|
11
13
|
count: NotRequired[int]
|
|
12
14
|
r"""number of items present in the items array"""
|
|
13
15
|
items: NotRequired[List[GitInfoTypedDict]]
|
|
14
16
|
|
|
15
17
|
|
|
16
|
-
class
|
|
18
|
+
class GetVersionInfoResponse(BaseModel):
|
|
19
|
+
r"""a list of GitInfo 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 .gitlogresult import GitLogResult, GitLogResultTypedDict
|
|
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
|
|
|
@@ -28,3 +29,20 @@ class GetVersionRequest(BaseModel):
|
|
|
28
29
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
29
30
|
] = None
|
|
30
31
|
r"""Maximum number of commits to return in the response for this request."""
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class GetVersionResponseTypedDict(TypedDict):
|
|
35
|
+
r"""a list of GitLogResult objects"""
|
|
36
|
+
|
|
37
|
+
count: NotRequired[int]
|
|
38
|
+
r"""number of items present in the items array"""
|
|
39
|
+
items: NotRequired[List[GitLogResultTypedDict]]
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class GetVersionResponse(BaseModel):
|
|
43
|
+
r"""a list of GitLogResult objects"""
|
|
44
|
+
|
|
45
|
+
count: Optional[int] = None
|
|
46
|
+
r"""number of items present in the items array"""
|
|
47
|
+
|
|
48
|
+
items: Optional[List[GitLogResult]] = None
|
|
@@ -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 .gitshowresult import GitShowResult, GitShowResultTypedDict
|
|
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
|
|
|
@@ -45,3 +46,20 @@ class GetVersionShowRequest(BaseModel):
|
|
|
45
46
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
46
47
|
] = None
|
|
47
48
|
r"""Number of lines of the diff to return. Default is 1000. Set to <code>0</code> to return the full diff, regardless of the number of lines."""
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
class GetVersionShowResponseTypedDict(TypedDict):
|
|
52
|
+
r"""a list of GitShowResult objects"""
|
|
53
|
+
|
|
54
|
+
count: NotRequired[int]
|
|
55
|
+
r"""number of items present in the items array"""
|
|
56
|
+
items: NotRequired[List[GitShowResultTypedDict]]
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
class GetVersionShowResponse(BaseModel):
|
|
60
|
+
r"""a list of GitShowResult objects"""
|
|
61
|
+
|
|
62
|
+
count: Optional[int] = None
|
|
63
|
+
r"""number of items present in the items array"""
|
|
64
|
+
|
|
65
|
+
items: Optional[List[GitShowResult]] = None
|
|
@@ -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 .gitstatusresult import GitStatusResult, GitStatusResultTypedDict
|
|
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
|
|
|
@@ -20,3 +21,20 @@ class GetVersionStatusRequest(BaseModel):
|
|
|
20
21
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
21
22
|
] = None
|
|
22
23
|
r"""The <code>id</code> of the Worker Group or Edge Fleet to get the status for."""
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class GetVersionStatusResponseTypedDict(TypedDict):
|
|
27
|
+
r"""a list of GitStatusResult objects"""
|
|
28
|
+
|
|
29
|
+
count: NotRequired[int]
|
|
30
|
+
r"""number of items present in the items array"""
|
|
31
|
+
items: NotRequired[List[GitStatusResultTypedDict]]
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class GetVersionStatusResponse(BaseModel):
|
|
35
|
+
r"""a list of GitStatusResult objects"""
|
|
36
|
+
|
|
37
|
+
count: Optional[int] = None
|
|
38
|
+
r"""number of items present in the items array"""
|
|
39
|
+
|
|
40
|
+
items: Optional[List[GitStatusResult]] = None
|
|
@@ -92,8 +92,8 @@ InputTypedDict = TypeAliasType(
|
|
|
92
92
|
InputSnmpTypedDict,
|
|
93
93
|
InputMetricsTypedDict,
|
|
94
94
|
InputWinEventLogsTypedDict,
|
|
95
|
-
InputNetflowTypedDict,
|
|
96
95
|
InputCriblTCPTypedDict,
|
|
96
|
+
InputNetflowTypedDict,
|
|
97
97
|
InputTcpjsonTypedDict,
|
|
98
98
|
InputGooglePubsubTypedDict,
|
|
99
99
|
InputOffice365ServiceTypedDict,
|
|
@@ -126,24 +126,6 @@ class InputCriblHTTPPq(BaseModel):
|
|
|
126
126
|
return value
|
|
127
127
|
|
|
128
128
|
|
|
129
|
-
class InputCriblHTTPAuthTokenTypedDict(TypedDict):
|
|
130
|
-
token_secret: str
|
|
131
|
-
r"""Select or create a stored text secret"""
|
|
132
|
-
enabled: NotRequired[bool]
|
|
133
|
-
description: NotRequired[str]
|
|
134
|
-
r"""Optional token description"""
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
class InputCriblHTTPAuthToken(BaseModel):
|
|
138
|
-
token_secret: Annotated[str, pydantic.Field(alias="tokenSecret")]
|
|
139
|
-
r"""Select or create a stored text secret"""
|
|
140
|
-
|
|
141
|
-
enabled: Optional[bool] = True
|
|
142
|
-
|
|
143
|
-
description: Optional[str] = None
|
|
144
|
-
r"""Optional token description"""
|
|
145
|
-
|
|
146
|
-
|
|
147
129
|
class InputCriblHTTPMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
148
130
|
TL_SV1 = "TLSv1"
|
|
149
131
|
TL_SV1_1 = "TLSv1.1"
|
|
@@ -283,8 +265,8 @@ class InputCriblHTTPTypedDict(TypedDict):
|
|
|
283
265
|
pq: NotRequired[InputCriblHTTPPqTypedDict]
|
|
284
266
|
host: NotRequired[str]
|
|
285
267
|
r"""Address to bind on. Defaults to 0.0.0.0 (all addresses)."""
|
|
286
|
-
auth_tokens: NotRequired[List[
|
|
287
|
-
r"""Shared secrets to be
|
|
268
|
+
auth_tokens: NotRequired[List[str]]
|
|
269
|
+
r"""Shared secrets to be provided by any client (Authorization: <token>). If empty, unauthorized access is permitted."""
|
|
288
270
|
tls: NotRequired[InputCriblHTTPTLSSettingsServerSideTypedDict]
|
|
289
271
|
max_active_req: NotRequired[float]
|
|
290
272
|
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."""
|
|
@@ -349,10 +331,10 @@ class InputCriblHTTP(BaseModel):
|
|
|
349
331
|
host: Optional[str] = "0.0.0.0"
|
|
350
332
|
r"""Address to bind on. Defaults to 0.0.0.0 (all addresses)."""
|
|
351
333
|
|
|
352
|
-
auth_tokens: Annotated[
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
r"""Shared secrets to be
|
|
334
|
+
auth_tokens: Annotated[Optional[List[str]], pydantic.Field(alias="authTokens")] = (
|
|
335
|
+
None
|
|
336
|
+
)
|
|
337
|
+
r"""Shared secrets to be provided by any client (Authorization: <token>). If empty, unauthorized access is permitted."""
|
|
356
338
|
|
|
357
339
|
tls: Optional[InputCriblHTTPTLSSettingsServerSide] = None
|
|
358
340
|
|
|
@@ -243,24 +243,6 @@ class InputCriblTCPMetadatum(BaseModel):
|
|
|
243
243
|
r"""JavaScript expression to compute field's value, enclosed in quotes or backticks. (Can evaluate to a constant.)"""
|
|
244
244
|
|
|
245
245
|
|
|
246
|
-
class InputCriblTCPAuthTokenTypedDict(TypedDict):
|
|
247
|
-
token_secret: str
|
|
248
|
-
r"""Select or create a stored text secret"""
|
|
249
|
-
enabled: NotRequired[bool]
|
|
250
|
-
description: NotRequired[str]
|
|
251
|
-
r"""Optional token description"""
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
class InputCriblTCPAuthToken(BaseModel):
|
|
255
|
-
token_secret: Annotated[str, pydantic.Field(alias="tokenSecret")]
|
|
256
|
-
r"""Select or create a stored text secret"""
|
|
257
|
-
|
|
258
|
-
enabled: Optional[bool] = True
|
|
259
|
-
|
|
260
|
-
description: Optional[str] = None
|
|
261
|
-
r"""Optional token description"""
|
|
262
|
-
|
|
263
|
-
|
|
264
246
|
class InputCriblTCPTypedDict(TypedDict):
|
|
265
247
|
type: InputCriblTCPType
|
|
266
248
|
port: float
|
|
@@ -298,8 +280,6 @@ class InputCriblTCPTypedDict(TypedDict):
|
|
|
298
280
|
r"""Fields to add to events from this input"""
|
|
299
281
|
enable_load_balancing: NotRequired[bool]
|
|
300
282
|
r"""Load balance traffic across all Worker Processes"""
|
|
301
|
-
auth_tokens: NotRequired[List[InputCriblTCPAuthTokenTypedDict]]
|
|
302
|
-
r"""Shared secrets to be used by connected environments to authorize connections. These tokens should be installed in Cribl TCP destinations in connected environments."""
|
|
303
283
|
description: NotRequired[str]
|
|
304
284
|
|
|
305
285
|
|
|
@@ -374,9 +354,4 @@ class InputCriblTCP(BaseModel):
|
|
|
374
354
|
] = False
|
|
375
355
|
r"""Load balance traffic across all Worker Processes"""
|
|
376
356
|
|
|
377
|
-
auth_tokens: Annotated[
|
|
378
|
-
Optional[List[InputCriblTCPAuthToken]], pydantic.Field(alias="authTokens")
|
|
379
|
-
] = None
|
|
380
|
-
r"""Shared secrets to be used by connected environments to authorize connections. These tokens should be installed in Cribl TCP destinations in connected environments."""
|
|
381
|
-
|
|
382
357
|
description: Optional[str] = None
|
|
@@ -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
|
|
|
@@ -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 ListRoutesResponseTypedDict(TypedDict):
|
|
11
|
+
r"""a list of Routes objects"""
|
|
12
|
+
|
|
11
13
|
count: NotRequired[int]
|
|
12
14
|
r"""number of items present in the items array"""
|
|
13
15
|
items: NotRequired[List[RoutesTypedDict]]
|
|
14
16
|
|
|
15
17
|
|
|
16
|
-
class
|
|
18
|
+
class ListRoutesResponse(BaseModel):
|
|
19
|
+
r"""a list of Routes objects"""
|
|
20
|
+
|
|
17
21
|
count: Optional[int] = None
|
|
18
22
|
r"""number of items present in the items array"""
|
|
19
23
|
|
|
@@ -105,8 +105,8 @@ OutputTypedDict = TypeAliasType(
|
|
|
105
105
|
OutputExabeamTypedDict,
|
|
106
106
|
OutputSplunkTypedDict,
|
|
107
107
|
OutputSnsTypedDict,
|
|
108
|
-
OutputAzureEventhubTypedDict,
|
|
109
108
|
OutputCriblTCPTypedDict,
|
|
109
|
+
OutputAzureEventhubTypedDict,
|
|
110
110
|
OutputCloudwatchTypedDict,
|
|
111
111
|
OutputSignalfxTypedDict,
|
|
112
112
|
OutputHoneycombTypedDict,
|
|
@@ -125,8 +125,8 @@ OutputTypedDict = TypeAliasType(
|
|
|
125
125
|
OutputSplunkLbTypedDict,
|
|
126
126
|
OutputSyslogTypedDict,
|
|
127
127
|
OutputSqsTypedDict,
|
|
128
|
-
OutputNewrelicTypedDict,
|
|
129
128
|
OutputCriblHTTPTypedDict,
|
|
129
|
+
OutputNewrelicTypedDict,
|
|
130
130
|
OutputXsiamTypedDict,
|
|
131
131
|
OutputDatasetTypedDict,
|
|
132
132
|
OutputLokiTypedDict,
|
|
@@ -202,22 +202,6 @@ class OutputCriblHTTPTimeoutRetrySettings(BaseModel):
|
|
|
202
202
|
r"""The maximum backoff interval, in milliseconds, Cribl Stream should apply. Default (and minimum) is 10,000 ms (10 seconds); maximum is 180,000 ms (180 seconds)."""
|
|
203
203
|
|
|
204
204
|
|
|
205
|
-
class OutputCriblHTTPAuthTokenTypedDict(TypedDict):
|
|
206
|
-
token_secret: str
|
|
207
|
-
r"""Select or create a stored text secret"""
|
|
208
|
-
enabled: NotRequired[bool]
|
|
209
|
-
description: NotRequired[str]
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
class OutputCriblHTTPAuthToken(BaseModel):
|
|
213
|
-
token_secret: Annotated[str, pydantic.Field(alias="tokenSecret")]
|
|
214
|
-
r"""Select or create a stored text secret"""
|
|
215
|
-
|
|
216
|
-
enabled: Optional[bool] = True
|
|
217
|
-
|
|
218
|
-
description: Optional[str] = None
|
|
219
|
-
|
|
220
|
-
|
|
221
205
|
class OutputCriblHTTPBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
222
206
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
223
207
|
|
|
@@ -330,8 +314,6 @@ class OutputCriblHTTPTypedDict(TypedDict):
|
|
|
330
314
|
timeout_retry_settings: NotRequired[OutputCriblHTTPTimeoutRetrySettingsTypedDict]
|
|
331
315
|
response_honor_retry_after_header: NotRequired[bool]
|
|
332
316
|
r"""Honor any Retry-After header that specifies a delay (in seconds) no longer than 180 seconds after the retry request. @{product} limits the delay to 180 seconds, even if the Retry-After header specifies a longer delay. When enabled, takes precedence over user-configured retry options. When disabled, all Retry-After headers are ignored."""
|
|
333
|
-
auth_tokens: NotRequired[List[OutputCriblHTTPAuthTokenTypedDict]]
|
|
334
|
-
r"""Shared secrets to be used by connected environments to authorize connections. These tokens should also be installed in Cribl HTTP Source in Cribl.Cloud."""
|
|
335
317
|
on_backpressure: NotRequired[OutputCriblHTTPBackpressureBehavior]
|
|
336
318
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
337
319
|
description: NotRequired[str]
|
|
@@ -476,11 +458,6 @@ class OutputCriblHTTP(BaseModel):
|
|
|
476
458
|
] = True
|
|
477
459
|
r"""Honor any Retry-After header that specifies a delay (in seconds) no longer than 180 seconds after the retry request. @{product} limits the delay to 180 seconds, even if the Retry-After header specifies a longer delay. When enabled, takes precedence over user-configured retry options. When disabled, all Retry-After headers are ignored."""
|
|
478
460
|
|
|
479
|
-
auth_tokens: Annotated[
|
|
480
|
-
Optional[List[OutputCriblHTTPAuthToken]], pydantic.Field(alias="authTokens")
|
|
481
|
-
] = None
|
|
482
|
-
r"""Shared secrets to be used by connected environments to authorize connections. These tokens should also be installed in Cribl HTTP Source in Cribl.Cloud."""
|
|
483
|
-
|
|
484
461
|
on_backpressure: Annotated[
|
|
485
462
|
Annotated[
|
|
486
463
|
Optional[OutputCriblHTTPBackpressureBehavior],
|
|
@@ -126,24 +126,6 @@ class OutputCriblTCPTLSSettingsClientSide(BaseModel):
|
|
|
126
126
|
return value
|
|
127
127
|
|
|
128
128
|
|
|
129
|
-
class OutputCriblTCPAuthTokenTypedDict(TypedDict):
|
|
130
|
-
token_secret: str
|
|
131
|
-
r"""Select or create a stored text secret"""
|
|
132
|
-
enabled: NotRequired[bool]
|
|
133
|
-
description: NotRequired[str]
|
|
134
|
-
r"""Optional token description"""
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
class OutputCriblTCPAuthToken(BaseModel):
|
|
138
|
-
token_secret: Annotated[str, pydantic.Field(alias="tokenSecret")]
|
|
139
|
-
r"""Select or create a stored text secret"""
|
|
140
|
-
|
|
141
|
-
enabled: Optional[bool] = True
|
|
142
|
-
|
|
143
|
-
description: Optional[str] = None
|
|
144
|
-
r"""Optional token description"""
|
|
145
|
-
|
|
146
|
-
|
|
147
129
|
class OutputCriblTCPBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
148
130
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
149
131
|
|
|
@@ -267,8 +249,6 @@ class OutputCriblTCPTypedDict(TypedDict):
|
|
|
267
249
|
r"""Amount of time (milliseconds) to wait for a write to complete before assuming connection is dead"""
|
|
268
250
|
token_ttl_minutes: NotRequired[float]
|
|
269
251
|
r"""The number of minutes before the internally generated authentication token expires, valid values between 1 and 60"""
|
|
270
|
-
auth_tokens: NotRequired[List[OutputCriblTCPAuthTokenTypedDict]]
|
|
271
|
-
r"""Shared secrets to be used by connected environments to authorize connections. These tokens should also be installed in Cribl TCP Source in Cribl.Cloud."""
|
|
272
252
|
exclude_fields: NotRequired[List[str]]
|
|
273
253
|
r"""Fields to exclude from the event. By default, all internal fields except `__output` are sent. Example: `cribl_pipe`, `c*`. Wildcards supported."""
|
|
274
254
|
on_backpressure: NotRequired[OutputCriblTCPBackpressureBehavior]
|
|
@@ -368,11 +348,6 @@ class OutputCriblTCP(BaseModel):
|
|
|
368
348
|
] = 60
|
|
369
349
|
r"""The number of minutes before the internally generated authentication token expires, valid values between 1 and 60"""
|
|
370
350
|
|
|
371
|
-
auth_tokens: Annotated[
|
|
372
|
-
Optional[List[OutputCriblTCPAuthToken]], pydantic.Field(alias="authTokens")
|
|
373
|
-
] = None
|
|
374
|
-
r"""Shared secrets to be used by connected environments to authorize connections. These tokens should also be installed in Cribl TCP Source in Cribl.Cloud."""
|
|
375
|
-
|
|
376
351
|
exclude_fields: Annotated[
|
|
377
352
|
Optional[List[str]], pydantic.Field(alias="excludeFields")
|
|
378
353
|
] = None
|
|
@@ -73,7 +73,6 @@ class RunnableJobCollectionRunSettingsTypedDict(TypedDict):
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
|
|
77
76
|
if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
|
|
78
77
|
"""
|
|
79
78
|
max_task_size: NotRequired[str]
|
|
@@ -88,7 +87,6 @@ class RunnableJobCollectionRunSettingsTypedDict(TypedDict):
|
|
|
88
87
|
|
|
89
88
|
|
|
90
89
|
|
|
91
|
-
|
|
92
90
|
you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
|
|
93
91
|
"""
|
|
94
92
|
|
|
@@ -152,7 +150,6 @@ class RunnableJobCollectionRunSettings(BaseModel):
|
|
|
152
150
|
|
|
153
151
|
|
|
154
152
|
|
|
155
|
-
|
|
156
153
|
if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
|
|
157
154
|
"""
|
|
158
155
|
|
|
@@ -170,7 +167,6 @@ class RunnableJobCollectionRunSettings(BaseModel):
|
|
|
170
167
|
|
|
171
168
|
|
|
172
169
|
|
|
173
|
-
|
|
174
170
|
you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
|
|
175
171
|
"""
|
|
176
172
|
|
|
@@ -452,7 +448,6 @@ class RunnableJobCollectionRunTypedDict(TypedDict):
|
|
|
452
448
|
|
|
453
449
|
|
|
454
450
|
|
|
455
|
-
|
|
456
451
|
if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
|
|
457
452
|
"""
|
|
458
453
|
max_task_size: NotRequired[str]
|
|
@@ -466,7 +461,6 @@ class RunnableJobCollectionRunTypedDict(TypedDict):
|
|
|
466
461
|
|
|
467
462
|
|
|
468
463
|
|
|
469
|
-
|
|
470
464
|
you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
|
|
471
465
|
"""
|
|
472
466
|
discover_to_routes: NotRequired[bool]
|
|
@@ -536,7 +530,6 @@ class RunnableJobCollectionRun(BaseModel):
|
|
|
536
530
|
|
|
537
531
|
|
|
538
532
|
|
|
539
|
-
|
|
540
533
|
if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
|
|
541
534
|
"""
|
|
542
535
|
|
|
@@ -553,7 +546,6 @@ class RunnableJobCollectionRun(BaseModel):
|
|
|
553
546
|
|
|
554
547
|
|
|
555
548
|
|
|
556
|
-
|
|
557
549
|
you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
|
|
558
550
|
"""
|
|
559
551
|
|
|
@@ -73,7 +73,6 @@ class RunnableJobExecutorRunSettingsTypedDict(TypedDict):
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
|
|
77
76
|
if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
|
|
78
77
|
"""
|
|
79
78
|
max_task_size: NotRequired[str]
|
|
@@ -88,7 +87,6 @@ class RunnableJobExecutorRunSettingsTypedDict(TypedDict):
|
|
|
88
87
|
|
|
89
88
|
|
|
90
89
|
|
|
91
|
-
|
|
92
90
|
you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
|
|
93
91
|
"""
|
|
94
92
|
|
|
@@ -150,7 +148,6 @@ class RunnableJobExecutorRunSettings(BaseModel):
|
|
|
150
148
|
|
|
151
149
|
|
|
152
150
|
|
|
153
|
-
|
|
154
151
|
if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
|
|
155
152
|
"""
|
|
156
153
|
|
|
@@ -168,7 +165,6 @@ class RunnableJobExecutorRunSettings(BaseModel):
|
|
|
168
165
|
|
|
169
166
|
|
|
170
167
|
|
|
171
|
-
|
|
172
168
|
you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
|
|
173
169
|
"""
|
|
174
170
|
|
|
@@ -73,7 +73,6 @@ class RunnableJobScheduledSearchRunSettingsTypedDict(TypedDict):
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
|
|
77
76
|
if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
|
|
78
77
|
"""
|
|
79
78
|
max_task_size: NotRequired[str]
|
|
@@ -88,7 +87,6 @@ class RunnableJobScheduledSearchRunSettingsTypedDict(TypedDict):
|
|
|
88
87
|
|
|
89
88
|
|
|
90
89
|
|
|
91
|
-
|
|
92
90
|
you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
|
|
93
91
|
"""
|
|
94
92
|
|
|
@@ -151,7 +149,6 @@ class RunnableJobScheduledSearchRunSettings(BaseModel):
|
|
|
151
149
|
|
|
152
150
|
|
|
153
151
|
|
|
154
|
-
|
|
155
152
|
if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
|
|
156
153
|
"""
|
|
157
154
|
|
|
@@ -169,7 +166,6 @@ class RunnableJobScheduledSearchRunSettings(BaseModel):
|
|
|
169
166
|
|
|
170
167
|
|
|
171
168
|
|
|
172
|
-
|
|
173
169
|
you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
|
|
174
170
|
"""
|
|
175
171
|
|