cribl-control-plane 0.0.18__py3-none-any.whl → 0.0.20__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.

Files changed (70) hide show
  1. cribl_control_plane/_version.py +3 -3
  2. cribl_control_plane/distributed.py +187 -0
  3. cribl_control_plane/errors/healthstatus_error.py +1 -1
  4. cribl_control_plane/groups_sdk.py +1291 -0
  5. cribl_control_plane/lake.py +1141 -0
  6. cribl_control_plane/models/__init__.py +672 -3
  7. cribl_control_plane/models/appmode.py +13 -0
  8. cribl_control_plane/models/cacheconnection.py +44 -0
  9. cribl_control_plane/models/cacheconnectionbackfillstatus.py +12 -0
  10. cribl_control_plane/models/cloudprovider.py +9 -0
  11. cribl_control_plane/models/commit.py +30 -0
  12. cribl_control_plane/models/configgroup.py +116 -0
  13. cribl_control_plane/models/configgroupcloud.py +48 -0
  14. cribl_control_plane/models/configgrouplookups.py +34 -0
  15. cribl_control_plane/models/createcribllakedatasetbylakeidop.py +48 -0
  16. cribl_control_plane/models/createpacksop.py +24 -0
  17. cribl_control_plane/models/createproductsgroupsbyproductop.py +54 -0
  18. cribl_control_plane/models/cribllakedataset.py +74 -0
  19. cribl_control_plane/models/datasetmetadata.py +39 -0
  20. cribl_control_plane/models/datasetmetadataruninfo.py +28 -0
  21. cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +47 -0
  22. cribl_control_plane/models/deletepacksbyidop.py +37 -0
  23. cribl_control_plane/models/deployrequest.py +18 -0
  24. cribl_control_plane/models/deployrequestlookups.py +28 -0
  25. cribl_control_plane/models/distributedsummary.py +63 -0
  26. cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +47 -0
  27. cribl_control_plane/models/getcribllakedatasetbylakeidop.py +40 -0
  28. cribl_control_plane/models/getgroupsaclbyidop.py +63 -0
  29. cribl_control_plane/models/getgroupsbyidop.py +49 -0
  30. cribl_control_plane/models/getgroupsconfigversionbyidop.py +36 -0
  31. cribl_control_plane/models/getpacksop.py +40 -0
  32. cribl_control_plane/models/getproductsgroupsaclteamsbyproductandidop.py +78 -0
  33. cribl_control_plane/models/getproductsgroupsbyproductop.py +58 -0
  34. cribl_control_plane/models/getsummaryop.py +46 -0
  35. cribl_control_plane/models/getsummaryworkersop.py +39 -0
  36. cribl_control_plane/models/getworkersop.py +82 -0
  37. cribl_control_plane/models/hbcriblinfo.py +80 -0
  38. cribl_control_plane/models/hbleaderinfo.py +23 -0
  39. cribl_control_plane/models/healthstatus.py +3 -3
  40. cribl_control_plane/models/heartbeatmetadata.py +122 -0
  41. cribl_control_plane/models/lakedatasetsearchconfig.py +18 -0
  42. cribl_control_plane/models/lakehouseconnectiontype.py +9 -0
  43. cribl_control_plane/models/lookupversions.py +13 -0
  44. cribl_control_plane/models/masterworkerentry.py +84 -0
  45. cribl_control_plane/models/nodeactiveupgradestatus.py +10 -0
  46. cribl_control_plane/models/nodefailedupgradestatus.py +9 -0
  47. cribl_control_plane/models/nodeprovidedinfo.py +184 -0
  48. cribl_control_plane/models/nodeskippedupgradestatus.py +11 -0
  49. cribl_control_plane/models/nodeupgradestate.py +11 -0
  50. cribl_control_plane/models/nodeupgradestatus.py +30 -0
  51. cribl_control_plane/models/packinfo.py +73 -0
  52. cribl_control_plane/models/packinstallinfo.py +76 -0
  53. cribl_control_plane/models/packrequestbody.py +75 -0
  54. cribl_control_plane/models/rbacresource.py +14 -0
  55. cribl_control_plane/models/resourcepolicy.py +24 -0
  56. cribl_control_plane/models/restartresponse.py +26 -0
  57. cribl_control_plane/models/teamaccesscontrollist.py +18 -0
  58. cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +57 -0
  59. cribl_control_plane/models/updategroupsdeploybyidop.py +46 -0
  60. cribl_control_plane/models/updatepacksbyidop.py +65 -0
  61. cribl_control_plane/models/updatepacksop.py +37 -0
  62. cribl_control_plane/models/updateworkersrestartop.py +24 -0
  63. cribl_control_plane/models/useraccesscontrollist.py +18 -0
  64. cribl_control_plane/packs.py +989 -0
  65. cribl_control_plane/sdk.py +24 -0
  66. cribl_control_plane/teams.py +203 -0
  67. cribl_control_plane/workers_sdk.py +555 -0
  68. {cribl_control_plane-0.0.18.dist-info → cribl_control_plane-0.0.20.dist-info}/METADATA +47 -8
  69. {cribl_control_plane-0.0.18.dist-info → cribl_control_plane-0.0.20.dist-info}/RECORD +70 -8
  70. {cribl_control_plane-0.0.18.dist-info → cribl_control_plane-0.0.20.dist-info}/WHEEL +0 -0
