cribl-control-plane 0.0.21a2__py3-none-any.whl → 0.0.23__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/destinations.py +10 -10
- cribl_control_plane/groups_sdk.py +572 -60
- cribl_control_plane/models/__init__.py +153 -5394
- cribl_control_plane/models/createinputop.py +2 -18216
- cribl_control_plane/models/createoutputop.py +2 -18415
- cribl_control_plane/models/deletegroupsbyidop.py +37 -0
- cribl_control_plane/models/input.py +6 -6
- cribl_control_plane/models/inputedgeprometheus.py +7 -10
- cribl_control_plane/models/{inputgrafana_union.py → inputgrafana.py} +4 -4
- cribl_control_plane/models/{inputsyslog_union.py → inputsyslog.py} +4 -4
- cribl_control_plane/models/inputwef.py +4 -4
- cribl_control_plane/models/outputgooglepubsub.py +3 -3
- cribl_control_plane/models/outputsplunklb.py +8 -8
- cribl_control_plane/models/routes.py +0 -24
- cribl_control_plane/models/updategroupsbyidop.py +48 -0
- cribl_control_plane/models/updateinputbyidop.py +2 -2
- cribl_control_plane/models/updateoutputbyidop.py +2 -2
- cribl_control_plane/models/updateroutesbyidop.py +3 -4
- cribl_control_plane/packs.py +0 -204
- cribl_control_plane/routes_sdk.py +8 -12
- cribl_control_plane/sources.py +10 -10
- {cribl_control_plane-0.0.21a2.dist-info → cribl_control_plane-0.0.23.dist-info}/METADATA +209 -44
- {cribl_control_plane-0.0.21a2.dist-info → cribl_control_plane-0.0.23.dist-info}/RECORD +25 -25
- cribl_control_plane/models/routesroute_input.py +0 -67
- cribl_control_plane/models/updatepacksop.py +0 -98
- {cribl_control_plane-0.0.21a2.dist-info → cribl_control_plane-0.0.23.dist-info}/WHEEL +0 -0
|
@@ -1,67 +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
|
-
import pydantic
|
|
6
|
-
from pydantic import ConfigDict
|
|
7
|
-
from typing import Any, Dict, Optional
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class RoutesRouteInputTypedDict(TypedDict):
|
|
12
|
-
name: str
|
|
13
|
-
pipeline: str
|
|
14
|
-
r"""Pipeline to send the matching data to"""
|
|
15
|
-
disabled: NotRequired[bool]
|
|
16
|
-
r"""Disable this routing rule"""
|
|
17
|
-
filter_: NotRequired[str]
|
|
18
|
-
r"""JavaScript expression to select data to route"""
|
|
19
|
-
enable_output_expression: NotRequired[bool]
|
|
20
|
-
r"""Enable to use a JavaScript expression that evaluates to the name of the Description below"""
|
|
21
|
-
output: NotRequired[Any]
|
|
22
|
-
output_expression: NotRequired[Any]
|
|
23
|
-
description: NotRequired[str]
|
|
24
|
-
final: NotRequired[bool]
|
|
25
|
-
r"""Flag to control whether the event gets consumed by this Route (Final), or cloned into it"""
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
class RoutesRouteInput(BaseModel):
|
|
29
|
-
model_config = ConfigDict(
|
|
30
|
-
populate_by_name=True, arbitrary_types_allowed=True, extra="allow"
|
|
31
|
-
)
|
|
32
|
-
__pydantic_extra__: Dict[str, Any] = pydantic.Field(init=False)
|
|
33
|
-
|
|
34
|
-
name: str
|
|
35
|
-
|
|
36
|
-
pipeline: str
|
|
37
|
-
r"""Pipeline to send the matching data to"""
|
|
38
|
-
|
|
39
|
-
disabled: Optional[bool] = None
|
|
40
|
-
r"""Disable this routing rule"""
|
|
41
|
-
|
|
42
|
-
filter_: Annotated[Optional[str], pydantic.Field(alias="filter")] = "true"
|
|
43
|
-
r"""JavaScript expression to select data to route"""
|
|
44
|
-
|
|
45
|
-
enable_output_expression: Annotated[
|
|
46
|
-
Optional[bool], pydantic.Field(alias="enableOutputExpression")
|
|
47
|
-
] = False
|
|
48
|
-
r"""Enable to use a JavaScript expression that evaluates to the name of the Description below"""
|
|
49
|
-
|
|
50
|
-
output: Optional[Any] = None
|
|
51
|
-
|
|
52
|
-
output_expression: Annotated[
|
|
53
|
-
Optional[Any], pydantic.Field(alias="outputExpression")
|
|
54
|
-
] = None
|
|
55
|
-
|
|
56
|
-
description: Optional[str] = None
|
|
57
|
-
|
|
58
|
-
final: Optional[bool] = True
|
|
59
|
-
r"""Flag to control whether the event gets consumed by this Route (Final), or cloned into it"""
|
|
60
|
-
|
|
61
|
-
@property
|
|
62
|
-
def additional_properties(self):
|
|
63
|
-
return self.__pydantic_extra__
|
|
64
|
-
|
|
65
|
-
@additional_properties.setter
|
|
66
|
-
def additional_properties(self, value):
|
|
67
|
-
self.__pydantic_extra__ = value # pyright: ignore[reportIncompatibleVariableOverride]
|
|
@@ -1,98 +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 (
|
|
6
|
-
FieldMetadata,
|
|
7
|
-
MultipartFormMetadata,
|
|
8
|
-
QueryParamMetadata,
|
|
9
|
-
RequestMetadata,
|
|
10
|
-
)
|
|
11
|
-
import io
|
|
12
|
-
import pydantic
|
|
13
|
-
from typing import Any, Dict, IO, List, Optional, Union
|
|
14
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
class UpdatePacksFileTypedDict(TypedDict):
|
|
18
|
-
file_name: str
|
|
19
|
-
content: Union[bytes, IO[bytes], io.BufferedReader]
|
|
20
|
-
content_type: NotRequired[str]
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class UpdatePacksFile(BaseModel):
|
|
24
|
-
file_name: Annotated[
|
|
25
|
-
str, pydantic.Field(alias="fileName"), FieldMetadata(multipart=True)
|
|
26
|
-
]
|
|
27
|
-
|
|
28
|
-
content: Annotated[
|
|
29
|
-
Union[bytes, IO[bytes], io.BufferedReader],
|
|
30
|
-
pydantic.Field(alias=""),
|
|
31
|
-
FieldMetadata(multipart=MultipartFormMetadata(content=True)),
|
|
32
|
-
]
|
|
33
|
-
|
|
34
|
-
content_type: Annotated[
|
|
35
|
-
Optional[str],
|
|
36
|
-
pydantic.Field(alias="Content-Type"),
|
|
37
|
-
FieldMetadata(multipart=True),
|
|
38
|
-
] = None
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
class UpdatePacksRequestBodyTypedDict(TypedDict):
|
|
42
|
-
r"""multipart upload of the pack file"""
|
|
43
|
-
|
|
44
|
-
file: UpdatePacksFileTypedDict
|
|
45
|
-
r"""The pack file to upload"""
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
class UpdatePacksRequestBody(BaseModel):
|
|
49
|
-
r"""multipart upload of the pack file"""
|
|
50
|
-
|
|
51
|
-
file: Annotated[
|
|
52
|
-
UpdatePacksFile, FieldMetadata(multipart=MultipartFormMetadata(file=True))
|
|
53
|
-
]
|
|
54
|
-
r"""The pack file to upload"""
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
class UpdatePacksRequestTypedDict(TypedDict):
|
|
58
|
-
filename: str
|
|
59
|
-
r"""the file to upload"""
|
|
60
|
-
size: int
|
|
61
|
-
r"""Size of the pack file in bytes"""
|
|
62
|
-
request_body: UpdatePacksRequestBodyTypedDict
|
|
63
|
-
r"""multipart upload of the pack file"""
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
class UpdatePacksRequest(BaseModel):
|
|
67
|
-
filename: Annotated[
|
|
68
|
-
str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
|
|
69
|
-
]
|
|
70
|
-
r"""the file to upload"""
|
|
71
|
-
|
|
72
|
-
size: Annotated[
|
|
73
|
-
int, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
|
|
74
|
-
]
|
|
75
|
-
r"""Size of the pack file in bytes"""
|
|
76
|
-
|
|
77
|
-
request_body: Annotated[
|
|
78
|
-
UpdatePacksRequestBody,
|
|
79
|
-
FieldMetadata(request=RequestMetadata(media_type="multipart/form-data")),
|
|
80
|
-
]
|
|
81
|
-
r"""multipart upload of the pack file"""
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
class UpdatePacksResponseTypedDict(TypedDict):
|
|
85
|
-
r"""a list of any objects"""
|
|
86
|
-
|
|
87
|
-
count: NotRequired[int]
|
|
88
|
-
r"""number of items present in the items array"""
|
|
89
|
-
items: NotRequired[List[Dict[str, Any]]]
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
class UpdatePacksResponse(BaseModel):
|
|
93
|
-
r"""a list of any objects"""
|
|
94
|
-
|
|
95
|
-
count: Optional[int] = None
|
|
96
|
-
r"""number of items present in the items array"""
|
|
97
|
-
|
|
98
|
-
items: Optional[List[Dict[str, Any]]] = None
|
|
File without changes
|