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
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .gitopstype import GitOpsType
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing import Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class GitSettingsTypedDict(TypedDict):
|
|
12
|
+
auth_type: NotRequired[str]
|
|
13
|
+
auto_action: NotRequired[str]
|
|
14
|
+
auto_action_message: NotRequired[str]
|
|
15
|
+
auto_action_schedule: NotRequired[str]
|
|
16
|
+
branch: NotRequired[str]
|
|
17
|
+
commit_deploy_single_action: NotRequired[bool]
|
|
18
|
+
copilot_auto_git_commit_messages: NotRequired[bool]
|
|
19
|
+
default_commit_message: NotRequired[str]
|
|
20
|
+
git_ops: NotRequired[GitOpsType]
|
|
21
|
+
password: NotRequired[str]
|
|
22
|
+
remote: NotRequired[str]
|
|
23
|
+
ssh_key: NotRequired[str]
|
|
24
|
+
strict_host_key_checking: NotRequired[bool]
|
|
25
|
+
timeout: NotRequired[float]
|
|
26
|
+
user: NotRequired[str]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class GitSettings(BaseModel):
|
|
30
|
+
auth_type: Annotated[Optional[str], pydantic.Field(alias="authType")] = None
|
|
31
|
+
|
|
32
|
+
auto_action: Annotated[Optional[str], pydantic.Field(alias="autoAction")] = None
|
|
33
|
+
|
|
34
|
+
auto_action_message: Annotated[
|
|
35
|
+
Optional[str], pydantic.Field(alias="autoActionMessage")
|
|
36
|
+
] = None
|
|
37
|
+
|
|
38
|
+
auto_action_schedule: Annotated[
|
|
39
|
+
Optional[str], pydantic.Field(alias="autoActionSchedule")
|
|
40
|
+
] = None
|
|
41
|
+
|
|
42
|
+
branch: Optional[str] = None
|
|
43
|
+
|
|
44
|
+
commit_deploy_single_action: Annotated[
|
|
45
|
+
Optional[bool], pydantic.Field(alias="commitDeploySingleAction")
|
|
46
|
+
] = None
|
|
47
|
+
|
|
48
|
+
copilot_auto_git_commit_messages: Annotated[
|
|
49
|
+
Optional[bool], pydantic.Field(alias="copilotAutoGitCommitMessages")
|
|
50
|
+
] = None
|
|
51
|
+
|
|
52
|
+
default_commit_message: Annotated[
|
|
53
|
+
Optional[str], pydantic.Field(alias="defaultCommitMessage")
|
|
54
|
+
] = None
|
|
55
|
+
|
|
56
|
+
git_ops: Annotated[Optional[GitOpsType], pydantic.Field(alias="gitOps")] = None
|
|
57
|
+
|
|
58
|
+
password: Optional[str] = None
|
|
59
|
+
|
|
60
|
+
remote: Optional[str] = None
|
|
61
|
+
|
|
62
|
+
ssh_key: Annotated[Optional[str], pydantic.Field(alias="sshKey")] = None
|
|
63
|
+
|
|
64
|
+
strict_host_key_checking: Annotated[
|
|
65
|
+
Optional[bool], pydantic.Field(alias="strictHostKeyChecking")
|
|
66
|
+
] = None
|
|
67
|
+
|
|
68
|
+
timeout: Optional[float] = None
|
|
69
|
+
|
|
70
|
+
user: Optional[str] = None
|
|
@@ -0,0 +1,83 @@
|
|
|
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 JobSettingsTypedDict(TypedDict):
|
|
11
|
+
concurrent_job_limit: float
|
|
12
|
+
concurrent_scheduled_job_limit: float
|
|
13
|
+
concurrent_system_job_limit: float
|
|
14
|
+
concurrent_system_task_limit: float
|
|
15
|
+
concurrent_task_limit: float
|
|
16
|
+
finished_job_artifacts_limit: float
|
|
17
|
+
finished_task_artifacts_limit: float
|
|
18
|
+
job_artifacts_reaper_period: str
|
|
19
|
+
job_timeout: str
|
|
20
|
+
max_task_perc: float
|
|
21
|
+
scheduling_policy: str
|
|
22
|
+
task_heartbeat_period: float
|
|
23
|
+
task_manifest_flush_period_ms: float
|
|
24
|
+
task_manifest_max_buffer_size: float
|
|
25
|
+
task_manifest_read_buffer_size: str
|
|
26
|
+
task_poll_timeout_ms: float
|
|
27
|
+
disable_tasks: NotRequired[bool]
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class JobSettings(BaseModel):
|
|
31
|
+
concurrent_job_limit: Annotated[float, pydantic.Field(alias="concurrentJobLimit")]
|
|
32
|
+
|
|
33
|
+
concurrent_scheduled_job_limit: Annotated[
|
|
34
|
+
float, pydantic.Field(alias="concurrentScheduledJobLimit")
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
concurrent_system_job_limit: Annotated[
|
|
38
|
+
float, pydantic.Field(alias="concurrentSystemJobLimit")
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
concurrent_system_task_limit: Annotated[
|
|
42
|
+
float, pydantic.Field(alias="concurrentSystemTaskLimit")
|
|
43
|
+
]
|
|
44
|
+
|
|
45
|
+
concurrent_task_limit: Annotated[float, pydantic.Field(alias="concurrentTaskLimit")]
|
|
46
|
+
|
|
47
|
+
finished_job_artifacts_limit: Annotated[
|
|
48
|
+
float, pydantic.Field(alias="finishedJobArtifactsLimit")
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
finished_task_artifacts_limit: Annotated[
|
|
52
|
+
float, pydantic.Field(alias="finishedTaskArtifactsLimit")
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
job_artifacts_reaper_period: Annotated[
|
|
56
|
+
str, pydantic.Field(alias="jobArtifactsReaperPeriod")
|
|
57
|
+
]
|
|
58
|
+
|
|
59
|
+
job_timeout: Annotated[str, pydantic.Field(alias="jobTimeout")]
|
|
60
|
+
|
|
61
|
+
max_task_perc: Annotated[float, pydantic.Field(alias="maxTaskPerc")]
|
|
62
|
+
|
|
63
|
+
scheduling_policy: Annotated[str, pydantic.Field(alias="schedulingPolicy")]
|
|
64
|
+
|
|
65
|
+
task_heartbeat_period: Annotated[float, pydantic.Field(alias="taskHeartbeatPeriod")]
|
|
66
|
+
|
|
67
|
+
task_manifest_flush_period_ms: Annotated[
|
|
68
|
+
float, pydantic.Field(alias="taskManifestFlushPeriodMs")
|
|
69
|
+
]
|
|
70
|
+
|
|
71
|
+
task_manifest_max_buffer_size: Annotated[
|
|
72
|
+
float, pydantic.Field(alias="taskManifestMaxBufferSize")
|
|
73
|
+
]
|
|
74
|
+
|
|
75
|
+
task_manifest_read_buffer_size: Annotated[
|
|
76
|
+
str, pydantic.Field(alias="taskManifestReadBufferSize")
|
|
77
|
+
]
|
|
78
|
+
|
|
79
|
+
task_poll_timeout_ms: Annotated[float, pydantic.Field(alias="taskPollTimeoutMs")]
|
|
80
|
+
|
|
81
|
+
disable_tasks: Annotated[Optional[bool], pydantic.Field(alias="disableTasks")] = (
|
|
82
|
+
None
|
|
83
|
+
)
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .edgeheartbeatmetricsmode import EdgeHeartbeatMetricsMode
|
|
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 SamplesTypedDict(TypedDict):
|
|
12
|
+
max_size: str
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class Samples(BaseModel):
|
|
16
|
+
max_size: Annotated[str, pydantic.Field(alias="maxSize")]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class LimitsTypedDict(TypedDict):
|
|
20
|
+
cpu_profile_ttl: str
|
|
21
|
+
enable_metrics_persistence: bool
|
|
22
|
+
metrics_directory: str
|
|
23
|
+
metrics_fields_blacklist: List[str]
|
|
24
|
+
metrics_gc_period: str
|
|
25
|
+
metrics_never_drop_list: List[str]
|
|
26
|
+
metrics_worker_id_blacklist: List[str]
|
|
27
|
+
min_free_space: str
|
|
28
|
+
samples: SamplesTypedDict
|
|
29
|
+
disable_metrics_accessor_cache: NotRequired[bool]
|
|
30
|
+
edge_metrics_custom_expression: NotRequired[str]
|
|
31
|
+
edge_metrics_mode: NotRequired[EdgeHeartbeatMetricsMode]
|
|
32
|
+
edge_nodes_count: NotRequired[float]
|
|
33
|
+
enable_worker_persistence: NotRequired[bool]
|
|
34
|
+
events_metadata_sources: NotRequired[List[str]]
|
|
35
|
+
large_events_threshold: NotRequired[str]
|
|
36
|
+
lookup_max_size: NotRequired[str]
|
|
37
|
+
lookup_max_total_size: NotRequired[str]
|
|
38
|
+
max_metrics: NotRequired[float]
|
|
39
|
+
max_pq_size: NotRequired[str]
|
|
40
|
+
metrics_drop_list: NotRequired[List[str]]
|
|
41
|
+
metrics_max_cardinality: NotRequired[float]
|
|
42
|
+
metrics_max_disk_space: NotRequired[str]
|
|
43
|
+
worker_max_metrics: NotRequired[float]
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
class Limits(BaseModel):
|
|
47
|
+
cpu_profile_ttl: Annotated[str, pydantic.Field(alias="cpuProfileTTL")]
|
|
48
|
+
|
|
49
|
+
enable_metrics_persistence: Annotated[
|
|
50
|
+
bool, pydantic.Field(alias="enableMetricsPersistence")
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
metrics_directory: Annotated[str, pydantic.Field(alias="metricsDirectory")]
|
|
54
|
+
|
|
55
|
+
metrics_fields_blacklist: Annotated[
|
|
56
|
+
List[str], pydantic.Field(alias="metricsFieldsBlacklist")
|
|
57
|
+
]
|
|
58
|
+
|
|
59
|
+
metrics_gc_period: Annotated[str, pydantic.Field(alias="metricsGCPeriod")]
|
|
60
|
+
|
|
61
|
+
metrics_never_drop_list: Annotated[
|
|
62
|
+
List[str], pydantic.Field(alias="metricsNeverDropList")
|
|
63
|
+
]
|
|
64
|
+
|
|
65
|
+
metrics_worker_id_blacklist: Annotated[
|
|
66
|
+
List[str], pydantic.Field(alias="metricsWorkerIdBlacklist")
|
|
67
|
+
]
|
|
68
|
+
|
|
69
|
+
min_free_space: Annotated[str, pydantic.Field(alias="minFreeSpace")]
|
|
70
|
+
|
|
71
|
+
samples: Samples
|
|
72
|
+
|
|
73
|
+
disable_metrics_accessor_cache: Annotated[
|
|
74
|
+
Optional[bool], pydantic.Field(alias="disableMetricsAccessorCache")
|
|
75
|
+
] = None
|
|
76
|
+
|
|
77
|
+
edge_metrics_custom_expression: Annotated[
|
|
78
|
+
Optional[str], pydantic.Field(alias="edgeMetricsCustomExpression")
|
|
79
|
+
] = None
|
|
80
|
+
|
|
81
|
+
edge_metrics_mode: Annotated[
|
|
82
|
+
Optional[EdgeHeartbeatMetricsMode], pydantic.Field(alias="edgeMetricsMode")
|
|
83
|
+
] = None
|
|
84
|
+
|
|
85
|
+
edge_nodes_count: Annotated[
|
|
86
|
+
Optional[float], pydantic.Field(alias="edgeNodesCount")
|
|
87
|
+
] = None
|
|
88
|
+
|
|
89
|
+
enable_worker_persistence: Annotated[
|
|
90
|
+
Optional[bool], pydantic.Field(alias="enableWorkerPersistence")
|
|
91
|
+
] = None
|
|
92
|
+
|
|
93
|
+
events_metadata_sources: Annotated[
|
|
94
|
+
Optional[List[str]], pydantic.Field(alias="eventsMetadataSources")
|
|
95
|
+
] = None
|
|
96
|
+
|
|
97
|
+
large_events_threshold: Annotated[
|
|
98
|
+
Optional[str], pydantic.Field(alias="largeEventsThreshold")
|
|
99
|
+
] = None
|
|
100
|
+
|
|
101
|
+
lookup_max_size: Annotated[Optional[str], pydantic.Field(alias="lookupMaxSize")] = (
|
|
102
|
+
None
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
lookup_max_total_size: Annotated[
|
|
106
|
+
Optional[str], pydantic.Field(alias="lookupMaxTotalSize")
|
|
107
|
+
] = None
|
|
108
|
+
|
|
109
|
+
max_metrics: Annotated[Optional[float], pydantic.Field(alias="maxMetrics")] = None
|
|
110
|
+
|
|
111
|
+
max_pq_size: Annotated[Optional[str], pydantic.Field(alias="maxPQSize")] = None
|
|
112
|
+
|
|
113
|
+
metrics_drop_list: Annotated[
|
|
114
|
+
Optional[List[str]], pydantic.Field(alias="metricsDropList")
|
|
115
|
+
] = None
|
|
116
|
+
|
|
117
|
+
metrics_max_cardinality: Annotated[
|
|
118
|
+
Optional[float], pydantic.Field(alias="metricsMaxCardinality")
|
|
119
|
+
] = None
|
|
120
|
+
|
|
121
|
+
metrics_max_disk_space: Annotated[
|
|
122
|
+
Optional[str], pydantic.Field(alias="metricsMaxDiskSpace")
|
|
123
|
+
] = None
|
|
124
|
+
|
|
125
|
+
worker_max_metrics: Annotated[
|
|
126
|
+
Optional[float], pydantic.Field(alias="workerMaxMetrics")
|
|
127
|
+
] = None
|
|
@@ -11,17 +11,17 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
|
|
11
11
|
|
|
12
12
|
class ListMasterWorkerEntryRequestTypedDict(TypedDict):
|
|
13
13
|
filter_exp: NotRequired[str]
|
|
14
|
-
r"""Filter expression
|
|
15
|
-
sort: NotRequired[str]
|
|
16
|
-
r"""Sorting object (JSON stringified) expression evaluated against nodes"""
|
|
14
|
+
r"""Filter expression to evaluate against Nodes for inclusion in the response."""
|
|
17
15
|
sort_exp: NotRequired[str]
|
|
18
|
-
r"""Sorting expression
|
|
16
|
+
r"""Sorting expression to evaluate against Nodes to specify the sort order for the response."""
|
|
17
|
+
filter_: NotRequired[str]
|
|
18
|
+
r"""JSON-stringified filter object to evaluate against Nodes for inclusion in the response."""
|
|
19
|
+
sort: NotRequired[str]
|
|
20
|
+
r"""JSON-stringified sorting object to evaluate against Nodes to specify the sort order for the response."""
|
|
19
21
|
limit: NotRequired[int]
|
|
20
|
-
r"""Maximum number of
|
|
22
|
+
r"""Maximum number of Nodes to return in the response for this request. Use with <code>offset</code> to paginate the response into manageable batches."""
|
|
21
23
|
offset: NotRequired[int]
|
|
22
|
-
r"""
|
|
23
|
-
filter_: NotRequired[str]
|
|
24
|
-
r"""Filter object (JSON stringified) to select nodes"""
|
|
24
|
+
r"""Starting point from which to retrieve results for this request. Use with <code>limit</code> to paginate the response into manageable batches."""
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
class ListMasterWorkerEntryRequest(BaseModel):
|
|
@@ -30,39 +30,39 @@ class ListMasterWorkerEntryRequest(BaseModel):
|
|
|
30
30
|
pydantic.Field(alias="filterExp"),
|
|
31
31
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
32
32
|
] = None
|
|
33
|
-
r"""Filter expression
|
|
33
|
+
r"""Filter expression to evaluate against Nodes for inclusion in the response."""
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
sort_exp: Annotated[
|
|
36
36
|
Optional[str],
|
|
37
|
+
pydantic.Field(alias="sortExp"),
|
|
37
38
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
38
39
|
] = None
|
|
39
|
-
r"""Sorting
|
|
40
|
+
r"""Sorting expression to evaluate against Nodes to specify the sort order for the response."""
|
|
40
41
|
|
|
41
|
-
|
|
42
|
+
filter_: Annotated[
|
|
42
43
|
Optional[str],
|
|
43
|
-
pydantic.Field(alias="
|
|
44
|
+
pydantic.Field(alias="filter"),
|
|
44
45
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
45
46
|
] = None
|
|
46
|
-
r"""
|
|
47
|
+
r"""JSON-stringified filter object to evaluate against Nodes for inclusion in the response."""
|
|
47
48
|
|
|
48
|
-
|
|
49
|
-
Optional[
|
|
49
|
+
sort: Annotated[
|
|
50
|
+
Optional[str],
|
|
50
51
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
51
52
|
] = None
|
|
52
|
-
r"""
|
|
53
|
+
r"""JSON-stringified sorting object to evaluate against Nodes to specify the sort order for the response."""
|
|
53
54
|
|
|
54
|
-
|
|
55
|
+
limit: Annotated[
|
|
55
56
|
Optional[int],
|
|
56
57
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
57
58
|
] = None
|
|
58
|
-
r"""
|
|
59
|
+
r"""Maximum number of Nodes to return in the response for this request. Use with <code>offset</code> to paginate the response into manageable batches."""
|
|
59
60
|
|
|
60
|
-
|
|
61
|
-
Optional[
|
|
62
|
-
pydantic.Field(alias="filter"),
|
|
61
|
+
offset: Annotated[
|
|
62
|
+
Optional[int],
|
|
63
63
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
64
64
|
] = None
|
|
65
|
-
r"""
|
|
65
|
+
r"""Starting point from which to retrieve results for this request. Use with <code>limit</code> to paginate the response into manageable batches."""
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
class ListMasterWorkerEntryResponseTypedDict(TypedDict):
|
|
@@ -0,0 +1,38 @@
|
|
|
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 RedisCacheLimitsTypedDict(TypedDict):
|
|
11
|
+
client_tracking_mechanism: NotRequired[str]
|
|
12
|
+
enable_server_assist: NotRequired[bool]
|
|
13
|
+
key_ttl_secs: NotRequired[float]
|
|
14
|
+
max_cache_size: NotRequired[float]
|
|
15
|
+
max_num_keys: NotRequired[float]
|
|
16
|
+
service_period_secs: NotRequired[float]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class RedisCacheLimits(BaseModel):
|
|
20
|
+
client_tracking_mechanism: Annotated[
|
|
21
|
+
Optional[str], pydantic.Field(alias="clientTrackingMechanism")
|
|
22
|
+
] = None
|
|
23
|
+
|
|
24
|
+
enable_server_assist: Annotated[
|
|
25
|
+
Optional[bool], pydantic.Field(alias="enableServerAssist")
|
|
26
|
+
] = None
|
|
27
|
+
|
|
28
|
+
key_ttl_secs: Annotated[Optional[float], pydantic.Field(alias="keyTTLSecs")] = None
|
|
29
|
+
|
|
30
|
+
max_cache_size: Annotated[Optional[float], pydantic.Field(alias="maxCacheSize")] = (
|
|
31
|
+
None
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
max_num_keys: Annotated[Optional[float], pydantic.Field(alias="maxNumKeys")] = None
|
|
35
|
+
|
|
36
|
+
service_period_secs: Annotated[
|
|
37
|
+
Optional[float], pydantic.Field(alias="servicePeriodSecs")
|
|
38
|
+
] = 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 RedisConnectionLimitsTypedDict(TypedDict):
|
|
11
|
+
disabled: NotRequired[bool]
|
|
12
|
+
max_connections: NotRequired[float]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class RedisConnectionLimits(BaseModel):
|
|
16
|
+
disabled: Optional[bool] = None
|
|
17
|
+
|
|
18
|
+
max_connections: Annotated[
|
|
19
|
+
Optional[float], pydantic.Field(alias="maxConnections")
|
|
20
|
+
] = None
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .redisconnectionlimits import RedisConnectionLimits, RedisConnectionLimitsTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from typing_extensions import TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class RedisLimitsTypedDict(TypedDict):
|
|
10
|
+
connections: RedisConnectionLimitsTypedDict
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class RedisLimits(BaseModel):
|
|
14
|
+
connections: RedisConnectionLimits
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
import pydantic
|
|
7
|
+
from typing import Union
|
|
8
|
+
from typing_extensions import Annotated, TypeAliasType, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class WarmPoolSizeEnum(str, Enum):
|
|
12
|
+
AUTO = "auto"
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
WarmPoolSizeTypedDict = TypeAliasType(
|
|
16
|
+
"WarmPoolSizeTypedDict", Union[float, WarmPoolSizeEnum]
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
WarmPoolSize = TypeAliasType("WarmPoolSize", Union[float, WarmPoolSizeEnum])
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class SearchSettingsTypedDict(TypedDict):
|
|
24
|
+
compress_object_cache_artifacts: bool
|
|
25
|
+
field_summary_max_fields: float
|
|
26
|
+
field_summary_max_nested_depth: float
|
|
27
|
+
max_concurrent_searches: float
|
|
28
|
+
max_executors_per_search: float
|
|
29
|
+
max_results_per_search: float
|
|
30
|
+
search_history_max_jobs: float
|
|
31
|
+
search_queue_length: float
|
|
32
|
+
warm_pool_size: WarmPoolSizeTypedDict
|
|
33
|
+
write_only_provider_secrets: bool
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class SearchSettings(BaseModel):
|
|
37
|
+
compress_object_cache_artifacts: Annotated[
|
|
38
|
+
bool, pydantic.Field(alias="compressObjectCacheArtifacts")
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
field_summary_max_fields: Annotated[
|
|
42
|
+
float, pydantic.Field(alias="fieldSummaryMaxFields")
|
|
43
|
+
]
|
|
44
|
+
|
|
45
|
+
field_summary_max_nested_depth: Annotated[
|
|
46
|
+
float, pydantic.Field(alias="fieldSummaryMaxNestedDepth")
|
|
47
|
+
]
|
|
48
|
+
|
|
49
|
+
max_concurrent_searches: Annotated[
|
|
50
|
+
float, pydantic.Field(alias="maxConcurrentSearches")
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
max_executors_per_search: Annotated[
|
|
54
|
+
float, pydantic.Field(alias="maxExecutorsPerSearch")
|
|
55
|
+
]
|
|
56
|
+
|
|
57
|
+
max_results_per_search: Annotated[
|
|
58
|
+
float, pydantic.Field(alias="maxResultsPerSearch")
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
search_history_max_jobs: Annotated[
|
|
62
|
+
float, pydantic.Field(alias="searchHistoryMaxJobs")
|
|
63
|
+
]
|
|
64
|
+
|
|
65
|
+
search_queue_length: Annotated[float, pydantic.Field(alias="searchQueueLength")]
|
|
66
|
+
|
|
67
|
+
warm_pool_size: Annotated[WarmPoolSize, pydantic.Field(alias="warmPoolSize")]
|
|
68
|
+
|
|
69
|
+
write_only_provider_secrets: Annotated[
|
|
70
|
+
bool, pydantic.Field(alias="writeOnlyProviderSecrets")
|
|
71
|
+
]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .commonservicelimitconfigs import (
|
|
5
|
+
CommonServiceLimitConfigs,
|
|
6
|
+
CommonServiceLimitConfigsTypedDict,
|
|
7
|
+
)
|
|
8
|
+
from cribl_control_plane.types import BaseModel
|
|
9
|
+
from typing_extensions import TypedDict
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ServicesLimitsTypedDict(TypedDict):
|
|
13
|
+
connections: CommonServiceLimitConfigsTypedDict
|
|
14
|
+
metrics: CommonServiceLimitConfigsTypedDict
|
|
15
|
+
notifications: CommonServiceLimitConfigsTypedDict
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class ServicesLimits(BaseModel):
|
|
19
|
+
connections: CommonServiceLimitConfigs
|
|
20
|
+
|
|
21
|
+
metrics: CommonServiceLimitConfigs
|
|
22
|
+
|
|
23
|
+
notifications: CommonServiceLimitConfigs
|