@@ -0,0 +1,18 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .deployrequestlookups import DeployRequestLookups, DeployRequestLookupsTypedDict
5
+ from cribl_control_plane.types import BaseModel
6
+ from typing import List, Optional
7
+ from typing_extensions import NotRequired, TypedDict
8
+
9
+
10
+ class DeployRequestTypedDict(TypedDict):
11
+ version: str
12
+ lookups: NotRequired[List[DeployRequestLookupsTypedDict]]
13
+
14
+
15
+ class DeployRequest(BaseModel):
16
+ version: str
17
+
18
+ lookups: Optional[List[DeployRequestLookups]] = None
@@ -0,0 +1,28 @@
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 typing import List
6
+ from typing_extensions import TypedDict
7
+
8
+
9
+ class DeployRequestLookupsLookupTypedDict(TypedDict):
10
+ file: str
11
+ version: str
12
+
13
+
14
+ class DeployRequestLookupsLookup(BaseModel):
15
+ file: str
16
+
17
+ version: str
18
+
19
+
20
+ class DeployRequestLookupsTypedDict(TypedDict):
21
+ context: str
22
+ lookups: List[DeployRequestLookupsLookupTypedDict]
23
+
24
+
25
+ class DeployRequestLookups(BaseModel):
26
+ context: str
27
+
28
+ lookups: List[DeployRequestLookupsLookup]
@@ -0,0 +1,63 @@
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 typing_extensions import Annotated, TypedDict
7
+
8
+
9
+ class DistributedSummaryGroupsTypedDict(TypedDict):
10
+ count: float
11
+ destinations: float
12
+ pipelines: float
13
+ routes: float
14
+ sources: float
15
+
16
+
17
+ class DistributedSummaryGroups(BaseModel):
18
+ count: float
19
+
20
+ destinations: float
21
+
22
+ pipelines: float
23
+
24
+ routes: float
25
+
26
+ sources: float
27
+
28
+
29
+ class DistributedSummaryWorkersTypedDict(TypedDict):
30
+ alive: float
31
+ conf_versions: float
32
+ count: float
33
+ disconnected_count: float
34
+ groups: float
35
+ software_versions: float
36
+ unhealthy: float
37
+
38
+
39
+ class DistributedSummaryWorkers(BaseModel):
40
+ alive: float
41
+
42
+ conf_versions: Annotated[float, pydantic.Field(alias="confVersions")]
43
+
44
+ count: float
45
+
46
+ disconnected_count: Annotated[float, pydantic.Field(alias="disconnectedCount")]
47
+
48
+ groups: float
49
+
50
+ software_versions: Annotated[float, pydantic.Field(alias="softwareVersions")]
51
+
52
+ unhealthy: float
53
+
54
+
55
+ class DistributedSummaryTypedDict(TypedDict):
56
+ groups: DistributedSummaryGroupsTypedDict
57
+ workers: DistributedSummaryWorkersTypedDict
58
+
59
+
60
+ class DistributedSummary(BaseModel):
61
+ groups: DistributedSummaryGroups
62
+
63
+ workers: DistributedSummaryWorkers
@@ -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,40 @@
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 GetCriblLakeDatasetByLakeIDRequestTypedDict(TypedDict):
13
+ lake_id: str
14
+ r"""lake id that contains the Datasets"""
15
+
16
+
17
+ class GetCriblLakeDatasetByLakeIDRequest(BaseModel):
18
+ lake_id: Annotated[
19
+ str,
20
+ pydantic.Field(alias="lakeId"),
21
+ FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
22
+ ]
23
+ r"""lake id that contains the Datasets"""
24
+
25
+
26
+ class GetCriblLakeDatasetByLakeIDResponseTypedDict(TypedDict):
27
+ r"""a list of CriblLakeDataset objects"""
28
+
29
+ count: NotRequired[int]
30
+ r"""number of items present in the items array"""
31
+ items: NotRequired[List[CriblLakeDatasetTypedDict]]
32
+
33
+
34
+ class GetCriblLakeDatasetByLakeIDResponse(BaseModel):
35
+ r"""a list of CriblLakeDataset objects"""
36
+
37
+ count: Optional[int] = None
38
+ r"""number of items present in the items array"""
39
+
40
+ items: Optional[List[CriblLakeDataset]] = None
@@ -0,0 +1,63 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .useraccesscontrollist import UserAccessControlList, UserAccessControlListTypedDict
5
+ from cribl_control_plane.types import BaseModel
6
+ from cribl_control_plane.utils import (
7
+ FieldMetadata,
8
+ PathParamMetadata,
9
+ QueryParamMetadata,
10
+ )
11
+ from enum import Enum
12
+ from typing import List, Optional
13
+ from typing_extensions import Annotated, NotRequired, TypedDict
14
+
15
+
16
+ class GetGroupsACLByIDType(str, Enum):
17
+ r"""resource type by which to filter access levels"""
18
+
19
+ GROUPS = "groups"
20
+ DATASETS = "datasets"
21
+ DATASET_PROVIDERS = "dataset-providers"
22
+ PROJECTS = "projects"
23
+ DASHBOARDS = "dashboards"
24
+ MACROS = "macros"
25
+ NOTEBOOKS = "notebooks"
26
+ INSIGHTS = "insights"
27
+
28
+
29
+ class GetGroupsACLByIDRequestTypedDict(TypedDict):
30
+ id: str
31
+ r"""Group id"""
32
+ type: NotRequired[GetGroupsACLByIDType]
33
+ r"""resource type by which to filter access levels"""
34
+
35
+
36
+ class GetGroupsACLByIDRequest(BaseModel):
37
+ id: Annotated[
38
+ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
39
+ ]
40
+ r"""Group id"""
41
+
42
+ type: Annotated[
43
+ Optional[GetGroupsACLByIDType],
44
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
45
+ ] = None
46
+ r"""resource type by which to filter access levels"""
47
+
48
+
49
+ class GetGroupsACLByIDResponseTypedDict(TypedDict):
50
+ r"""a list of UserAccessControlList objects"""
51
+
52
+ count: NotRequired[int]
53
+ r"""number of items present in the items array"""
54
+ items: NotRequired[List[UserAccessControlListTypedDict]]
55
+
56
+
57
+ class GetGroupsACLByIDResponse(BaseModel):
58
+ r"""a list of UserAccessControlList objects"""
59
+
60
+ count: Optional[int] = None
61
+ r"""number of items present in the items array"""
62
+
63
+ items: Optional[List[UserAccessControlList]] = None
@@ -0,0 +1,49 @@
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 (
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 GetGroupsByIDRequestTypedDict(TypedDict):
16
+ id: str
17
+ r"""Group id"""
18
+ fields: NotRequired[str]
19
+ r"""fields to add to results: git.commit, git.localChanges, git.log"""
20
+
21
+
22
+ class GetGroupsByIDRequest(BaseModel):
23
+ id: Annotated[
24
+ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
25
+ ]
26
+ r"""Group id"""
27
+
28
+ fields: Annotated[
29
+ Optional[str],
30
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
31
+ ] = None
32
+ r"""fields to add to results: git.commit, git.localChanges, git.log"""
33
+
34
+
35
+ class GetGroupsByIDResponseTypedDict(TypedDict):
36
+ r"""a list of ConfigGroup objects"""
37
+
38
+ count: NotRequired[int]
39
+ r"""number of items present in the items array"""
40
+ items: NotRequired[List[ConfigGroupTypedDict]]
41
+
42
+
43
+ class GetGroupsByIDResponse(BaseModel):
44
+ r"""a list of ConfigGroup objects"""
45
+
46
+ count: Optional[int] = None
47
+ r"""number of items present in the items array"""
48
+
49
+ items: Optional[List[ConfigGroup]] = None
@@ -0,0 +1,36 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from cribl_control_plane.types import BaseModel
5
+ from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
6
+ from typing import List, Optional
7
+ from typing_extensions import Annotated, NotRequired, TypedDict
8
+
9
+
10
+ class GetGroupsConfigVersionByIDRequestTypedDict(TypedDict):
11
+ id: str
12
+ r"""Group ID"""
13
+
14
+
15
+ class GetGroupsConfigVersionByIDRequest(BaseModel):
16
+ id: Annotated[
17
+ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
18
+ ]
19
+ r"""Group ID"""
20
+
21
+
22
+ class GetGroupsConfigVersionByIDResponseTypedDict(TypedDict):
23
+ r"""a list of string objects"""
24
+
25
+ count: NotRequired[int]
26
+ r"""number of items present in the items array"""
27
+ items: NotRequired[List[str]]
28
+
29
+
30
+ class GetGroupsConfigVersionByIDResponse(BaseModel):
31
+ r"""a list of string objects"""
32
+
33
+ count: Optional[int] = None
34
+ r"""number of items present in the items array"""
35
+
36
+ items: Optional[List[str]] = None
@@ -0,0 +1,40 @@
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 FieldMetadata, QueryParamMetadata
7
+ import pydantic
8
+ from typing import List, Optional
9
+ from typing_extensions import Annotated, NotRequired, TypedDict
10
+
11
+
12
+ class GetPacksRequestTypedDict(TypedDict):
13
+ with_: NotRequired[str]
14
+ r"""Comma separated list of entities, \"outputs\", \"inputs\" """
15
+
16
+
17
+ class GetPacksRequest(BaseModel):
18
+ with_: Annotated[
19
+ Optional[str],
20
+ pydantic.Field(alias="with"),
21
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
22
+ ] = None
23
+ r"""Comma separated list of entities, \"outputs\", \"inputs\" """
24
+
25
+
26
+ class GetPacksResponseTypedDict(TypedDict):
27
+ r"""a list of PackInfo objects"""
28
+
29
+ count: NotRequired[int]
30
+ r"""number of items present in the items array"""
31
+ items: NotRequired[List[PackInfoTypedDict]]
32
+
33
+
34
+ class GetPacksResponse(BaseModel):
35
+ r"""a list of PackInfo objects"""
36
+
37
+ count: Optional[int] = None
38
+ r"""number of items present in the items array"""
39
+
40
+ items: Optional[List[PackInfo]] = None
@@ -0,0 +1,78 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .teamaccesscontrollist import TeamAccessControlList, TeamAccessControlListTypedDict
5
+ from cribl_control_plane.types import BaseModel
6
+ from cribl_control_plane.utils import (
7
+ FieldMetadata,
8
+ PathParamMetadata,
9
+ QueryParamMetadata,
10
+ )
11
+ from enum import Enum
12
+ from typing import List, Optional
13
+ from typing_extensions import Annotated, NotRequired, TypedDict
14
+
15
+
16
+ class GetProductsGroupsACLTeamsByProductAndIDProduct(str, Enum):
17
+ r"""Cribl Product"""
18
+
19
+ STREAM = "stream"
20
+ EDGE = "edge"
21
+
22
+
23
+ class GetProductsGroupsACLTeamsByProductAndIDType(str, Enum):
24
+ r"""resource type by which to filter access levels"""
25
+
26
+ GROUPS = "groups"
27
+ DATASETS = "datasets"
28
+ DATASET_PROVIDERS = "dataset-providers"
29
+ PROJECTS = "projects"
30
+ DASHBOARDS = "dashboards"
31
+ MACROS = "macros"
32
+ NOTEBOOKS = "notebooks"
33
+ INSIGHTS = "insights"
34
+
35
+
36
+ class GetProductsGroupsACLTeamsByProductAndIDRequestTypedDict(TypedDict):
37
+ product: GetProductsGroupsACLTeamsByProductAndIDProduct
38
+ r"""Cribl Product"""
39
+ id: str
40
+ r"""Group ID"""
41
+ type: NotRequired[GetProductsGroupsACLTeamsByProductAndIDType]
42
+ r"""resource type by which to filter access levels"""
43
+
44
+
45
+ class GetProductsGroupsACLTeamsByProductAndIDRequest(BaseModel):
46
+ product: Annotated[
47
+ GetProductsGroupsACLTeamsByProductAndIDProduct,
48
+ FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
49
+ ]
50
+ r"""Cribl Product"""
51
+
52
+ id: Annotated[
53
+ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
54
+ ]
55
+ r"""Group ID"""
56
+
57
+ type: Annotated[
58
+ Optional[GetProductsGroupsACLTeamsByProductAndIDType],
59
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
60
+ ] = None
61
+ r"""resource type by which to filter access levels"""
62
+
63
+
64
+ class GetProductsGroupsACLTeamsByProductAndIDResponseTypedDict(TypedDict):
65
+ r"""a list of TeamAccessControlList objects"""
66
+
67
+ count: NotRequired[int]
68
+ r"""number of items present in the items array"""
69
+ items: NotRequired[List[TeamAccessControlListTypedDict]]
70
+
71
+
72
+ class GetProductsGroupsACLTeamsByProductAndIDResponse(BaseModel):
73
+ r"""a list of TeamAccessControlList objects"""
74
+
75
+ count: Optional[int] = None
76
+ r"""number of items present in the items array"""
77
+
78
+ items: Optional[List[TeamAccessControlList]] = None
@@ -0,0 +1,58 @@
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 (
7
+ FieldMetadata,
8
+ PathParamMetadata,
9
+ QueryParamMetadata,
10
+ )
11
+ from enum import Enum
12
+ from typing import List, Optional
13
+ from typing_extensions import Annotated, NotRequired, TypedDict
14
+
15
+
16
+ class GetProductsGroupsByProductProduct(str, Enum):
17
+ r"""Cribl Product"""
18
+
19
+ STREAM = "stream"
20
+ EDGE = "edge"
21
+
22
+
23
+ class GetProductsGroupsByProductRequestTypedDict(TypedDict):
24
+ product: GetProductsGroupsByProductProduct
25
+ r"""Cribl Product"""
26
+ fields: NotRequired[str]
27
+ r"""fields to add to results: git.commit, git.localChanges, git.log"""
28
+
29
+
30
+ class GetProductsGroupsByProductRequest(BaseModel):
31
+ product: Annotated[
32
+ GetProductsGroupsByProductProduct,
33
+ FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
34
+ ]
35
+ r"""Cribl Product"""
36
+
37
+ fields: Annotated[
38
+ Optional[str],
39
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
40
+ ] = None
41
+ r"""fields to add to results: git.commit, git.localChanges, git.log"""
42
+
43
+
44
+ class GetProductsGroupsByProductResponseTypedDict(TypedDict):
45
+ r"""a list of ConfigGroup objects"""
46
+
47
+ count: NotRequired[int]
48
+ r"""number of items present in the items array"""
49
+ items: NotRequired[List[ConfigGroupTypedDict]]
50
+
51
+
52
+ class GetProductsGroupsByProductResponse(BaseModel):
53
+ r"""a list of ConfigGroup objects"""
54
+
55
+ count: Optional[int] = None
56
+ r"""number of items present in the items array"""
57
+
58
+ items: Optional[List[ConfigGroup]] = None
@@ -0,0 +1,46 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .distributedsummary import DistributedSummary, DistributedSummaryTypedDict
5
+ from cribl_control_plane.types import BaseModel
6
+ from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
7
+ from enum import Enum
8
+ from typing import List, Optional
9
+ from typing_extensions import Annotated, NotRequired, TypedDict
10
+
11
+
12
+ class GetSummaryMode(str, Enum):
13
+ r"""product filter"""
14
+
15
+ WORKER = "worker"
16
+ MANAGED_EDGE = "managed-edge"
17
+
18
+
19
+ class GetSummaryRequestTypedDict(TypedDict):
20
+ mode: NotRequired[GetSummaryMode]
21
+ r"""product filter"""
22
+
23
+
24
+ class GetSummaryRequest(BaseModel):
25
+ mode: Annotated[
26
+ Optional[GetSummaryMode],
27
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
28
+ ] = None
29
+ r"""product filter"""
30
+
31
+
32
+ class GetSummaryResponseTypedDict(TypedDict):
33
+ r"""a list of DistributedSummary objects"""
34
+
35
+ count: NotRequired[int]
36
+ r"""number of items present in the items array"""
37
+ items: NotRequired[List[DistributedSummaryTypedDict]]
38
+
39
+
40
+ class GetSummaryResponse(BaseModel):
41
+ r"""a list of DistributedSummary objects"""
42
+
43
+ count: Optional[int] = None
44
+ r"""number of items present in the items array"""
45
+
46
+ items: Optional[List[DistributedSummary]] = None
@@ -0,0 +1,39 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from cribl_control_plane.types import BaseModel
5
+ from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
6
+ import pydantic
7
+ from typing import List, Optional
8
+ from typing_extensions import Annotated, NotRequired, TypedDict
9
+
10
+
11
+ class GetSummaryWorkersRequestTypedDict(TypedDict):
12
+ filter_exp: NotRequired[str]
13
+ r"""Filter expression evaluated against nodes"""
14
+
15
+
16
+ class GetSummaryWorkersRequest(BaseModel):
17
+ filter_exp: Annotated[
18
+ Optional[str],
19
+ pydantic.Field(alias="filterExp"),
20
+ FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
21
+ ] = None
22
+ r"""Filter expression evaluated against nodes"""
23
+
24
+
25
+ class GetSummaryWorkersResponseTypedDict(TypedDict):
26
+ r"""a list of number objects"""
27
+
28
+ count: NotRequired[int]
29
+ r"""number of items present in the items array"""
30
+ items: NotRequired[List[float]]
31
+
32
+
33
+ class GetSummaryWorkersResponse(BaseModel):
34
+ r"""a list of number objects"""
35
+
36
+ count: Optional[int] = None
37
+ r"""number of items present in the items array"""
38
+
39
+ items: Optional[List[float]] = None