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.
- cribl_control_plane/_version.py +3 -3
- cribl_control_plane/distributed.py +187 -0
- cribl_control_plane/errors/healthstatus_error.py +1 -1
- cribl_control_plane/groups_sdk.py +1291 -0
- cribl_control_plane/lake.py +1141 -0
- cribl_control_plane/models/__init__.py +672 -3
- cribl_control_plane/models/appmode.py +13 -0
- cribl_control_plane/models/cacheconnection.py +44 -0
- cribl_control_plane/models/cacheconnectionbackfillstatus.py +12 -0
- cribl_control_plane/models/cloudprovider.py +9 -0
- cribl_control_plane/models/commit.py +30 -0
- cribl_control_plane/models/configgroup.py +116 -0
- cribl_control_plane/models/configgroupcloud.py +48 -0
- cribl_control_plane/models/configgrouplookups.py +34 -0
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +48 -0
- cribl_control_plane/models/createpacksop.py +24 -0
- cribl_control_plane/models/createproductsgroupsbyproductop.py +54 -0
- cribl_control_plane/models/cribllakedataset.py +74 -0
- cribl_control_plane/models/datasetmetadata.py +39 -0
- cribl_control_plane/models/datasetmetadataruninfo.py +28 -0
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +47 -0
- cribl_control_plane/models/deletepacksbyidop.py +37 -0
- cribl_control_plane/models/deployrequest.py +18 -0
- cribl_control_plane/models/deployrequestlookups.py +28 -0
- cribl_control_plane/models/distributedsummary.py +63 -0
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +47 -0
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +40 -0
- cribl_control_plane/models/getgroupsaclbyidop.py +63 -0
- cribl_control_plane/models/getgroupsbyidop.py +49 -0
- cribl_control_plane/models/getgroupsconfigversionbyidop.py +36 -0
- cribl_control_plane/models/getpacksop.py +40 -0
- cribl_control_plane/models/getproductsgroupsaclteamsbyproductandidop.py +78 -0
- cribl_control_plane/models/getproductsgroupsbyproductop.py +58 -0
- cribl_control_plane/models/getsummaryop.py +46 -0
- cribl_control_plane/models/getsummaryworkersop.py +39 -0
- cribl_control_plane/models/getworkersop.py +82 -0
- cribl_control_plane/models/hbcriblinfo.py +80 -0
- cribl_control_plane/models/hbleaderinfo.py +23 -0
- cribl_control_plane/models/healthstatus.py +3 -3
- cribl_control_plane/models/heartbeatmetadata.py +122 -0
- cribl_control_plane/models/lakedatasetsearchconfig.py +18 -0
- cribl_control_plane/models/lakehouseconnectiontype.py +9 -0
- cribl_control_plane/models/lookupversions.py +13 -0
- cribl_control_plane/models/masterworkerentry.py +84 -0
- cribl_control_plane/models/nodeactiveupgradestatus.py +10 -0
- cribl_control_plane/models/nodefailedupgradestatus.py +9 -0
- cribl_control_plane/models/nodeprovidedinfo.py +184 -0
- cribl_control_plane/models/nodeskippedupgradestatus.py +11 -0
- cribl_control_plane/models/nodeupgradestate.py +11 -0
- cribl_control_plane/models/nodeupgradestatus.py +30 -0
- cribl_control_plane/models/packinfo.py +73 -0
- cribl_control_plane/models/packinstallinfo.py +76 -0
- cribl_control_plane/models/packrequestbody.py +75 -0
- cribl_control_plane/models/rbacresource.py +14 -0
- cribl_control_plane/models/resourcepolicy.py +24 -0
- cribl_control_plane/models/restartresponse.py +26 -0
- cribl_control_plane/models/teamaccesscontrollist.py +18 -0
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +57 -0
- cribl_control_plane/models/updategroupsdeploybyidop.py +46 -0
- cribl_control_plane/models/updatepacksbyidop.py +65 -0
- cribl_control_plane/models/updatepacksop.py +37 -0
- cribl_control_plane/models/updateworkersrestartop.py +24 -0
- cribl_control_plane/models/useraccesscontrollist.py +18 -0
- cribl_control_plane/packs.py +989 -0
- cribl_control_plane/sdk.py +24 -0
- cribl_control_plane/teams.py +203 -0
- cribl_control_plane/workers_sdk.py +555 -0
- {cribl_control_plane-0.0.18.dist-info → cribl_control_plane-0.0.20.dist-info}/METADATA +47 -8
- {cribl_control_plane-0.0.18.dist-info → cribl_control_plane-0.0.20.dist-info}/RECORD +70 -8
- {cribl_control_plane-0.0.18.dist-info → cribl_control_plane-0.0.20.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .nodeactiveupgradestatus import NodeActiveUpgradeStatus
|
|
5
|
+
from .nodefailedupgradestatus import NodeFailedUpgradeStatus
|
|
6
|
+
from .nodeskippedupgradestatus import NodeSkippedUpgradeStatus
|
|
7
|
+
from .nodeupgradestate import NodeUpgradeState
|
|
8
|
+
from cribl_control_plane.types import BaseModel
|
|
9
|
+
from typing import Optional
|
|
10
|
+
from typing_extensions import NotRequired, TypedDict
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class NodeUpgradeStatusTypedDict(TypedDict):
|
|
14
|
+
state: NodeUpgradeState
|
|
15
|
+
timestamp: float
|
|
16
|
+
active: NotRequired[NodeActiveUpgradeStatus]
|
|
17
|
+
failed: NotRequired[NodeFailedUpgradeStatus]
|
|
18
|
+
skipped: NotRequired[NodeSkippedUpgradeStatus]
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class NodeUpgradeStatus(BaseModel):
|
|
22
|
+
state: NodeUpgradeState
|
|
23
|
+
|
|
24
|
+
timestamp: float
|
|
25
|
+
|
|
26
|
+
active: Optional[NodeActiveUpgradeStatus] = None
|
|
27
|
+
|
|
28
|
+
failed: Optional[NodeFailedUpgradeStatus] = None
|
|
29
|
+
|
|
30
|
+
skipped: Optional[NodeSkippedUpgradeStatus] = None
|
|
@@ -0,0 +1,73 @@
|
|
|
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 import Any, Dict, List, Optional
|
|
7
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class PackInfoTagsTypedDict(TypedDict):
|
|
11
|
+
data_type: List[str]
|
|
12
|
+
domain: List[str]
|
|
13
|
+
streamtags: List[str]
|
|
14
|
+
technology: List[str]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class PackInfoTags(BaseModel):
|
|
18
|
+
data_type: Annotated[List[str], pydantic.Field(alias="dataType")]
|
|
19
|
+
|
|
20
|
+
domain: List[str]
|
|
21
|
+
|
|
22
|
+
streamtags: List[str]
|
|
23
|
+
|
|
24
|
+
technology: List[str]
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class PackInfoTypedDict(TypedDict):
|
|
28
|
+
id: str
|
|
29
|
+
source: str
|
|
30
|
+
author: NotRequired[str]
|
|
31
|
+
description: NotRequired[str]
|
|
32
|
+
display_name: NotRequired[str]
|
|
33
|
+
exports: NotRequired[List[str]]
|
|
34
|
+
inputs: NotRequired[float]
|
|
35
|
+
is_disabled: NotRequired[bool]
|
|
36
|
+
min_log_stream_version: NotRequired[str]
|
|
37
|
+
outputs: NotRequired[float]
|
|
38
|
+
settings: NotRequired[Dict[str, Any]]
|
|
39
|
+
spec: NotRequired[str]
|
|
40
|
+
tags: NotRequired[PackInfoTagsTypedDict]
|
|
41
|
+
version: NotRequired[str]
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class PackInfo(BaseModel):
|
|
45
|
+
id: str
|
|
46
|
+
|
|
47
|
+
source: str
|
|
48
|
+
|
|
49
|
+
author: Optional[str] = None
|
|
50
|
+
|
|
51
|
+
description: Optional[str] = None
|
|
52
|
+
|
|
53
|
+
display_name: Annotated[Optional[str], pydantic.Field(alias="displayName")] = None
|
|
54
|
+
|
|
55
|
+
exports: Optional[List[str]] = None
|
|
56
|
+
|
|
57
|
+
inputs: Optional[float] = None
|
|
58
|
+
|
|
59
|
+
is_disabled: Annotated[Optional[bool], pydantic.Field(alias="isDisabled")] = None
|
|
60
|
+
|
|
61
|
+
min_log_stream_version: Annotated[
|
|
62
|
+
Optional[str], pydantic.Field(alias="minLogStreamVersion")
|
|
63
|
+
] = None
|
|
64
|
+
|
|
65
|
+
outputs: Optional[float] = None
|
|
66
|
+
|
|
67
|
+
settings: Optional[Dict[str, Any]] = None
|
|
68
|
+
|
|
69
|
+
spec: Optional[str] = None
|
|
70
|
+
|
|
71
|
+
tags: Optional[PackInfoTags] = None
|
|
72
|
+
|
|
73
|
+
version: Optional[str] = None
|
|
@@ -0,0 +1,76 @@
|
|
|
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 import Any, Dict, List, Optional
|
|
7
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class PackInstallInfoTagsTypedDict(TypedDict):
|
|
11
|
+
data_type: List[str]
|
|
12
|
+
domain: List[str]
|
|
13
|
+
streamtags: List[str]
|
|
14
|
+
technology: List[str]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class PackInstallInfoTags(BaseModel):
|
|
18
|
+
data_type: Annotated[List[str], pydantic.Field(alias="dataType")]
|
|
19
|
+
|
|
20
|
+
domain: List[str]
|
|
21
|
+
|
|
22
|
+
streamtags: List[str]
|
|
23
|
+
|
|
24
|
+
technology: List[str]
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class PackInstallInfoTypedDict(TypedDict):
|
|
28
|
+
id: str
|
|
29
|
+
source: str
|
|
30
|
+
warnings: Any
|
|
31
|
+
author: NotRequired[str]
|
|
32
|
+
description: NotRequired[str]
|
|
33
|
+
display_name: NotRequired[str]
|
|
34
|
+
exports: NotRequired[List[str]]
|
|
35
|
+
inputs: NotRequired[float]
|
|
36
|
+
is_disabled: NotRequired[bool]
|
|
37
|
+
min_log_stream_version: NotRequired[str]
|
|
38
|
+
outputs: NotRequired[float]
|
|
39
|
+
settings: NotRequired[Dict[str, Any]]
|
|
40
|
+
spec: NotRequired[str]
|
|
41
|
+
tags: NotRequired[PackInstallInfoTagsTypedDict]
|
|
42
|
+
version: NotRequired[str]
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
class PackInstallInfo(BaseModel):
|
|
46
|
+
id: str
|
|
47
|
+
|
|
48
|
+
source: str
|
|
49
|
+
|
|
50
|
+
warnings: Any
|
|
51
|
+
|
|
52
|
+
author: Optional[str] = None
|
|
53
|
+
|
|
54
|
+
description: Optional[str] = None
|
|
55
|
+
|
|
56
|
+
display_name: Annotated[Optional[str], pydantic.Field(alias="displayName")] = None
|
|
57
|
+
|
|
58
|
+
exports: Optional[List[str]] = None
|
|
59
|
+
|
|
60
|
+
inputs: Optional[float] = None
|
|
61
|
+
|
|
62
|
+
is_disabled: Annotated[Optional[bool], pydantic.Field(alias="isDisabled")] = None
|
|
63
|
+
|
|
64
|
+
min_log_stream_version: Annotated[
|
|
65
|
+
Optional[str], pydantic.Field(alias="minLogStreamVersion")
|
|
66
|
+
] = None
|
|
67
|
+
|
|
68
|
+
outputs: Optional[float] = None
|
|
69
|
+
|
|
70
|
+
settings: Optional[Dict[str, Any]] = None
|
|
71
|
+
|
|
72
|
+
spec: Optional[str] = None
|
|
73
|
+
|
|
74
|
+
tags: Optional[PackInstallInfoTags] = None
|
|
75
|
+
|
|
76
|
+
version: Optional[str] = None
|
|
@@ -0,0 +1,75 @@
|
|
|
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 import List, Optional
|
|
7
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class PackRequestBodyTagsTypedDict(TypedDict):
|
|
11
|
+
data_type: List[str]
|
|
12
|
+
domain: List[str]
|
|
13
|
+
streamtags: List[str]
|
|
14
|
+
technology: List[str]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class PackRequestBodyTags(BaseModel):
|
|
18
|
+
data_type: Annotated[List[str], pydantic.Field(alias="dataType")]
|
|
19
|
+
|
|
20
|
+
domain: List[str]
|
|
21
|
+
|
|
22
|
+
streamtags: List[str]
|
|
23
|
+
|
|
24
|
+
technology: List[str]
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class PackRequestBodyTypedDict(TypedDict):
|
|
28
|
+
id: str
|
|
29
|
+
source: str
|
|
30
|
+
allow_custom_functions: NotRequired[bool]
|
|
31
|
+
author: NotRequired[str]
|
|
32
|
+
description: NotRequired[str]
|
|
33
|
+
display_name: NotRequired[str]
|
|
34
|
+
exports: NotRequired[List[str]]
|
|
35
|
+
force: NotRequired[bool]
|
|
36
|
+
inputs: NotRequired[float]
|
|
37
|
+
min_log_stream_version: NotRequired[str]
|
|
38
|
+
outputs: NotRequired[float]
|
|
39
|
+
spec: NotRequired[str]
|
|
40
|
+
tags: NotRequired[PackRequestBodyTagsTypedDict]
|
|
41
|
+
version: NotRequired[str]
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class PackRequestBody(BaseModel):
|
|
45
|
+
id: str
|
|
46
|
+
|
|
47
|
+
source: str
|
|
48
|
+
|
|
49
|
+
allow_custom_functions: Annotated[
|
|
50
|
+
Optional[bool], pydantic.Field(alias="allowCustomFunctions")
|
|
51
|
+
] = None
|
|
52
|
+
|
|
53
|
+
author: Optional[str] = None
|
|
54
|
+
|
|
55
|
+
description: Optional[str] = None
|
|
56
|
+
|
|
57
|
+
display_name: Annotated[Optional[str], pydantic.Field(alias="displayName")] = None
|
|
58
|
+
|
|
59
|
+
exports: Optional[List[str]] = None
|
|
60
|
+
|
|
61
|
+
force: Optional[bool] = None
|
|
62
|
+
|
|
63
|
+
inputs: Optional[float] = None
|
|
64
|
+
|
|
65
|
+
min_log_stream_version: Annotated[
|
|
66
|
+
Optional[str], pydantic.Field(alias="minLogStreamVersion")
|
|
67
|
+
] = None
|
|
68
|
+
|
|
69
|
+
outputs: Optional[float] = None
|
|
70
|
+
|
|
71
|
+
spec: Optional[str] = None
|
|
72
|
+
|
|
73
|
+
tags: Optional[PackRequestBodyTags] = None
|
|
74
|
+
|
|
75
|
+
version: Optional[str] = None
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from enum import Enum
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class RbacResource(str, Enum):
|
|
8
|
+
GROUPS = "groups"
|
|
9
|
+
DATASETS = "datasets"
|
|
10
|
+
DATASET_PROVIDERS = "dataset-providers"
|
|
11
|
+
PROJECTS = "projects"
|
|
12
|
+
DASHBOARDS = "dashboards"
|
|
13
|
+
MACROS = "macros"
|
|
14
|
+
NOTEBOOKS = "notebooks"
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .rbacresource import RbacResource
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from typing import Optional
|
|
7
|
+
from typing_extensions import NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ResourcePolicyTypedDict(TypedDict):
|
|
11
|
+
gid: str
|
|
12
|
+
policy: str
|
|
13
|
+
type: RbacResource
|
|
14
|
+
id: NotRequired[str]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class ResourcePolicy(BaseModel):
|
|
18
|
+
gid: str
|
|
19
|
+
|
|
20
|
+
policy: str
|
|
21
|
+
|
|
22
|
+
type: RbacResource
|
|
23
|
+
|
|
24
|
+
id: Optional[str] = None
|
|
@@ -0,0 +1,26 @@
|
|
|
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 enum import Enum
|
|
6
|
+
from typing import Optional
|
|
7
|
+
from typing_extensions import NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class RestartResponseStatus(str, Enum):
|
|
11
|
+
ERROR = "Error"
|
|
12
|
+
RESTARTING = "Restarting"
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class RestartResponseTypedDict(TypedDict):
|
|
16
|
+
id: str
|
|
17
|
+
status: RestartResponseStatus
|
|
18
|
+
message: NotRequired[str]
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class RestartResponse(BaseModel):
|
|
22
|
+
id: str
|
|
23
|
+
|
|
24
|
+
status: RestartResponseStatus
|
|
25
|
+
|
|
26
|
+
message: Optional[str] = None
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .resourcepolicy import ResourcePolicy, ResourcePolicyTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from typing import List
|
|
7
|
+
from typing_extensions import TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TeamAccessControlListTypedDict(TypedDict):
|
|
11
|
+
perms: List[ResourcePolicyTypedDict]
|
|
12
|
+
team: str
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class TeamAccessControlList(BaseModel):
|
|
16
|
+
perms: List[ResourcePolicy]
|
|
17
|
+
|
|
18
|
+
team: str
|
|
@@ -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,46 @@
|
|
|
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 .deployrequest import DeployRequest, DeployRequestTypedDict
|
|
6
|
+
from cribl_control_plane.types import BaseModel
|
|
7
|
+
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
8
|
+
from typing import List, Optional
|
|
9
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class UpdateGroupsDeployByIDRequestTypedDict(TypedDict):
|
|
13
|
+
id: str
|
|
14
|
+
r"""Group ID"""
|
|
15
|
+
deploy_request: DeployRequestTypedDict
|
|
16
|
+
r"""DeployRequest object"""
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class UpdateGroupsDeployByIDRequest(BaseModel):
|
|
20
|
+
id: Annotated[
|
|
21
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
22
|
+
]
|
|
23
|
+
r"""Group ID"""
|
|
24
|
+
|
|
25
|
+
deploy_request: Annotated[
|
|
26
|
+
DeployRequest,
|
|
27
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
28
|
+
]
|
|
29
|
+
r"""DeployRequest object"""
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class UpdateGroupsDeployByIDResponseTypedDict(TypedDict):
|
|
33
|
+
r"""a list of ConfigGroup objects"""
|
|
34
|
+
|
|
35
|
+
count: NotRequired[int]
|
|
36
|
+
r"""number of items present in the items array"""
|
|
37
|
+
items: NotRequired[List[ConfigGroupTypedDict]]
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class UpdateGroupsDeployByIDResponse(BaseModel):
|
|
41
|
+
r"""a list of ConfigGroup objects"""
|
|
42
|
+
|
|
43
|
+
count: Optional[int] = None
|
|
44
|
+
r"""number of items present in the items array"""
|
|
45
|
+
|
|
46
|
+
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
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
from typing import Any, Dict, List, Optional
|
|
7
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UpdatePacksRequestTypedDict(TypedDict):
|
|
11
|
+
filename: NotRequired[str]
|
|
12
|
+
r"""the file to upload"""
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class UpdatePacksRequest(BaseModel):
|
|
16
|
+
filename: Annotated[
|
|
17
|
+
Optional[str],
|
|
18
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
19
|
+
] = None
|
|
20
|
+
r"""the file to upload"""
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class UpdatePacksResponseTypedDict(TypedDict):
|
|
24
|
+
r"""a list of any objects"""
|
|
25
|
+
|
|
26
|
+
count: NotRequired[int]
|
|
27
|
+
r"""number of items present in the items array"""
|
|
28
|
+
items: NotRequired[List[Dict[str, Any]]]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class UpdatePacksResponse(BaseModel):
|
|
32
|
+
r"""a list of any objects"""
|
|
33
|
+
|
|
34
|
+
count: Optional[int] = None
|
|
35
|
+
r"""number of items present in the items array"""
|
|
36
|
+
|
|
37
|
+
items: Optional[List[Dict[str, Any]]] = None
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .restartresponse import RestartResponse, RestartResponseTypedDict
|
|
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 UpdateWorkersRestartResponseTypedDict(TypedDict):
|
|
11
|
+
r"""a list of RestartResponse objects"""
|
|
12
|
+
|
|
13
|
+
count: NotRequired[int]
|
|
14
|
+
r"""number of items present in the items array"""
|
|
15
|
+
items: NotRequired[List[RestartResponseTypedDict]]
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class UpdateWorkersRestartResponse(BaseModel):
|
|
19
|
+
r"""a list of RestartResponse objects"""
|
|
20
|
+
|
|
21
|
+
count: Optional[int] = None
|
|
22
|
+
r"""number of items present in the items array"""
|
|
23
|
+
|
|
24
|
+
items: Optional[List[RestartResponse]] = None
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .resourcepolicy import ResourcePolicy, ResourcePolicyTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from typing import List
|
|
7
|
+
from typing_extensions import TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UserAccessControlListTypedDict(TypedDict):
|
|
11
|
+
perms: List[ResourcePolicyTypedDict]
|
|
12
|
+
user: str
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class UserAccessControlList(BaseModel):
|
|
16
|
+
perms: List[ResourcePolicy]
|
|
17
|
+
|
|
18
|
+
user: str
|