cribl-control-plane 0.0.31__py3-none-any.whl → 0.0.33__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 +4 -4
- cribl_control_plane/branches.py +6 -6
- cribl_control_plane/commits.py +36 -36
- cribl_control_plane/commits_files.py +16 -16
- cribl_control_plane/cribl.py +513 -0
- cribl_control_plane/destinations.py +21 -21
- cribl_control_plane/destinations_pq.py +10 -10
- cribl_control_plane/{samples.py → destinations_samples.py} +11 -11
- cribl_control_plane/hectokens.py +10 -10
- cribl_control_plane/lakedatasets.py +36 -36
- cribl_control_plane/models/__init__.py +342 -0
- cribl_control_plane/models/authconfig.py +43 -0
- cribl_control_plane/models/commonservicelimitconfigs.py +14 -0
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +2 -2
- cribl_control_plane/models/createinputhectokenbyidop.py +2 -2
- cribl_control_plane/models/createoutputtestbyidop.py +2 -2
- cribl_control_plane/models/createversionundoop.py +2 -2
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +4 -4
- cribl_control_plane/models/deleteinputbyidop.py +2 -2
- cribl_control_plane/models/deleteoutputbyidop.py +2 -2
- cribl_control_plane/models/deleteoutputpqbyidop.py +2 -2
- cribl_control_plane/models/deletepacksbyidop.py +2 -2
- cribl_control_plane/models/edgeheartbeatmetricsmode.py +11 -0
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +3 -3
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +4 -4
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +2 -2
- cribl_control_plane/models/getinputbyidop.py +2 -2
- cribl_control_plane/models/getmasterworkerentryop.py +2 -2
- cribl_control_plane/models/getoutputbyidop.py +2 -2
- cribl_control_plane/models/getoutputpqbyidop.py +2 -2
- cribl_control_plane/models/getoutputsamplesbyidop.py +2 -2
- cribl_control_plane/models/getpacksop.py +2 -2
- cribl_control_plane/models/getsummaryop.py +3 -3
- cribl_control_plane/models/getsystemsettingsauthop.py +24 -0
- cribl_control_plane/models/getsystemsettingsconfop.py +24 -0
- cribl_control_plane/models/getsystemsettingsgitsettingsop.py +24 -0
- cribl_control_plane/models/getversioncountop.py +4 -4
- cribl_control_plane/models/getversiondiffop.py +8 -8
- cribl_control_plane/models/getversionfilesop.py +4 -4
- cribl_control_plane/models/getversionshowop.py +8 -8
- cribl_control_plane/models/getversionstatusop.py +2 -2
- cribl_control_plane/models/gitopstype.py +10 -0
- cribl_control_plane/models/gitsettings.py +70 -0
- cribl_control_plane/models/jobsettings.py +83 -0
- cribl_control_plane/models/limits.py +127 -0
- cribl_control_plane/models/listmasterworkerentryop.py +23 -23
- cribl_control_plane/models/rediscachelimits.py +38 -0
- cribl_control_plane/models/redisconnectionlimits.py +20 -0
- cribl_control_plane/models/redislimits.py +14 -0
- cribl_control_plane/models/searchsettings.py +71 -0
- cribl_control_plane/models/serviceslimits.py +23 -0
- cribl_control_plane/models/systemsettings.py +358 -0
- cribl_control_plane/models/systemsettingsconf.py +311 -0
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +4 -4
- cribl_control_plane/models/updateinputbyidop.py +2 -2
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +4 -4
- cribl_control_plane/models/updateoutputbyidop.py +2 -2
- cribl_control_plane/models/updatepacksbyidop.py +2 -2
- cribl_control_plane/models/updatesystemsettingsauthop.py +24 -0
- cribl_control_plane/models/updatesystemsettingsconfop.py +24 -0
- cribl_control_plane/models/updatesystemsettingsgitsettingsop.py +24 -0
- cribl_control_plane/models/upgradegroupsettings.py +24 -0
- cribl_control_plane/models/upgradepackageurls.py +20 -0
- cribl_control_plane/models/upgradesettings.py +36 -0
- cribl_control_plane/nodes.py +30 -30
- cribl_control_plane/packs.py +16 -16
- cribl_control_plane/sdk.py +3 -0
- cribl_control_plane/settings.py +23 -0
- cribl_control_plane/settings_auth.py +339 -0
- cribl_control_plane/settings_git.py +339 -0
- cribl_control_plane/sources.py +18 -18
- cribl_control_plane/statuses.py +6 -6
- cribl_control_plane/summaries.py +6 -6
- cribl_control_plane/system_sdk.py +17 -0
- cribl_control_plane/teams.py +2 -2
- cribl_control_plane/versions_configs.py +4 -4
- {cribl_control_plane-0.0.31.dist-info → cribl_control_plane-0.0.33.dist-info}/METADATA +41 -25
- {cribl_control_plane-0.0.31.dist-info → cribl_control_plane-0.0.33.dist-info}/RECORD +79 -51
- {cribl_control_plane-0.0.31.dist-info → cribl_control_plane-0.0.33.dist-info}/WHEEL +0 -0
|
@@ -10,9 +10,9 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
|
|
10
10
|
|
|
11
11
|
class UpdateInputHecTokenByIDAndTokenRequestTypedDict(TypedDict):
|
|
12
12
|
id: str
|
|
13
|
-
r"""HEC Source
|
|
13
|
+
r"""The <code>id</code> of the Splunk HEC Source."""
|
|
14
14
|
token: str
|
|
15
|
-
r"""token to update"""
|
|
15
|
+
r"""The <code>id</code> of the HEC token to update."""
|
|
16
16
|
update_hec_token_request: UpdateHecTokenRequestTypedDict
|
|
17
17
|
r"""UpdateHecTokenRequest object"""
|
|
18
18
|
|
|
@@ -21,12 +21,12 @@ class UpdateInputHecTokenByIDAndTokenRequest(BaseModel):
|
|
|
21
21
|
id: Annotated[
|
|
22
22
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
23
23
|
]
|
|
24
|
-
r"""HEC Source
|
|
24
|
+
r"""The <code>id</code> of the Splunk HEC Source."""
|
|
25
25
|
|
|
26
26
|
token: Annotated[
|
|
27
27
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
28
28
|
]
|
|
29
|
-
r"""token to update"""
|
|
29
|
+
r"""The <code>id</code> of the HEC token to update."""
|
|
30
30
|
|
|
31
31
|
update_hec_token_request: Annotated[
|
|
32
32
|
UpdateHecTokenRequest,
|
|
@@ -10,7 +10,7 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
|
|
10
10
|
|
|
11
11
|
class UpdateOutputByIDRequestTypedDict(TypedDict):
|
|
12
12
|
id: str
|
|
13
|
-
r"""
|
|
13
|
+
r"""The <code>id</code> of the Destination to update."""
|
|
14
14
|
output: OutputTypedDict
|
|
15
15
|
r"""Output object"""
|
|
16
16
|
|
|
@@ -19,7 +19,7 @@ class UpdateOutputByIDRequest(BaseModel):
|
|
|
19
19
|
id: Annotated[
|
|
20
20
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
21
21
|
]
|
|
22
|
-
r"""
|
|
22
|
+
r"""The <code>id</code> of the Destination to update."""
|
|
23
23
|
|
|
24
24
|
output: Annotated[
|
|
25
25
|
Output, FieldMetadata(request=RequestMetadata(media_type="application/json"))
|
|
@@ -14,7 +14,7 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
|
|
14
14
|
|
|
15
15
|
class UpdatePacksByIDRequestTypedDict(TypedDict):
|
|
16
16
|
id: str
|
|
17
|
-
r"""Pack
|
|
17
|
+
r"""The <code>id</code> of the Pack to upgrade."""
|
|
18
18
|
source: NotRequired[str]
|
|
19
19
|
r"""body string required Pack source"""
|
|
20
20
|
minor: NotRequired[str]
|
|
@@ -27,7 +27,7 @@ class UpdatePacksByIDRequest(BaseModel):
|
|
|
27
27
|
id: Annotated[
|
|
28
28
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
29
29
|
]
|
|
30
|
-
r"""Pack
|
|
30
|
+
r"""The <code>id</code> of the Pack to upgrade."""
|
|
31
31
|
|
|
32
32
|
source: Annotated[
|
|
33
33
|
Optional[str],
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .authconfig import AuthConfig, AuthConfigTypedDict
|
|
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 UpdateSystemSettingsAuthResponseTypedDict(TypedDict):
|
|
11
|
+
r"""a list of AuthConfig objects"""
|
|
12
|
+
|
|
13
|
+
count: NotRequired[int]
|
|
14
|
+
r"""number of items present in the items array"""
|
|
15
|
+
items: NotRequired[List[AuthConfigTypedDict]]
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class UpdateSystemSettingsAuthResponse(BaseModel):
|
|
19
|
+
r"""a list of AuthConfig objects"""
|
|
20
|
+
|
|
21
|
+
count: Optional[int] = None
|
|
22
|
+
r"""number of items present in the items array"""
|
|
23
|
+
|
|
24
|
+
items: Optional[List[AuthConfig]] = None
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .systemsettings import SystemSettings, SystemSettingsTypedDict
|
|
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 UpdateSystemSettingsConfResponseTypedDict(TypedDict):
|
|
11
|
+
r"""a list of SystemSettings objects"""
|
|
12
|
+
|
|
13
|
+
count: NotRequired[int]
|
|
14
|
+
r"""number of items present in the items array"""
|
|
15
|
+
items: NotRequired[List[SystemSettingsTypedDict]]
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class UpdateSystemSettingsConfResponse(BaseModel):
|
|
19
|
+
r"""a list of SystemSettings objects"""
|
|
20
|
+
|
|
21
|
+
count: Optional[int] = None
|
|
22
|
+
r"""number of items present in the items array"""
|
|
23
|
+
|
|
24
|
+
items: Optional[List[SystemSettings]] = None
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .gitsettings import GitSettings, GitSettingsTypedDict
|
|
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 UpdateSystemSettingsGitSettingsResponseTypedDict(TypedDict):
|
|
11
|
+
r"""a list of GitSettings objects"""
|
|
12
|
+
|
|
13
|
+
count: NotRequired[int]
|
|
14
|
+
r"""number of items present in the items array"""
|
|
15
|
+
items: NotRequired[List[GitSettingsTypedDict]]
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class UpdateSystemSettingsGitSettingsResponse(BaseModel):
|
|
19
|
+
r"""a list of GitSettings objects"""
|
|
20
|
+
|
|
21
|
+
count: Optional[int] = None
|
|
22
|
+
r"""number of items present in the items array"""
|
|
23
|
+
|
|
24
|
+
items: Optional[List[GitSettings]] = None
|
|
@@ -0,0 +1,24 @@
|
|
|
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 Optional
|
|
7
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UpgradeGroupSettingsTypedDict(TypedDict):
|
|
11
|
+
is_rolling: NotRequired[bool]
|
|
12
|
+
quantity: NotRequired[float]
|
|
13
|
+
retry_count: NotRequired[float]
|
|
14
|
+
retry_delay: NotRequired[float]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class UpgradeGroupSettings(BaseModel):
|
|
18
|
+
is_rolling: Annotated[Optional[bool], pydantic.Field(alias="isRolling")] = None
|
|
19
|
+
|
|
20
|
+
quantity: Optional[float] = None
|
|
21
|
+
|
|
22
|
+
retry_count: Annotated[Optional[float], pydantic.Field(alias="retryCount")] = None
|
|
23
|
+
|
|
24
|
+
retry_delay: Annotated[Optional[float], pydantic.Field(alias="retryDelay")] = None
|
|
@@ -0,0 +1,20 @@
|
|
|
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 Optional
|
|
7
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UpgradePackageUrlsTypedDict(TypedDict):
|
|
11
|
+
package_url: str
|
|
12
|
+
package_hash_url: NotRequired[str]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class UpgradePackageUrls(BaseModel):
|
|
16
|
+
package_url: Annotated[str, pydantic.Field(alias="packageUrl")]
|
|
17
|
+
|
|
18
|
+
package_hash_url: Annotated[
|
|
19
|
+
Optional[str], pydantic.Field(alias="packageHashUrl")
|
|
20
|
+
] = None
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .upgradepackageurls import UpgradePackageUrls, UpgradePackageUrlsTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing import List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class UpgradeSettingsTypedDict(TypedDict):
|
|
12
|
+
disable_automatic_upgrade: bool
|
|
13
|
+
enable_legacy_edge_upgrade: bool
|
|
14
|
+
upgrade_source: str
|
|
15
|
+
automatic_upgrade_check_period: NotRequired[str]
|
|
16
|
+
package_urls: NotRequired[List[UpgradePackageUrlsTypedDict]]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class UpgradeSettings(BaseModel):
|
|
20
|
+
disable_automatic_upgrade: Annotated[
|
|
21
|
+
bool, pydantic.Field(alias="disableAutomaticUpgrade")
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
enable_legacy_edge_upgrade: Annotated[
|
|
25
|
+
bool, pydantic.Field(alias="enableLegacyEdgeUpgrade")
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
upgrade_source: Annotated[str, pydantic.Field(alias="upgradeSource")]
|
|
29
|
+
|
|
30
|
+
automatic_upgrade_check_period: Annotated[
|
|
31
|
+
Optional[str], pydantic.Field(alias="automaticUpgradeCheckPeriod")
|
|
32
|
+
] = None
|
|
33
|
+
|
|
34
|
+
package_urls: Annotated[
|
|
35
|
+
Optional[List[UpgradePackageUrls]], pydantic.Field(alias="packageUrls")
|
|
36
|
+
] = None
|
cribl_control_plane/nodes.py
CHANGED
|
@@ -26,26 +26,26 @@ class Nodes(BaseSDK):
|
|
|
26
26
|
self,
|
|
27
27
|
*,
|
|
28
28
|
filter_exp: Optional[str] = None,
|
|
29
|
-
sort: Optional[str] = None,
|
|
30
29
|
sort_exp: Optional[str] = None,
|
|
30
|
+
filter_: Optional[str] = None,
|
|
31
|
+
sort: Optional[str] = None,
|
|
31
32
|
limit: Optional[int] = None,
|
|
32
33
|
offset: Optional[int] = None,
|
|
33
|
-
filter_: Optional[str] = None,
|
|
34
34
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
35
35
|
server_url: Optional[str] = None,
|
|
36
36
|
timeout_ms: Optional[int] = None,
|
|
37
37
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
38
38
|
) -> models.ListMasterWorkerEntryResponse:
|
|
39
|
-
r"""
|
|
39
|
+
r"""Get detailed metadata for Worker and Edge Nodes
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
Get detailed metadata for Worker and Edge Nodes.
|
|
42
42
|
|
|
43
|
-
:param filter_exp: Filter expression
|
|
44
|
-
:param
|
|
45
|
-
:param
|
|
46
|
-
:param
|
|
47
|
-
:param
|
|
48
|
-
:param
|
|
43
|
+
:param filter_exp: Filter expression to evaluate against Nodes for inclusion in the response.
|
|
44
|
+
:param sort_exp: Sorting expression to evaluate against Nodes to specify the sort order for the response.
|
|
45
|
+
:param filter_: JSON-stringified filter object to evaluate against Nodes for inclusion in the response.
|
|
46
|
+
:param sort: JSON-stringified sorting object to evaluate against Nodes to specify the sort order for the response.
|
|
47
|
+
:param limit: Maximum number of Nodes to return in the response for this request. Use with <code>offset</code> to paginate the response into manageable batches.
|
|
48
|
+
:param offset: Starting point from which to retrieve results for this request. Use with <code>limit</code> to paginate the response into manageable batches.
|
|
49
49
|
:param retries: Override the default retry configuration for this method
|
|
50
50
|
:param server_url: Override the default server URL for this method
|
|
51
51
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -63,11 +63,11 @@ class Nodes(BaseSDK):
|
|
|
63
63
|
|
|
64
64
|
request = models.ListMasterWorkerEntryRequest(
|
|
65
65
|
filter_exp=filter_exp,
|
|
66
|
-
sort=sort,
|
|
67
66
|
sort_exp=sort_exp,
|
|
67
|
+
filter_=filter_,
|
|
68
|
+
sort=sort,
|
|
68
69
|
limit=limit,
|
|
69
70
|
offset=offset,
|
|
70
|
-
filter_=filter_,
|
|
71
71
|
)
|
|
72
72
|
|
|
73
73
|
req = self._build_request(
|
|
@@ -130,26 +130,26 @@ class Nodes(BaseSDK):
|
|
|
130
130
|
self,
|
|
131
131
|
*,
|
|
132
132
|
filter_exp: Optional[str] = None,
|
|
133
|
-
sort: Optional[str] = None,
|
|
134
133
|
sort_exp: Optional[str] = None,
|
|
134
|
+
filter_: Optional[str] = None,
|
|
135
|
+
sort: Optional[str] = None,
|
|
135
136
|
limit: Optional[int] = None,
|
|
136
137
|
offset: Optional[int] = None,
|
|
137
|
-
filter_: Optional[str] = None,
|
|
138
138
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
139
139
|
server_url: Optional[str] = None,
|
|
140
140
|
timeout_ms: Optional[int] = None,
|
|
141
141
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
142
142
|
) -> models.ListMasterWorkerEntryResponse:
|
|
143
|
-
r"""
|
|
143
|
+
r"""Get detailed metadata for Worker and Edge Nodes
|
|
144
144
|
|
|
145
|
-
|
|
145
|
+
Get detailed metadata for Worker and Edge Nodes.
|
|
146
146
|
|
|
147
|
-
:param filter_exp: Filter expression
|
|
148
|
-
:param
|
|
149
|
-
:param
|
|
150
|
-
:param
|
|
151
|
-
:param
|
|
152
|
-
:param
|
|
147
|
+
:param filter_exp: Filter expression to evaluate against Nodes for inclusion in the response.
|
|
148
|
+
:param sort_exp: Sorting expression to evaluate against Nodes to specify the sort order for the response.
|
|
149
|
+
:param filter_: JSON-stringified filter object to evaluate against Nodes for inclusion in the response.
|
|
150
|
+
:param sort: JSON-stringified sorting object to evaluate against Nodes to specify the sort order for the response.
|
|
151
|
+
:param limit: Maximum number of Nodes to return in the response for this request. Use with <code>offset</code> to paginate the response into manageable batches.
|
|
152
|
+
:param offset: Starting point from which to retrieve results for this request. Use with <code>limit</code> to paginate the response into manageable batches.
|
|
153
153
|
:param retries: Override the default retry configuration for this method
|
|
154
154
|
:param server_url: Override the default server URL for this method
|
|
155
155
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -167,11 +167,11 @@ class Nodes(BaseSDK):
|
|
|
167
167
|
|
|
168
168
|
request = models.ListMasterWorkerEntryRequest(
|
|
169
169
|
filter_exp=filter_exp,
|
|
170
|
-
sort=sort,
|
|
171
170
|
sort_exp=sort_exp,
|
|
171
|
+
filter_=filter_,
|
|
172
|
+
sort=sort,
|
|
172
173
|
limit=limit,
|
|
173
174
|
offset=offset,
|
|
174
|
-
filter_=filter_,
|
|
175
175
|
)
|
|
176
176
|
|
|
177
177
|
req = self._build_request_async(
|
|
@@ -239,11 +239,11 @@ class Nodes(BaseSDK):
|
|
|
239
239
|
timeout_ms: Optional[int] = None,
|
|
240
240
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
241
241
|
) -> models.GetMasterWorkerEntryResponse:
|
|
242
|
-
r"""
|
|
242
|
+
r"""Get a count of Worker and Edge Nodes
|
|
243
243
|
|
|
244
|
-
|
|
244
|
+
Get a count of all Worker and Edge Nodes.
|
|
245
245
|
|
|
246
|
-
:param filter_exp: Filter expression
|
|
246
|
+
:param filter_exp: Filter expression to evaluate against Nodes for inclusion in the response.
|
|
247
247
|
:param retries: Override the default retry configuration for this method
|
|
248
248
|
:param server_url: Override the default server URL for this method
|
|
249
249
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -328,11 +328,11 @@ class Nodes(BaseSDK):
|
|
|
328
328
|
timeout_ms: Optional[int] = None,
|
|
329
329
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
330
330
|
) -> models.GetMasterWorkerEntryResponse:
|
|
331
|
-
r"""
|
|
331
|
+
r"""Get a count of Worker and Edge Nodes
|
|
332
332
|
|
|
333
|
-
|
|
333
|
+
Get a count of all Worker and Edge Nodes.
|
|
334
334
|
|
|
335
|
-
:param filter_exp: Filter expression
|
|
335
|
+
:param filter_exp: Filter expression to evaluate against Nodes for inclusion in the response.
|
|
336
336
|
:param retries: Override the default retry configuration for this method
|
|
337
337
|
:param server_url: Override the default server URL for this method
|
|
338
338
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
cribl_control_plane/packs.py
CHANGED
|
@@ -38,7 +38,7 @@ class Packs(BaseSDK):
|
|
|
38
38
|
) -> models.CreatePacksResponse:
|
|
39
39
|
r"""Install a Pack
|
|
40
40
|
|
|
41
|
-
Install Pack
|
|
41
|
+
Install a Pack.
|
|
42
42
|
|
|
43
43
|
:param id:
|
|
44
44
|
:param source:
|
|
@@ -169,7 +169,7 @@ class Packs(BaseSDK):
|
|
|
169
169
|
) -> models.CreatePacksResponse:
|
|
170
170
|
r"""Install a Pack
|
|
171
171
|
|
|
172
|
-
Install Pack
|
|
172
|
+
Install a Pack.
|
|
173
173
|
|
|
174
174
|
:param id:
|
|
175
175
|
:param source:
|
|
@@ -285,9 +285,9 @@ class Packs(BaseSDK):
|
|
|
285
285
|
) -> models.GetPacksResponse:
|
|
286
286
|
r"""List all Packs
|
|
287
287
|
|
|
288
|
-
Get
|
|
288
|
+
Get a list of all Packs.
|
|
289
289
|
|
|
290
|
-
:param with_: Comma
|
|
290
|
+
:param with_: Comma-separated list of additional properties to include in the response. When set, the response includes a count of the specified properties in the Pack. Available values are <code>inputs</code> and <code>outputs</code>.
|
|
291
291
|
:param retries: Override the default retry configuration for this method
|
|
292
292
|
:param server_url: Override the default server URL for this method
|
|
293
293
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -372,9 +372,9 @@ class Packs(BaseSDK):
|
|
|
372
372
|
) -> models.GetPacksResponse:
|
|
373
373
|
r"""List all Packs
|
|
374
374
|
|
|
375
|
-
Get
|
|
375
|
+
Get a list of all Packs.
|
|
376
376
|
|
|
377
|
-
:param with_: Comma
|
|
377
|
+
:param with_: Comma-separated list of additional properties to include in the response. When set, the response includes a count of the specified properties in the Pack. Available values are <code>inputs</code> and <code>outputs</code>.
|
|
378
378
|
:param retries: Override the default retry configuration for this method
|
|
379
379
|
:param server_url: Override the default server URL for this method
|
|
380
380
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -459,9 +459,9 @@ class Packs(BaseSDK):
|
|
|
459
459
|
) -> models.DeletePacksByIDResponse:
|
|
460
460
|
r"""Uninstall a Pack
|
|
461
461
|
|
|
462
|
-
Uninstall
|
|
462
|
+
Uninstall the specified Pack.
|
|
463
463
|
|
|
464
|
-
:param id: Pack
|
|
464
|
+
:param id: The <code>id</code> of the Pack to uninstall.
|
|
465
465
|
:param retries: Override the default retry configuration for this method
|
|
466
466
|
:param server_url: Override the default server URL for this method
|
|
467
467
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -546,9 +546,9 @@ class Packs(BaseSDK):
|
|
|
546
546
|
) -> models.DeletePacksByIDResponse:
|
|
547
547
|
r"""Uninstall a Pack
|
|
548
548
|
|
|
549
|
-
Uninstall
|
|
549
|
+
Uninstall the specified Pack.
|
|
550
550
|
|
|
551
|
-
:param id: Pack
|
|
551
|
+
:param id: The <code>id</code> of the Pack to uninstall.
|
|
552
552
|
:param retries: Override the default retry configuration for this method
|
|
553
553
|
:param server_url: Override the default server URL for this method
|
|
554
554
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -634,11 +634,11 @@ class Packs(BaseSDK):
|
|
|
634
634
|
timeout_ms: Optional[int] = None,
|
|
635
635
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
636
636
|
) -> models.UpdatePacksByIDResponse:
|
|
637
|
-
r"""
|
|
637
|
+
r"""Upgrade a Pack
|
|
638
638
|
|
|
639
|
-
Upgrade Pack
|
|
639
|
+
Upgrade the specified Pack.</br></br>If the Pack includes any user–modified versions of default Cribl Knowledge resources such as lookups, copy the modified files locally for safekeeping before upgrading the Pack. Copy the modified files back to the upgraded Pack after you install it with <code>POST /packs</code> to overwrite the default versions in the Pack.</br></br>After you upgrade the Pack, update any Routes, Pipelines, Sources, and Destinations that use the previous Pack version so that they reference the upgraded Pack.
|
|
640
640
|
|
|
641
|
-
:param id: Pack
|
|
641
|
+
:param id: The <code>id</code> of the Pack to upgrade.
|
|
642
642
|
:param source: body string required Pack source
|
|
643
643
|
:param minor: body boolean optional Only upgrade to minor/patch versions
|
|
644
644
|
:param spec: body string optional Specify a branch, tag or a semver spec
|
|
@@ -730,11 +730,11 @@ class Packs(BaseSDK):
|
|
|
730
730
|
timeout_ms: Optional[int] = None,
|
|
731
731
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
732
732
|
) -> models.UpdatePacksByIDResponse:
|
|
733
|
-
r"""
|
|
733
|
+
r"""Upgrade a Pack
|
|
734
734
|
|
|
735
|
-
Upgrade Pack
|
|
735
|
+
Upgrade the specified Pack.</br></br>If the Pack includes any user–modified versions of default Cribl Knowledge resources such as lookups, copy the modified files locally for safekeeping before upgrading the Pack. Copy the modified files back to the upgraded Pack after you install it with <code>POST /packs</code> to overwrite the default versions in the Pack.</br></br>After you upgrade the Pack, update any Routes, Pipelines, Sources, and Destinations that use the previous Pack version so that they reference the upgraded Pack.
|
|
736
736
|
|
|
737
|
-
:param id: Pack
|
|
737
|
+
:param id: The <code>id</code> of the Pack to upgrade.
|
|
738
738
|
:param source: body string required Pack source
|
|
739
739
|
:param minor: body boolean optional Only upgrade to minor/patch versions
|
|
740
740
|
:param spec: body string optional Specify a branch, tag or a semver spec
|
cribl_control_plane/sdk.py
CHANGED
|
@@ -24,6 +24,7 @@ if TYPE_CHECKING:
|
|
|
24
24
|
from cribl_control_plane.pipelines import Pipelines
|
|
25
25
|
from cribl_control_plane.routes_sdk import RoutesSDK
|
|
26
26
|
from cribl_control_plane.sources import Sources
|
|
27
|
+
from cribl_control_plane.system_sdk import SystemSDK
|
|
27
28
|
from cribl_control_plane.versions import Versions
|
|
28
29
|
|
|
29
30
|
|
|
@@ -45,6 +46,7 @@ class CriblControlPlane(BaseSDK):
|
|
|
45
46
|
r"""Actions related to REST server health"""
|
|
46
47
|
packs: "Packs"
|
|
47
48
|
r"""Actions related to Packs"""
|
|
49
|
+
system: "SystemSDK"
|
|
48
50
|
versions: "Versions"
|
|
49
51
|
groups: "GroupsSDK"
|
|
50
52
|
r"""Actions related to Groups"""
|
|
@@ -58,6 +60,7 @@ class CriblControlPlane(BaseSDK):
|
|
|
58
60
|
"nodes": ("cribl_control_plane.nodes", "Nodes"),
|
|
59
61
|
"health": ("cribl_control_plane.health", "Health"),
|
|
60
62
|
"packs": ("cribl_control_plane.packs", "Packs"),
|
|
63
|
+
"system": ("cribl_control_plane.system_sdk", "SystemSDK"),
|
|
61
64
|
"versions": ("cribl_control_plane.versions", "Versions"),
|
|
62
65
|
"groups": ("cribl_control_plane.groups_sdk", "GroupsSDK"),
|
|
63
66
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from .basesdk import BaseSDK
|
|
4
|
+
from .sdkconfiguration import SDKConfiguration
|
|
5
|
+
from cribl_control_plane.cribl import Cribl
|
|
6
|
+
from cribl_control_plane.settings_auth import SettingsAuth
|
|
7
|
+
from cribl_control_plane.settings_git import SettingsGit
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Settings(BaseSDK):
|
|
11
|
+
auth: SettingsAuth
|
|
12
|
+
cribl: Cribl
|
|
13
|
+
git: SettingsGit
|
|
14
|
+
|
|
15
|
+
def __init__(self, sdk_config: SDKConfiguration) -> None:
|
|
16
|
+
BaseSDK.__init__(self, sdk_config)
|
|
17
|
+
self.sdk_configuration = sdk_config
|
|
18
|
+
self._init_sdks()
|
|
19
|
+
|
|
20
|
+
def _init_sdks(self):
|
|
21
|
+
self.auth = SettingsAuth(self.sdk_configuration)
|
|
22
|
+
self.cribl = Cribl(self.sdk_configuration)
|
|
23
|
+
self.git = SettingsGit(self.sdk_configuration)
|