cribl-control-plane 0.0.37a1__py3-none-any.whl → 0.0.38a1__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/commits.py +4 -4
- cribl_control_plane/cribl.py +513 -0
- cribl_control_plane/destinations.py +3 -3
- cribl_control_plane/{samples.py → destinations_samples.py} +1 -1
- cribl_control_plane/models/__init__.py +829 -189
- cribl_control_plane/models/authconfig.py +43 -0
- cribl_control_plane/models/commonservicelimitconfigs.py +14 -0
- cribl_control_plane/models/edgeheartbeatmetricsmode.py +11 -0
- cribl_control_plane/models/getpacksbyidop.py +37 -0
- 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/gitopstype.py +10 -0
- cribl_control_plane/models/gitrevertparams.py +3 -3
- cribl_control_plane/models/gitsettings.py +70 -0
- cribl_control_plane/models/input.py +77 -76
- cribl_control_plane/models/inputgrafana.py +678 -67
- cribl_control_plane/models/inputsyslog.py +406 -37
- cribl_control_plane/models/inputwizwebhook.py +393 -0
- cribl_control_plane/models/jobsettings.py +83 -0
- cribl_control_plane/models/limits.py +127 -0
- cribl_control_plane/models/output.py +75 -77
- cribl_control_plane/models/outputgrafanacloud.py +565 -69
- 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/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/packs.py +174 -0
- 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/system_sdk.py +17 -0
- {cribl_control_plane-0.0.37a1.dist-info → cribl_control_plane-0.0.38a1.dist-info}/METADATA +22 -5
- {cribl_control_plane-0.0.37a1.dist-info → cribl_control_plane-0.0.38a1.dist-info}/RECORD +46 -16
- {cribl_control_plane-0.0.37a1.dist-info → cribl_control_plane-0.0.38a1.dist-info}/WHEEL +0 -0
|
@@ -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
|
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .appmode import AppMode
|
|
5
|
+
from .authconfig import AuthConfig, AuthConfigTypedDict
|
|
6
|
+
from .gitsettings import GitSettings, GitSettingsTypedDict
|
|
7
|
+
from .jobsettings import JobSettings, JobSettingsTypedDict
|
|
8
|
+
from .limits import Limits, LimitsTypedDict
|
|
9
|
+
from .rediscachelimits import RedisCacheLimits, RedisCacheLimitsTypedDict
|
|
10
|
+
from .redislimits import RedisLimits, RedisLimitsTypedDict
|
|
11
|
+
from .searchsettings import SearchSettings, SearchSettingsTypedDict
|
|
12
|
+
from .serviceslimits import ServicesLimits, ServicesLimitsTypedDict
|
|
13
|
+
from .upgradegroupsettings import UpgradeGroupSettings, UpgradeGroupSettingsTypedDict
|
|
14
|
+
from .upgradesettings import UpgradeSettings, UpgradeSettingsTypedDict
|
|
15
|
+
from cribl_control_plane.types import BaseModel
|
|
16
|
+
from enum import Enum
|
|
17
|
+
import pydantic
|
|
18
|
+
from typing import List, Optional
|
|
19
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class SystemSettingsHeadersTypedDict(TypedDict):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class SystemSettingsHeaders(BaseModel):
|
|
27
|
+
pass
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class SystemSettingsSslTypedDict(TypedDict):
|
|
31
|
+
cert_path: str
|
|
32
|
+
disabled: bool
|
|
33
|
+
passphrase: str
|
|
34
|
+
priv_key_path: str
|
|
35
|
+
ca_path: NotRequired[str]
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
class SystemSettingsSsl(BaseModel):
|
|
39
|
+
cert_path: Annotated[str, pydantic.Field(alias="certPath")]
|
|
40
|
+
|
|
41
|
+
disabled: bool
|
|
42
|
+
|
|
43
|
+
passphrase: str
|
|
44
|
+
|
|
45
|
+
priv_key_path: Annotated[str, pydantic.Field(alias="privKeyPath")]
|
|
46
|
+
|
|
47
|
+
ca_path: Annotated[Optional[str], pydantic.Field(alias="caPath")] = None
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class SystemSettingsAPITypedDict(TypedDict):
|
|
51
|
+
disabled: bool
|
|
52
|
+
host: str
|
|
53
|
+
port: float
|
|
54
|
+
protocol: str
|
|
55
|
+
ssl: SystemSettingsSslTypedDict
|
|
56
|
+
worker_remote_access: bool
|
|
57
|
+
base_url: NotRequired[str]
|
|
58
|
+
disable_api_cache: NotRequired[bool]
|
|
59
|
+
headers: NotRequired[SystemSettingsHeadersTypedDict]
|
|
60
|
+
idle_session_ttl: NotRequired[float]
|
|
61
|
+
listen_on_port: NotRequired[bool]
|
|
62
|
+
login_rate_limit: NotRequired[str]
|
|
63
|
+
scripts: NotRequired[bool]
|
|
64
|
+
sensitive_fields: NotRequired[List[str]]
|
|
65
|
+
sso_rate_limit: NotRequired[str]
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
class SystemSettingsAPI(BaseModel):
|
|
69
|
+
disabled: bool
|
|
70
|
+
|
|
71
|
+
host: str
|
|
72
|
+
|
|
73
|
+
port: float
|
|
74
|
+
|
|
75
|
+
protocol: str
|
|
76
|
+
|
|
77
|
+
ssl: SystemSettingsSsl
|
|
78
|
+
|
|
79
|
+
worker_remote_access: Annotated[bool, pydantic.Field(alias="workerRemoteAccess")]
|
|
80
|
+
|
|
81
|
+
base_url: Annotated[Optional[str], pydantic.Field(alias="baseUrl")] = None
|
|
82
|
+
|
|
83
|
+
disable_api_cache: Annotated[
|
|
84
|
+
Optional[bool], pydantic.Field(alias="disableApiCache")
|
|
85
|
+
] = None
|
|
86
|
+
|
|
87
|
+
headers: Optional[SystemSettingsHeaders] = None
|
|
88
|
+
|
|
89
|
+
idle_session_ttl: Annotated[
|
|
90
|
+
Optional[float], pydantic.Field(alias="idleSessionTTL")
|
|
91
|
+
] = None
|
|
92
|
+
|
|
93
|
+
listen_on_port: Annotated[Optional[bool], pydantic.Field(alias="listenOnPort")] = (
|
|
94
|
+
None
|
|
95
|
+
)
|
|
96
|
+
|
|
97
|
+
login_rate_limit: Annotated[
|
|
98
|
+
Optional[str], pydantic.Field(alias="loginRateLimit")
|
|
99
|
+
] = None
|
|
100
|
+
|
|
101
|
+
scripts: Optional[bool] = None
|
|
102
|
+
|
|
103
|
+
sensitive_fields: Annotated[
|
|
104
|
+
Optional[List[str]], pydantic.Field(alias="sensitiveFields")
|
|
105
|
+
] = None
|
|
106
|
+
|
|
107
|
+
sso_rate_limit: Annotated[Optional[str], pydantic.Field(alias="ssoRateLimit")] = (
|
|
108
|
+
None
|
|
109
|
+
)
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
class SystemSettingsBackupsTypedDict(TypedDict):
|
|
113
|
+
backup_persistence: str
|
|
114
|
+
backups_directory: str
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
class SystemSettingsBackups(BaseModel):
|
|
118
|
+
backup_persistence: Annotated[str, pydantic.Field(alias="backupPersistence")]
|
|
119
|
+
|
|
120
|
+
backups_directory: Annotated[str, pydantic.Field(alias="backupsDirectory")]
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
class SystemSettingsCustomLogoTypedDict(TypedDict):
|
|
124
|
+
enabled: bool
|
|
125
|
+
logo_description: str
|
|
126
|
+
logo_image: str
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
class SystemSettingsCustomLogo(BaseModel):
|
|
130
|
+
enabled: bool
|
|
131
|
+
|
|
132
|
+
logo_description: Annotated[str, pydantic.Field(alias="logoDescription")]
|
|
133
|
+
|
|
134
|
+
logo_image: Annotated[str, pydantic.Field(alias="logoImage")]
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
class DistributedTypedDict(TypedDict):
|
|
138
|
+
mode: AppMode
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
class Distributed(BaseModel):
|
|
142
|
+
mode: AppMode
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
class SystemSettingsPiiTypedDict(TypedDict):
|
|
146
|
+
enable_pii_detection: bool
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
class SystemSettingsPii(BaseModel):
|
|
150
|
+
enable_pii_detection: Annotated[bool, pydantic.Field(alias="enablePiiDetection")]
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
class SystemSettingsProxyTypedDict(TypedDict):
|
|
154
|
+
use_env_vars: bool
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
class SystemSettingsProxy(BaseModel):
|
|
158
|
+
use_env_vars: Annotated[bool, pydantic.Field(alias="useEnvVars")]
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
class SystemSettingsRollbackTypedDict(TypedDict):
|
|
162
|
+
rollback_enabled: bool
|
|
163
|
+
rollback_retries: NotRequired[float]
|
|
164
|
+
rollback_timeout: NotRequired[float]
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
class SystemSettingsRollback(BaseModel):
|
|
168
|
+
rollback_enabled: Annotated[bool, pydantic.Field(alias="rollbackEnabled")]
|
|
169
|
+
|
|
170
|
+
rollback_retries: Annotated[
|
|
171
|
+
Optional[float], pydantic.Field(alias="rollbackRetries")
|
|
172
|
+
] = None
|
|
173
|
+
|
|
174
|
+
rollback_timeout: Annotated[
|
|
175
|
+
Optional[float], pydantic.Field(alias="rollbackTimeout")
|
|
176
|
+
] = None
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
class SystemSettingsShutdownTypedDict(TypedDict):
|
|
180
|
+
drain_timeout: float
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
class SystemSettingsShutdown(BaseModel):
|
|
184
|
+
drain_timeout: Annotated[float, pydantic.Field(alias="drainTimeout")]
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
class SystemSettingsSniTypedDict(TypedDict):
|
|
188
|
+
disable_sni_routing: bool
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
class SystemSettingsSni(BaseModel):
|
|
192
|
+
disable_sni_routing: Annotated[bool, pydantic.Field(alias="disableSNIRouting")]
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
class SystemSettingsSocketsTypedDict(TypedDict):
|
|
196
|
+
directory: NotRequired[str]
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
class SystemSettingsSockets(BaseModel):
|
|
200
|
+
directory: Optional[str] = None
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
class SystemSettingsUpgrade(str, Enum):
|
|
204
|
+
FALSE = "false"
|
|
205
|
+
API = "api"
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
class SystemSettingsSystemTypedDict(TypedDict):
|
|
209
|
+
intercom: bool
|
|
210
|
+
upgrade: SystemSettingsUpgrade
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
class SystemSettingsSystem(BaseModel):
|
|
214
|
+
intercom: bool
|
|
215
|
+
|
|
216
|
+
upgrade: SystemSettingsUpgrade
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
class SystemSettingsTLSTypedDict(TypedDict):
|
|
220
|
+
default_cipher_list: str
|
|
221
|
+
default_ecdh_curve: str
|
|
222
|
+
max_version: str
|
|
223
|
+
min_version: str
|
|
224
|
+
reject_unauthorized: bool
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
class SystemSettingsTLS(BaseModel):
|
|
228
|
+
default_cipher_list: Annotated[str, pydantic.Field(alias="defaultCipherList")]
|
|
229
|
+
|
|
230
|
+
default_ecdh_curve: Annotated[str, pydantic.Field(alias="defaultEcdhCurve")]
|
|
231
|
+
|
|
232
|
+
max_version: Annotated[str, pydantic.Field(alias="maxVersion")]
|
|
233
|
+
|
|
234
|
+
min_version: Annotated[str, pydantic.Field(alias="minVersion")]
|
|
235
|
+
|
|
236
|
+
reject_unauthorized: Annotated[bool, pydantic.Field(alias="rejectUnauthorized")]
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
class SystemSettingsWorkersTypedDict(TypedDict):
|
|
240
|
+
count: float
|
|
241
|
+
memory: float
|
|
242
|
+
minimum: float
|
|
243
|
+
enable_heap_snapshots: NotRequired[bool]
|
|
244
|
+
load_throttle_perc: NotRequired[float]
|
|
245
|
+
startup_max_conns: NotRequired[float]
|
|
246
|
+
startup_throttle_timeout: NotRequired[float]
|
|
247
|
+
v8_single_thread: NotRequired[bool]
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
class SystemSettingsWorkers(BaseModel):
|
|
251
|
+
count: float
|
|
252
|
+
|
|
253
|
+
memory: float
|
|
254
|
+
|
|
255
|
+
minimum: float
|
|
256
|
+
|
|
257
|
+
enable_heap_snapshots: Annotated[
|
|
258
|
+
Optional[bool], pydantic.Field(alias="enableHeapSnapshots")
|
|
259
|
+
] = None
|
|
260
|
+
|
|
261
|
+
load_throttle_perc: Annotated[
|
|
262
|
+
Optional[float], pydantic.Field(alias="loadThrottlePerc")
|
|
263
|
+
] = None
|
|
264
|
+
|
|
265
|
+
startup_max_conns: Annotated[
|
|
266
|
+
Optional[float], pydantic.Field(alias="startupMaxConns")
|
|
267
|
+
] = None
|
|
268
|
+
|
|
269
|
+
startup_throttle_timeout: Annotated[
|
|
270
|
+
Optional[float], pydantic.Field(alias="startupThrottleTimeout")
|
|
271
|
+
] = None
|
|
272
|
+
|
|
273
|
+
v8_single_thread: Annotated[
|
|
274
|
+
Optional[bool], pydantic.Field(alias="v8SingleThread")
|
|
275
|
+
] = None
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
class SystemSettingsTypedDict(TypedDict):
|
|
279
|
+
api: SystemSettingsAPITypedDict
|
|
280
|
+
auth: AuthConfigTypedDict
|
|
281
|
+
backups: SystemSettingsBackupsTypedDict
|
|
282
|
+
custom_logo: SystemSettingsCustomLogoTypedDict
|
|
283
|
+
distributed: DistributedTypedDict
|
|
284
|
+
fips: bool
|
|
285
|
+
git: GitSettingsTypedDict
|
|
286
|
+
job_limits: JobSettingsTypedDict
|
|
287
|
+
limits: LimitsTypedDict
|
|
288
|
+
pii: SystemSettingsPiiTypedDict
|
|
289
|
+
proxy: SystemSettingsProxyTypedDict
|
|
290
|
+
redis_cache_limits: RedisCacheLimitsTypedDict
|
|
291
|
+
redis_limits: RedisLimitsTypedDict
|
|
292
|
+
rollback: SystemSettingsRollbackTypedDict
|
|
293
|
+
search_limits: SearchSettingsTypedDict
|
|
294
|
+
services_limits: ServicesLimitsTypedDict
|
|
295
|
+
shutdown: SystemSettingsShutdownTypedDict
|
|
296
|
+
sni: SystemSettingsSniTypedDict
|
|
297
|
+
system: SystemSettingsSystemTypedDict
|
|
298
|
+
tls: SystemSettingsTLSTypedDict
|
|
299
|
+
upgrade_group_settings: UpgradeGroupSettingsTypedDict
|
|
300
|
+
upgrade_settings: UpgradeSettingsTypedDict
|
|
301
|
+
workers: SystemSettingsWorkersTypedDict
|
|
302
|
+
sockets: NotRequired[SystemSettingsSocketsTypedDict]
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
class SystemSettings(BaseModel):
|
|
306
|
+
api: SystemSettingsAPI
|
|
307
|
+
|
|
308
|
+
auth: AuthConfig
|
|
309
|
+
|
|
310
|
+
backups: SystemSettingsBackups
|
|
311
|
+
|
|
312
|
+
custom_logo: Annotated[SystemSettingsCustomLogo, pydantic.Field(alias="customLogo")]
|
|
313
|
+
|
|
314
|
+
distributed: Distributed
|
|
315
|
+
|
|
316
|
+
fips: bool
|
|
317
|
+
|
|
318
|
+
git: GitSettings
|
|
319
|
+
|
|
320
|
+
job_limits: Annotated[JobSettings, pydantic.Field(alias="jobLimits")]
|
|
321
|
+
|
|
322
|
+
limits: Limits
|
|
323
|
+
|
|
324
|
+
pii: SystemSettingsPii
|
|
325
|
+
|
|
326
|
+
proxy: SystemSettingsProxy
|
|
327
|
+
|
|
328
|
+
redis_cache_limits: Annotated[
|
|
329
|
+
RedisCacheLimits, pydantic.Field(alias="redisCacheLimits")
|
|
330
|
+
]
|
|
331
|
+
|
|
332
|
+
redis_limits: Annotated[RedisLimits, pydantic.Field(alias="redisLimits")]
|
|
333
|
+
|
|
334
|
+
rollback: SystemSettingsRollback
|
|
335
|
+
|
|
336
|
+
search_limits: Annotated[SearchSettings, pydantic.Field(alias="searchLimits")]
|
|
337
|
+
|
|
338
|
+
services_limits: Annotated[ServicesLimits, pydantic.Field(alias="servicesLimits")]
|
|
339
|
+
|
|
340
|
+
shutdown: SystemSettingsShutdown
|
|
341
|
+
|
|
342
|
+
sni: SystemSettingsSni
|
|
343
|
+
|
|
344
|
+
system: SystemSettingsSystem
|
|
345
|
+
|
|
346
|
+
tls: SystemSettingsTLS
|
|
347
|
+
|
|
348
|
+
upgrade_group_settings: Annotated[
|
|
349
|
+
UpgradeGroupSettings, pydantic.Field(alias="upgradeGroupSettings")
|
|
350
|
+
]
|
|
351
|
+
|
|
352
|
+
upgrade_settings: Annotated[
|
|
353
|
+
UpgradeSettings, pydantic.Field(alias="upgradeSettings")
|
|
354
|
+
]
|
|
355
|
+
|
|
356
|
+
workers: SystemSettingsWorkers
|
|
357
|
+
|
|
358
|
+
sockets: Optional[SystemSettingsSockets] = None
|