cribl-control-plane 0.0.19__py3-none-any.whl → 0.0.21__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/groups_sdk.py +572 -60
- cribl_control_plane/lake.py +662 -0
- cribl_control_plane/models/__init__.py +98 -0
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +47 -0
- cribl_control_plane/models/deletegroupsbyidop.py +37 -0
- cribl_control_plane/models/deletepacksbyidop.py +37 -0
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +47 -0
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +57 -0
- cribl_control_plane/models/updategroupsbyidop.py +48 -0
- cribl_control_plane/models/updatepacksbyidop.py +65 -0
- cribl_control_plane/packs.py +366 -0
- {cribl_control_plane-0.0.19.dist-info → cribl_control_plane-0.0.21.dist-info}/METADATA +10 -3
- {cribl_control_plane-0.0.19.dist-info → cribl_control_plane-0.0.21.dist-info}/RECORD +15 -8
- {cribl_control_plane-0.0.19.dist-info → cribl_control_plane-0.0.21.dist-info}/WHEEL +0 -0
|
@@ -1851,6 +1851,18 @@ if TYPE_CHECKING:
|
|
|
1851
1851
|
DatasetMetadataRunInfo,
|
|
1852
1852
|
DatasetMetadataRunInfoTypedDict,
|
|
1853
1853
|
)
|
|
1854
|
+
from .deletecribllakedatasetbylakeidandidop import (
|
|
1855
|
+
DeleteCriblLakeDatasetByLakeIDAndIDRequest,
|
|
1856
|
+
DeleteCriblLakeDatasetByLakeIDAndIDRequestTypedDict,
|
|
1857
|
+
DeleteCriblLakeDatasetByLakeIDAndIDResponse,
|
|
1858
|
+
DeleteCriblLakeDatasetByLakeIDAndIDResponseTypedDict,
|
|
1859
|
+
)
|
|
1860
|
+
from .deletegroupsbyidop import (
|
|
1861
|
+
DeleteGroupsByIDRequest,
|
|
1862
|
+
DeleteGroupsByIDRequestTypedDict,
|
|
1863
|
+
DeleteGroupsByIDResponse,
|
|
1864
|
+
DeleteGroupsByIDResponseTypedDict,
|
|
1865
|
+
)
|
|
1854
1866
|
from .deleteinputbyidop import (
|
|
1855
1867
|
DeleteInputByIDRequest,
|
|
1856
1868
|
DeleteInputByIDRequestTypedDict,
|
|
@@ -1869,6 +1881,12 @@ if TYPE_CHECKING:
|
|
|
1869
1881
|
DeleteOutputPqByIDResponse,
|
|
1870
1882
|
DeleteOutputPqByIDResponseTypedDict,
|
|
1871
1883
|
)
|
|
1884
|
+
from .deletepacksbyidop import (
|
|
1885
|
+
DeletePacksByIDRequest,
|
|
1886
|
+
DeletePacksByIDRequestTypedDict,
|
|
1887
|
+
DeletePacksByIDResponse,
|
|
1888
|
+
DeletePacksByIDResponseTypedDict,
|
|
1889
|
+
)
|
|
1872
1890
|
from .deletepipelinebyidop import (
|
|
1873
1891
|
DeletePipelineByIDRequest,
|
|
1874
1892
|
DeletePipelineByIDRequestTypedDict,
|
|
@@ -1890,6 +1908,12 @@ if TYPE_CHECKING:
|
|
|
1890
1908
|
DistributedSummaryWorkers,
|
|
1891
1909
|
DistributedSummaryWorkersTypedDict,
|
|
1892
1910
|
)
|
|
1911
|
+
from .getcribllakedatasetbylakeidandidop import (
|
|
1912
|
+
GetCriblLakeDatasetByLakeIDAndIDRequest,
|
|
1913
|
+
GetCriblLakeDatasetByLakeIDAndIDRequestTypedDict,
|
|
1914
|
+
GetCriblLakeDatasetByLakeIDAndIDResponse,
|
|
1915
|
+
GetCriblLakeDatasetByLakeIDAndIDResponseTypedDict,
|
|
1916
|
+
)
|
|
1893
1917
|
from .getcribllakedatasetbylakeidop import (
|
|
1894
1918
|
GetCriblLakeDatasetByLakeIDRequest,
|
|
1895
1919
|
GetCriblLakeDatasetByLakeIDRequestTypedDict,
|
|
@@ -4687,6 +4711,18 @@ if TYPE_CHECKING:
|
|
|
4687
4711
|
TeamAccessControlList,
|
|
4688
4712
|
TeamAccessControlListTypedDict,
|
|
4689
4713
|
)
|
|
4714
|
+
from .updatecribllakedatasetbylakeidandidop import (
|
|
4715
|
+
UpdateCriblLakeDatasetByLakeIDAndIDRequest,
|
|
4716
|
+
UpdateCriblLakeDatasetByLakeIDAndIDRequestTypedDict,
|
|
4717
|
+
UpdateCriblLakeDatasetByLakeIDAndIDResponse,
|
|
4718
|
+
UpdateCriblLakeDatasetByLakeIDAndIDResponseTypedDict,
|
|
4719
|
+
)
|
|
4720
|
+
from .updategroupsbyidop import (
|
|
4721
|
+
UpdateGroupsByIDRequest,
|
|
4722
|
+
UpdateGroupsByIDRequestTypedDict,
|
|
4723
|
+
UpdateGroupsByIDResponse,
|
|
4724
|
+
UpdateGroupsByIDResponseTypedDict,
|
|
4725
|
+
)
|
|
4690
4726
|
from .updategroupsdeploybyidop import (
|
|
4691
4727
|
UpdateGroupsDeployByIDRequest,
|
|
4692
4728
|
UpdateGroupsDeployByIDRequestTypedDict,
|
|
@@ -4717,6 +4753,12 @@ if TYPE_CHECKING:
|
|
|
4717
4753
|
UpdateOutputByIDResponse,
|
|
4718
4754
|
UpdateOutputByIDResponseTypedDict,
|
|
4719
4755
|
)
|
|
4756
|
+
from .updatepacksbyidop import (
|
|
4757
|
+
UpdatePacksByIDRequest,
|
|
4758
|
+
UpdatePacksByIDRequestTypedDict,
|
|
4759
|
+
UpdatePacksByIDResponse,
|
|
4760
|
+
UpdatePacksByIDResponseTypedDict,
|
|
4761
|
+
)
|
|
4720
4762
|
from .updatepacksop import (
|
|
4721
4763
|
UpdatePacksRequest,
|
|
4722
4764
|
UpdatePacksRequestTypedDict,
|
|
@@ -5843,6 +5885,14 @@ __all__ = [
|
|
|
5843
5885
|
"DatasetMetadataRunInfo",
|
|
5844
5886
|
"DatasetMetadataRunInfoTypedDict",
|
|
5845
5887
|
"DatasetMetadataTypedDict",
|
|
5888
|
+
"DeleteCriblLakeDatasetByLakeIDAndIDRequest",
|
|
5889
|
+
"DeleteCriblLakeDatasetByLakeIDAndIDRequestTypedDict",
|
|
5890
|
+
"DeleteCriblLakeDatasetByLakeIDAndIDResponse",
|
|
5891
|
+
"DeleteCriblLakeDatasetByLakeIDAndIDResponseTypedDict",
|
|
5892
|
+
"DeleteGroupsByIDRequest",
|
|
5893
|
+
"DeleteGroupsByIDRequestTypedDict",
|
|
5894
|
+
"DeleteGroupsByIDResponse",
|
|
5895
|
+
"DeleteGroupsByIDResponseTypedDict",
|
|
5846
5896
|
"DeleteInputByIDRequest",
|
|
5847
5897
|
"DeleteInputByIDRequestTypedDict",
|
|
5848
5898
|
"DeleteInputByIDResponse",
|
|
@@ -5855,6 +5905,10 @@ __all__ = [
|
|
|
5855
5905
|
"DeleteOutputPqByIDRequestTypedDict",
|
|
5856
5906
|
"DeleteOutputPqByIDResponse",
|
|
5857
5907
|
"DeleteOutputPqByIDResponseTypedDict",
|
|
5908
|
+
"DeletePacksByIDRequest",
|
|
5909
|
+
"DeletePacksByIDRequestTypedDict",
|
|
5910
|
+
"DeletePacksByIDResponse",
|
|
5911
|
+
"DeletePacksByIDResponseTypedDict",
|
|
5858
5912
|
"DeletePipelineByIDRequest",
|
|
5859
5913
|
"DeletePipelineByIDRequestTypedDict",
|
|
5860
5914
|
"DeletePipelineByIDResponse",
|
|
@@ -5978,6 +6032,10 @@ __all__ = [
|
|
|
5978
6032
|
"FormatSentinel",
|
|
5979
6033
|
"FunctionSpecificConfigs",
|
|
5980
6034
|
"FunctionSpecificConfigsTypedDict",
|
|
6035
|
+
"GetCriblLakeDatasetByLakeIDAndIDRequest",
|
|
6036
|
+
"GetCriblLakeDatasetByLakeIDAndIDRequestTypedDict",
|
|
6037
|
+
"GetCriblLakeDatasetByLakeIDAndIDResponse",
|
|
6038
|
+
"GetCriblLakeDatasetByLakeIDAndIDResponseTypedDict",
|
|
5981
6039
|
"GetCriblLakeDatasetByLakeIDRequest",
|
|
5982
6040
|
"GetCriblLakeDatasetByLakeIDRequestTypedDict",
|
|
5983
6041
|
"GetCriblLakeDatasetByLakeIDResponse",
|
|
@@ -9095,6 +9153,14 @@ __all__ = [
|
|
|
9095
9153
|
"TimestampPrecision",
|
|
9096
9154
|
"Type131",
|
|
9097
9155
|
"TypeHTTPDynatraceOtlp",
|
|
9156
|
+
"UpdateCriblLakeDatasetByLakeIDAndIDRequest",
|
|
9157
|
+
"UpdateCriblLakeDatasetByLakeIDAndIDRequestTypedDict",
|
|
9158
|
+
"UpdateCriblLakeDatasetByLakeIDAndIDResponse",
|
|
9159
|
+
"UpdateCriblLakeDatasetByLakeIDAndIDResponseTypedDict",
|
|
9160
|
+
"UpdateGroupsByIDRequest",
|
|
9161
|
+
"UpdateGroupsByIDRequestTypedDict",
|
|
9162
|
+
"UpdateGroupsByIDResponse",
|
|
9163
|
+
"UpdateGroupsByIDResponseTypedDict",
|
|
9098
9164
|
"UpdateGroupsDeployByIDRequest",
|
|
9099
9165
|
"UpdateGroupsDeployByIDRequestTypedDict",
|
|
9100
9166
|
"UpdateGroupsDeployByIDResponse",
|
|
@@ -9115,6 +9181,10 @@ __all__ = [
|
|
|
9115
9181
|
"UpdateOutputByIDRequestTypedDict",
|
|
9116
9182
|
"UpdateOutputByIDResponse",
|
|
9117
9183
|
"UpdateOutputByIDResponseTypedDict",
|
|
9184
|
+
"UpdatePacksByIDRequest",
|
|
9185
|
+
"UpdatePacksByIDRequestTypedDict",
|
|
9186
|
+
"UpdatePacksByIDResponse",
|
|
9187
|
+
"UpdatePacksByIDResponseTypedDict",
|
|
9118
9188
|
"UpdatePacksRequest",
|
|
9119
9189
|
"UpdatePacksRequestTypedDict",
|
|
9120
9190
|
"UpdatePacksResponse",
|
|
@@ -10958,6 +11028,14 @@ _dynamic_imports: dict[str, str] = {
|
|
|
10958
11028
|
"ScanMode": ".datasetmetadata",
|
|
10959
11029
|
"DatasetMetadataRunInfo": ".datasetmetadataruninfo",
|
|
10960
11030
|
"DatasetMetadataRunInfoTypedDict": ".datasetmetadataruninfo",
|
|
11031
|
+
"DeleteCriblLakeDatasetByLakeIDAndIDRequest": ".deletecribllakedatasetbylakeidandidop",
|
|
11032
|
+
"DeleteCriblLakeDatasetByLakeIDAndIDRequestTypedDict": ".deletecribllakedatasetbylakeidandidop",
|
|
11033
|
+
"DeleteCriblLakeDatasetByLakeIDAndIDResponse": ".deletecribllakedatasetbylakeidandidop",
|
|
11034
|
+
"DeleteCriblLakeDatasetByLakeIDAndIDResponseTypedDict": ".deletecribllakedatasetbylakeidandidop",
|
|
11035
|
+
"DeleteGroupsByIDRequest": ".deletegroupsbyidop",
|
|
11036
|
+
"DeleteGroupsByIDRequestTypedDict": ".deletegroupsbyidop",
|
|
11037
|
+
"DeleteGroupsByIDResponse": ".deletegroupsbyidop",
|
|
11038
|
+
"DeleteGroupsByIDResponseTypedDict": ".deletegroupsbyidop",
|
|
10961
11039
|
"DeleteInputByIDRequest": ".deleteinputbyidop",
|
|
10962
11040
|
"DeleteInputByIDRequestTypedDict": ".deleteinputbyidop",
|
|
10963
11041
|
"DeleteInputByIDResponse": ".deleteinputbyidop",
|
|
@@ -10970,6 +11048,10 @@ _dynamic_imports: dict[str, str] = {
|
|
|
10970
11048
|
"DeleteOutputPqByIDRequestTypedDict": ".deleteoutputpqbyidop",
|
|
10971
11049
|
"DeleteOutputPqByIDResponse": ".deleteoutputpqbyidop",
|
|
10972
11050
|
"DeleteOutputPqByIDResponseTypedDict": ".deleteoutputpqbyidop",
|
|
11051
|
+
"DeletePacksByIDRequest": ".deletepacksbyidop",
|
|
11052
|
+
"DeletePacksByIDRequestTypedDict": ".deletepacksbyidop",
|
|
11053
|
+
"DeletePacksByIDResponse": ".deletepacksbyidop",
|
|
11054
|
+
"DeletePacksByIDResponseTypedDict": ".deletepacksbyidop",
|
|
10973
11055
|
"DeletePipelineByIDRequest": ".deletepipelinebyidop",
|
|
10974
11056
|
"DeletePipelineByIDRequestTypedDict": ".deletepipelinebyidop",
|
|
10975
11057
|
"DeletePipelineByIDResponse": ".deletepipelinebyidop",
|
|
@@ -10986,6 +11068,10 @@ _dynamic_imports: dict[str, str] = {
|
|
|
10986
11068
|
"DistributedSummaryTypedDict": ".distributedsummary",
|
|
10987
11069
|
"DistributedSummaryWorkers": ".distributedsummary",
|
|
10988
11070
|
"DistributedSummaryWorkersTypedDict": ".distributedsummary",
|
|
11071
|
+
"GetCriblLakeDatasetByLakeIDAndIDRequest": ".getcribllakedatasetbylakeidandidop",
|
|
11072
|
+
"GetCriblLakeDatasetByLakeIDAndIDRequestTypedDict": ".getcribllakedatasetbylakeidandidop",
|
|
11073
|
+
"GetCriblLakeDatasetByLakeIDAndIDResponse": ".getcribllakedatasetbylakeidandidop",
|
|
11074
|
+
"GetCriblLakeDatasetByLakeIDAndIDResponseTypedDict": ".getcribllakedatasetbylakeidandidop",
|
|
10989
11075
|
"GetCriblLakeDatasetByLakeIDRequest": ".getcribllakedatasetbylakeidop",
|
|
10990
11076
|
"GetCriblLakeDatasetByLakeIDRequestTypedDict": ".getcribllakedatasetbylakeidop",
|
|
10991
11077
|
"GetCriblLakeDatasetByLakeIDResponse": ".getcribllakedatasetbylakeidop",
|
|
@@ -13494,6 +13580,14 @@ _dynamic_imports: dict[str, str] = {
|
|
|
13494
13580
|
"SecurityTypedDict": ".security",
|
|
13495
13581
|
"TeamAccessControlList": ".teamaccesscontrollist",
|
|
13496
13582
|
"TeamAccessControlListTypedDict": ".teamaccesscontrollist",
|
|
13583
|
+
"UpdateCriblLakeDatasetByLakeIDAndIDRequest": ".updatecribllakedatasetbylakeidandidop",
|
|
13584
|
+
"UpdateCriblLakeDatasetByLakeIDAndIDRequestTypedDict": ".updatecribllakedatasetbylakeidandidop",
|
|
13585
|
+
"UpdateCriblLakeDatasetByLakeIDAndIDResponse": ".updatecribllakedatasetbylakeidandidop",
|
|
13586
|
+
"UpdateCriblLakeDatasetByLakeIDAndIDResponseTypedDict": ".updatecribllakedatasetbylakeidandidop",
|
|
13587
|
+
"UpdateGroupsByIDRequest": ".updategroupsbyidop",
|
|
13588
|
+
"UpdateGroupsByIDRequestTypedDict": ".updategroupsbyidop",
|
|
13589
|
+
"UpdateGroupsByIDResponse": ".updategroupsbyidop",
|
|
13590
|
+
"UpdateGroupsByIDResponseTypedDict": ".updategroupsbyidop",
|
|
13497
13591
|
"UpdateGroupsDeployByIDRequest": ".updategroupsdeploybyidop",
|
|
13498
13592
|
"UpdateGroupsDeployByIDRequestTypedDict": ".updategroupsdeploybyidop",
|
|
13499
13593
|
"UpdateGroupsDeployByIDResponse": ".updategroupsdeploybyidop",
|
|
@@ -13514,6 +13608,10 @@ _dynamic_imports: dict[str, str] = {
|
|
|
13514
13608
|
"UpdateOutputByIDRequestTypedDict": ".updateoutputbyidop",
|
|
13515
13609
|
"UpdateOutputByIDResponse": ".updateoutputbyidop",
|
|
13516
13610
|
"UpdateOutputByIDResponseTypedDict": ".updateoutputbyidop",
|
|
13611
|
+
"UpdatePacksByIDRequest": ".updatepacksbyidop",
|
|
13612
|
+
"UpdatePacksByIDRequestTypedDict": ".updatepacksbyidop",
|
|
13613
|
+
"UpdatePacksByIDResponse": ".updatepacksbyidop",
|
|
13614
|
+
"UpdatePacksByIDResponseTypedDict": ".updatepacksbyidop",
|
|
13517
13615
|
"UpdatePacksRequest": ".updatepacksop",
|
|
13518
13616
|
"UpdatePacksRequestTypedDict": ".updatepacksop",
|
|
13519
13617
|
"UpdatePacksResponse": ".updatepacksop",
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .cribllakedataset import CriblLakeDataset, CriblLakeDatasetTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
+
import pydantic
|
|
8
|
+
from typing import List, Optional
|
|
9
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class DeleteCriblLakeDatasetByLakeIDAndIDRequestTypedDict(TypedDict):
|
|
13
|
+
lake_id: str
|
|
14
|
+
r"""lake id that contains the Datasets"""
|
|
15
|
+
id: str
|
|
16
|
+
r"""dataset id to delete"""
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class DeleteCriblLakeDatasetByLakeIDAndIDRequest(BaseModel):
|
|
20
|
+
lake_id: Annotated[
|
|
21
|
+
str,
|
|
22
|
+
pydantic.Field(alias="lakeId"),
|
|
23
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
24
|
+
]
|
|
25
|
+
r"""lake id that contains the Datasets"""
|
|
26
|
+
|
|
27
|
+
id: Annotated[
|
|
28
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
29
|
+
]
|
|
30
|
+
r"""dataset id to delete"""
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class DeleteCriblLakeDatasetByLakeIDAndIDResponseTypedDict(TypedDict):
|
|
34
|
+
r"""a list of CriblLakeDataset objects"""
|
|
35
|
+
|
|
36
|
+
count: NotRequired[int]
|
|
37
|
+
r"""number of items present in the items array"""
|
|
38
|
+
items: NotRequired[List[CriblLakeDatasetTypedDict]]
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class DeleteCriblLakeDatasetByLakeIDAndIDResponse(BaseModel):
|
|
42
|
+
r"""a list of CriblLakeDataset objects"""
|
|
43
|
+
|
|
44
|
+
count: Optional[int] = None
|
|
45
|
+
r"""number of items present in the items array"""
|
|
46
|
+
|
|
47
|
+
items: Optional[List[CriblLakeDataset]] = None
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .configgroup import ConfigGroup, ConfigGroupTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
+
from typing import List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class DeleteGroupsByIDRequestTypedDict(TypedDict):
|
|
12
|
+
id: str
|
|
13
|
+
r"""Group ID"""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class DeleteGroupsByIDRequest(BaseModel):
|
|
17
|
+
id: Annotated[
|
|
18
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
|
+
]
|
|
20
|
+
r"""Group ID"""
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class DeleteGroupsByIDResponseTypedDict(TypedDict):
|
|
24
|
+
r"""a list of ConfigGroup objects"""
|
|
25
|
+
|
|
26
|
+
count: NotRequired[int]
|
|
27
|
+
r"""number of items present in the items array"""
|
|
28
|
+
items: NotRequired[List[ConfigGroupTypedDict]]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class DeleteGroupsByIDResponse(BaseModel):
|
|
32
|
+
r"""a list of ConfigGroup objects"""
|
|
33
|
+
|
|
34
|
+
count: Optional[int] = None
|
|
35
|
+
r"""number of items present in the items array"""
|
|
36
|
+
|
|
37
|
+
items: Optional[List[ConfigGroup]] = None
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .packinstallinfo import PackInstallInfo, PackInstallInfoTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
+
from typing import List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class DeletePacksByIDRequestTypedDict(TypedDict):
|
|
12
|
+
id: str
|
|
13
|
+
r"""Pack name"""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class DeletePacksByIDRequest(BaseModel):
|
|
17
|
+
id: Annotated[
|
|
18
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
|
+
]
|
|
20
|
+
r"""Pack name"""
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class DeletePacksByIDResponseTypedDict(TypedDict):
|
|
24
|
+
r"""a list of PackInstallInfo objects"""
|
|
25
|
+
|
|
26
|
+
count: NotRequired[int]
|
|
27
|
+
r"""number of items present in the items array"""
|
|
28
|
+
items: NotRequired[List[PackInstallInfoTypedDict]]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class DeletePacksByIDResponse(BaseModel):
|
|
32
|
+
r"""a list of PackInstallInfo objects"""
|
|
33
|
+
|
|
34
|
+
count: Optional[int] = None
|
|
35
|
+
r"""number of items present in the items array"""
|
|
36
|
+
|
|
37
|
+
items: Optional[List[PackInstallInfo]] = None
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .cribllakedataset import CriblLakeDataset, CriblLakeDatasetTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
+
import pydantic
|
|
8
|
+
from typing import List, Optional
|
|
9
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class GetCriblLakeDatasetByLakeIDAndIDRequestTypedDict(TypedDict):
|
|
13
|
+
lake_id: str
|
|
14
|
+
r"""lake id that contains the Datasets"""
|
|
15
|
+
id: str
|
|
16
|
+
r"""dataset id to get"""
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class GetCriblLakeDatasetByLakeIDAndIDRequest(BaseModel):
|
|
20
|
+
lake_id: Annotated[
|
|
21
|
+
str,
|
|
22
|
+
pydantic.Field(alias="lakeId"),
|
|
23
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
24
|
+
]
|
|
25
|
+
r"""lake id that contains the Datasets"""
|
|
26
|
+
|
|
27
|
+
id: Annotated[
|
|
28
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
29
|
+
]
|
|
30
|
+
r"""dataset id to get"""
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class GetCriblLakeDatasetByLakeIDAndIDResponseTypedDict(TypedDict):
|
|
34
|
+
r"""a list of CriblLakeDataset objects"""
|
|
35
|
+
|
|
36
|
+
count: NotRequired[int]
|
|
37
|
+
r"""number of items present in the items array"""
|
|
38
|
+
items: NotRequired[List[CriblLakeDatasetTypedDict]]
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class GetCriblLakeDatasetByLakeIDAndIDResponse(BaseModel):
|
|
42
|
+
r"""a list of CriblLakeDataset objects"""
|
|
43
|
+
|
|
44
|
+
count: Optional[int] = None
|
|
45
|
+
r"""number of items present in the items array"""
|
|
46
|
+
|
|
47
|
+
items: Optional[List[CriblLakeDataset]] = None
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .cribllakedataset import CriblLakeDataset, CriblLakeDatasetTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
7
|
+
import pydantic
|
|
8
|
+
from typing import List, Optional
|
|
9
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class UpdateCriblLakeDatasetByLakeIDAndIDRequestTypedDict(TypedDict):
|
|
13
|
+
lake_id: str
|
|
14
|
+
r"""lake id that contains the Datasets"""
|
|
15
|
+
id_param: str
|
|
16
|
+
r"""dataset id to update"""
|
|
17
|
+
cribl_lake_dataset: CriblLakeDatasetTypedDict
|
|
18
|
+
r"""CriblLakeDataset object"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class UpdateCriblLakeDatasetByLakeIDAndIDRequest(BaseModel):
|
|
22
|
+
lake_id: Annotated[
|
|
23
|
+
str,
|
|
24
|
+
pydantic.Field(alias="lakeId"),
|
|
25
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
26
|
+
]
|
|
27
|
+
r"""lake id that contains the Datasets"""
|
|
28
|
+
|
|
29
|
+
id_param: Annotated[
|
|
30
|
+
str,
|
|
31
|
+
pydantic.Field(alias="id"),
|
|
32
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
33
|
+
]
|
|
34
|
+
r"""dataset id to update"""
|
|
35
|
+
|
|
36
|
+
cribl_lake_dataset: Annotated[
|
|
37
|
+
CriblLakeDataset,
|
|
38
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
39
|
+
]
|
|
40
|
+
r"""CriblLakeDataset object"""
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
class UpdateCriblLakeDatasetByLakeIDAndIDResponseTypedDict(TypedDict):
|
|
44
|
+
r"""a list of CriblLakeDataset objects"""
|
|
45
|
+
|
|
46
|
+
count: NotRequired[int]
|
|
47
|
+
r"""number of items present in the items array"""
|
|
48
|
+
items: NotRequired[List[CriblLakeDatasetTypedDict]]
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
class UpdateCriblLakeDatasetByLakeIDAndIDResponse(BaseModel):
|
|
52
|
+
r"""a list of CriblLakeDataset objects"""
|
|
53
|
+
|
|
54
|
+
count: Optional[int] = None
|
|
55
|
+
r"""number of items present in the items array"""
|
|
56
|
+
|
|
57
|
+
items: Optional[List[CriblLakeDataset]] = None
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .configgroup import ConfigGroup, ConfigGroupTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
7
|
+
import pydantic
|
|
8
|
+
from typing import List, Optional
|
|
9
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class UpdateGroupsByIDRequestTypedDict(TypedDict):
|
|
13
|
+
id_param: str
|
|
14
|
+
r"""Group ID"""
|
|
15
|
+
config_group: ConfigGroupTypedDict
|
|
16
|
+
r"""ConfigGroup object"""
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class UpdateGroupsByIDRequest(BaseModel):
|
|
20
|
+
id_param: Annotated[
|
|
21
|
+
str,
|
|
22
|
+
pydantic.Field(alias="id"),
|
|
23
|
+
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
24
|
+
]
|
|
25
|
+
r"""Group ID"""
|
|
26
|
+
|
|
27
|
+
config_group: Annotated[
|
|
28
|
+
ConfigGroup,
|
|
29
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
30
|
+
]
|
|
31
|
+
r"""ConfigGroup object"""
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class UpdateGroupsByIDResponseTypedDict(TypedDict):
|
|
35
|
+
r"""a list of ConfigGroup objects"""
|
|
36
|
+
|
|
37
|
+
count: NotRequired[int]
|
|
38
|
+
r"""number of items present in the items array"""
|
|
39
|
+
items: NotRequired[List[ConfigGroupTypedDict]]
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class UpdateGroupsByIDResponse(BaseModel):
|
|
43
|
+
r"""a list of ConfigGroup objects"""
|
|
44
|
+
|
|
45
|
+
count: Optional[int] = None
|
|
46
|
+
r"""number of items present in the items array"""
|
|
47
|
+
|
|
48
|
+
items: Optional[List[ConfigGroup]] = None
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .packinfo import PackInfo, PackInfoTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from cribl_control_plane.utils import (
|
|
7
|
+
FieldMetadata,
|
|
8
|
+
PathParamMetadata,
|
|
9
|
+
QueryParamMetadata,
|
|
10
|
+
)
|
|
11
|
+
from typing import List, Optional
|
|
12
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class UpdatePacksByIDRequestTypedDict(TypedDict):
|
|
16
|
+
id: str
|
|
17
|
+
r"""Pack name"""
|
|
18
|
+
source: NotRequired[str]
|
|
19
|
+
r"""body string required Pack source"""
|
|
20
|
+
minor: NotRequired[str]
|
|
21
|
+
r"""body boolean optional Only upgrade to minor/patch versions"""
|
|
22
|
+
spec: NotRequired[str]
|
|
23
|
+
r"""body string optional Specify a branch, tag or a semver spec"""
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class UpdatePacksByIDRequest(BaseModel):
|
|
27
|
+
id: Annotated[
|
|
28
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
29
|
+
]
|
|
30
|
+
r"""Pack name"""
|
|
31
|
+
|
|
32
|
+
source: Annotated[
|
|
33
|
+
Optional[str],
|
|
34
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
35
|
+
] = None
|
|
36
|
+
r"""body string required Pack source"""
|
|
37
|
+
|
|
38
|
+
minor: Annotated[
|
|
39
|
+
Optional[str],
|
|
40
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
41
|
+
] = None
|
|
42
|
+
r"""body boolean optional Only upgrade to minor/patch versions"""
|
|
43
|
+
|
|
44
|
+
spec: Annotated[
|
|
45
|
+
Optional[str],
|
|
46
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
47
|
+
] = None
|
|
48
|
+
r"""body string optional Specify a branch, tag or a semver spec"""
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
class UpdatePacksByIDResponseTypedDict(TypedDict):
|
|
52
|
+
r"""a list of PackInfo objects"""
|
|
53
|
+
|
|
54
|
+
count: NotRequired[int]
|
|
55
|
+
r"""number of items present in the items array"""
|
|
56
|
+
items: NotRequired[List[PackInfoTypedDict]]
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
class UpdatePacksByIDResponse(BaseModel):
|
|
60
|
+
r"""a list of PackInfo objects"""
|
|
61
|
+
|
|
62
|
+
count: Optional[int] = None
|
|
63
|
+
r"""number of items present in the items array"""
|
|
64
|
+
|
|
65
|
+
items: Optional[List[PackInfo]] = None
|