python3-core-api-client 2.12.1__tar.gz → 3.0__tar.gz
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.
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/PKG-INFO +2 -2
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/README.md +1 -1
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/pyproject.toml +1 -1
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/models.py +189 -21
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/clusters.py +0 -19
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/fpm_pools.py +15 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/python3_core_api_client.egg-info/PKG-INFO +2 -2
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/setup.cfg +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/__init__.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/_encoders.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/_helpers.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/connector.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/exceptions.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/http.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/interfaces.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/__init__.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/basic_authentication_realms.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/borg_archives.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/borg_repositories.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/certificate_managers.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/certificates.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/cmses.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/crons.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/custom_config_snippets.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/custom_configs.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/customers.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/daemons.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/database_user_grants.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/database_users.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/databases.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/domain_routers.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/firewall_groups.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/firewall_rules.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/ftp_users.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/haproxy_listens.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/haproxy_listens_to_nodes.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/health.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/hosts_entries.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/htpasswd_files.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/htpasswd_users.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/login.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/logs.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/mail_accounts.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/mail_aliases.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/mail_domains.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/mail_hostnames.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/malwares.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/mariadb_encryption_keys.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/n8n_instances.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/node_add_ons.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/nodes.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/passenger_apps.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/redis_instances.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/regions.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/root_ssh_keys.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/security_txt_policies.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/ssh_keys.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/task_collections.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/unix_users.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/url_redirects.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/resources/virtual_hosts.py +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/python3_core_api_client.egg-info/SOURCES.txt +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/python3_core_api_client.egg-info/dependency_links.txt +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/python3_core_api_client.egg-info/requires.txt +0 -0
- {python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/python3_core_api_client.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python3-core-api-client
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0
|
|
4
4
|
Summary: Python client for Core API.
|
|
5
5
|
Author-email: Cyberfusion <support@cyberfusion.io>
|
|
6
6
|
Project-URL: Source, https://github.com/CyberfusionIO/python3-core-api-client
|
|
@@ -13,7 +13,7 @@ Requires-Dist: pydantic[email]==2.12.5
|
|
|
13
13
|
|
|
14
14
|
Python client for Core API.
|
|
15
15
|
|
|
16
|
-
This client was built for and tested on the **1.
|
|
16
|
+
This client was built for and tested on the **1.265.0** version of the API.
|
|
17
17
|
|
|
18
18
|
## Support
|
|
19
19
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from datetime import datetime
|
|
2
2
|
from enum import StrEnum, IntEnum
|
|
3
3
|
from ipaddress import IPv4Address, IPv6Address
|
|
4
|
-
from typing import Dict, List, Optional, Union, Any
|
|
4
|
+
from typing import Dict, List, Optional, Union, Any, Literal
|
|
5
5
|
from pydantic import RootModel
|
|
6
6
|
from pydantic import UUID4, AnyUrl, EmailStr, Field, confloat, conint, constr, BaseModel
|
|
7
7
|
from typing import Iterator
|
|
@@ -52,14 +52,20 @@ class SpecificationMode(StrEnum):
|
|
|
52
52
|
AND = "And"
|
|
53
53
|
|
|
54
54
|
|
|
55
|
+
class DeploymentStatusEnum(StrEnum):
|
|
56
|
+
PENDING = "Pending"
|
|
57
|
+
FAILED = "Failed"
|
|
58
|
+
SUCCEEDED = "Succeeded"
|
|
59
|
+
|
|
60
|
+
|
|
55
61
|
class ObjectLogTypeEnum(StrEnum):
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
62
|
+
CREATE = "Create"
|
|
63
|
+
UPDATE = "Update"
|
|
64
|
+
DELETE = "Delete"
|
|
59
65
|
|
|
60
66
|
|
|
61
67
|
class CauserTypeEnum(StrEnum):
|
|
62
|
-
|
|
68
|
+
API_USER = "API User"
|
|
63
69
|
|
|
64
70
|
|
|
65
71
|
class HTTPMethod(StrEnum):
|
|
@@ -722,10 +728,8 @@ class NodeGroupEnum(StrEnum):
|
|
|
722
728
|
HAPROXY = "HAProxy"
|
|
723
729
|
REDIS = "Redis"
|
|
724
730
|
COMPOSER = "Composer"
|
|
725
|
-
WP_CLI = "WP-CLI"
|
|
726
731
|
KERNELCARE = "KernelCare"
|
|
727
732
|
IMAGEMAGICK = "ImageMagick"
|
|
728
|
-
WKHTMLTOPDF = "wkhtmltopdf"
|
|
729
733
|
GNU_MAILUTILS = "GNU Mailutils"
|
|
730
734
|
CLAMAV = "ClamAV"
|
|
731
735
|
PUPPETEER = "Puppeteer"
|
|
@@ -886,6 +890,28 @@ class PHPSettings(BaseCoreApiModel):
|
|
|
886
890
|
newrelic_browser_monitoring_auto_instrument: bool = True
|
|
887
891
|
|
|
888
892
|
|
|
893
|
+
class FpmPoolPhpSettings(BaseCoreApiModel):
|
|
894
|
+
apc_enable_cli: bool | None = None
|
|
895
|
+
opcache_file_cache: bool | None = None
|
|
896
|
+
opcache_validate_timestamps: bool | None = None
|
|
897
|
+
short_open_tag: bool | None = None
|
|
898
|
+
session_gc_maxlifetime: conint(ge=1440, le=14400) | None = None
|
|
899
|
+
error_reporting: (
|
|
900
|
+
constr(pattern=r"^[A-Z&~_ ]+$", min_length=1, max_length=255) | None
|
|
901
|
+
) = None
|
|
902
|
+
opcache_memory_consumption: conint(ge=192, le=1024) | None = None
|
|
903
|
+
max_execution_time: conint(ge=30, le=120) | None = None
|
|
904
|
+
max_file_uploads: conint(ge=100, le=1000) | None = None
|
|
905
|
+
memory_limit: conint(ge=256, le=4096) | None = None
|
|
906
|
+
post_max_size: conint(ge=32, le=256) | None = None
|
|
907
|
+
upload_max_filesize: conint(ge=32, le=256) | None = None
|
|
908
|
+
tideways_api_key: (
|
|
909
|
+
constr(pattern=r"^[a-zA-Z0-9_]+$", min_length=16, max_length=32) | None
|
|
910
|
+
) = None
|
|
911
|
+
tideways_sample_rate: conint(ge=1, le=100) | None = None
|
|
912
|
+
newrelic_browser_monitoring_auto_instrument: bool | None = None
|
|
913
|
+
|
|
914
|
+
|
|
889
915
|
class PassengerAppTypeEnum(StrEnum):
|
|
890
916
|
NODEJS = "NodeJS"
|
|
891
917
|
|
|
@@ -1239,12 +1265,6 @@ class ClusterCreateRequest(BaseCoreApiModel):
|
|
|
1239
1265
|
cephfs_enabled: bool
|
|
1240
1266
|
|
|
1241
1267
|
|
|
1242
|
-
class ClusterDeploymentTaskResult(BaseCoreApiModel):
|
|
1243
|
-
description: constr(pattern=r"^[ -~]+$", min_length=1, max_length=65535)
|
|
1244
|
-
message: Optional[str]
|
|
1245
|
-
state: TaskStateEnum
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
1268
|
class ClusterIPAddressCreateRequest(BaseCoreApiModel):
|
|
1249
1269
|
service_account_name: str
|
|
1250
1270
|
dns_name: str
|
|
@@ -1305,6 +1325,7 @@ class CustomConfigResource(BaseCoreApiModel):
|
|
|
1305
1325
|
cluster_id: int
|
|
1306
1326
|
contents: constr(pattern=r"^[ -~\n]+$", min_length=1, max_length=65535)
|
|
1307
1327
|
server_software_name: CustomConfigServerSoftwareNameEnum
|
|
1328
|
+
deployment_status: DeploymentStatusEnum
|
|
1308
1329
|
includes: CustomConfigIncludes
|
|
1309
1330
|
|
|
1310
1331
|
|
|
@@ -1337,6 +1358,7 @@ class CustomConfigSnippetResource(BaseCoreApiModel):
|
|
|
1337
1358
|
contents: constr(pattern=r"^[ -~\n]+$", min_length=1, max_length=65535)
|
|
1338
1359
|
cluster_id: int
|
|
1339
1360
|
is_default: bool
|
|
1361
|
+
deployment_status: DeploymentStatusEnum
|
|
1340
1362
|
includes: CustomConfigSnippetIncludes
|
|
1341
1363
|
|
|
1342
1364
|
|
|
@@ -1367,6 +1389,7 @@ class DatabaseResource(BaseCoreApiModel):
|
|
|
1367
1389
|
cluster_id: int
|
|
1368
1390
|
optimizing_enabled: bool
|
|
1369
1391
|
backups_enabled: bool
|
|
1392
|
+
deployment_status: DeploymentStatusEnum
|
|
1370
1393
|
includes: DatabaseIncludes
|
|
1371
1394
|
|
|
1372
1395
|
|
|
@@ -1400,6 +1423,7 @@ class DatabaseUserResource(BaseCoreApiModel):
|
|
|
1400
1423
|
host: Optional[str]
|
|
1401
1424
|
cluster_id: int
|
|
1402
1425
|
phpmyadmin_firewall_groups_ids: Optional[List[int]]
|
|
1426
|
+
deployment_status: DeploymentStatusEnum
|
|
1403
1427
|
includes: DatabaseUserIncludes
|
|
1404
1428
|
|
|
1405
1429
|
|
|
@@ -1417,6 +1441,7 @@ class FirewallGroupResource(BaseCoreApiModel):
|
|
|
1417
1441
|
...,
|
|
1418
1442
|
min_length=1,
|
|
1419
1443
|
)
|
|
1444
|
+
deployment_status: DeploymentStatusEnum
|
|
1420
1445
|
includes: FirewallGroupIncludes
|
|
1421
1446
|
|
|
1422
1447
|
|
|
@@ -1461,6 +1486,7 @@ class HAProxyListenResource(BaseCoreApiModel):
|
|
|
1461
1486
|
LoadBalancingMethodEnum.SOURCE_IP_ADDRESS
|
|
1462
1487
|
)
|
|
1463
1488
|
destination_cluster_id: int
|
|
1489
|
+
deployment_status: DeploymentStatusEnum
|
|
1464
1490
|
includes: HAProxyListenIncludes
|
|
1465
1491
|
|
|
1466
1492
|
|
|
@@ -1511,6 +1537,7 @@ class MariaDBEncryptionKeyResource(BaseCoreApiModel):
|
|
|
1511
1537
|
identifier: int
|
|
1512
1538
|
key: constr(pattern=r"^[a-z0-9]+$", min_length=64, max_length=64)
|
|
1513
1539
|
cluster_id: int
|
|
1540
|
+
deployment_status: DeploymentStatusEnum
|
|
1514
1541
|
includes: MariaDBEncryptionKeyIncludes
|
|
1515
1542
|
|
|
1516
1543
|
|
|
@@ -1545,6 +1572,7 @@ class NodeResource(BaseCoreApiModel):
|
|
|
1545
1572
|
load_balancer_health_checks_groups_pairs: Dict[NodeGroupEnum, List[NodeGroupEnum]]
|
|
1546
1573
|
groups_properties: NodeGroupsProperties
|
|
1547
1574
|
is_ready: bool
|
|
1575
|
+
deployment_status: DeploymentStatusEnum
|
|
1548
1576
|
includes: NodeIncludes
|
|
1549
1577
|
|
|
1550
1578
|
|
|
@@ -1603,6 +1631,7 @@ class RedisInstanceResource(BaseCoreApiModel):
|
|
|
1603
1631
|
memory_limit: conint(ge=8)
|
|
1604
1632
|
max_databases: int
|
|
1605
1633
|
eviction_policy: RedisEvictionPolicyEnum
|
|
1634
|
+
deployment_status: DeploymentStatusEnum
|
|
1606
1635
|
includes: RedisInstanceIncludes
|
|
1607
1636
|
|
|
1608
1637
|
|
|
@@ -1618,6 +1647,7 @@ class RootSSHKeyResource(BaseCoreApiModel):
|
|
|
1618
1647
|
public_key: Optional[str]
|
|
1619
1648
|
private_key: Optional[str]
|
|
1620
1649
|
name: constr(pattern=r"^[a-zA-Z0-9-_]+$", min_length=1, max_length=64)
|
|
1650
|
+
deployment_status: DeploymentStatusEnum
|
|
1621
1651
|
includes: RootSSHKeyIncludes
|
|
1622
1652
|
|
|
1623
1653
|
|
|
@@ -1638,6 +1668,7 @@ class SecurityTXTPolicyResource(BaseCoreApiModel):
|
|
|
1638
1668
|
policy_urls: List[AnyUrl]
|
|
1639
1669
|
opening_urls: List[AnyUrl]
|
|
1640
1670
|
preferred_languages: List[LanguageCodeEnum]
|
|
1671
|
+
deployment_status: DeploymentStatusEnum
|
|
1641
1672
|
includes: SecurityTXTPolicyIncludes
|
|
1642
1673
|
|
|
1643
1674
|
|
|
@@ -1697,6 +1728,7 @@ class UNIXUserResource(BaseCoreApiModel):
|
|
|
1697
1728
|
constr(pattern=r"^[a-zA-Z0-9-_ ]+$", min_length=1, max_length=255)
|
|
1698
1729
|
]
|
|
1699
1730
|
shell_is_namespaced: bool
|
|
1731
|
+
deployment_status: DeploymentStatusEnum
|
|
1700
1732
|
includes: UNIXUserIncludes
|
|
1701
1733
|
|
|
1702
1734
|
|
|
@@ -1718,6 +1750,7 @@ class URLRedirectResource(BaseCoreApiModel):
|
|
|
1718
1750
|
description: Optional[
|
|
1719
1751
|
constr(pattern=r"^[a-zA-Z0-9-_ ]+$", min_length=1, max_length=255)
|
|
1720
1752
|
]
|
|
1753
|
+
deployment_status: DeploymentStatusEnum
|
|
1721
1754
|
includes: URLRedirectIncludes
|
|
1722
1755
|
|
|
1723
1756
|
|
|
@@ -1759,6 +1792,7 @@ class BorgRepositoryResource(BaseCoreApiModel):
|
|
|
1759
1792
|
keep_yearly: Optional[int]
|
|
1760
1793
|
unix_user_id: Optional[int]
|
|
1761
1794
|
unix_id: int
|
|
1795
|
+
deployment_status: DeploymentStatusEnum
|
|
1762
1796
|
includes: BorgRepositoryIncludes
|
|
1763
1797
|
|
|
1764
1798
|
|
|
@@ -1785,15 +1819,11 @@ class CertificateResource(BaseCoreApiModel):
|
|
|
1785
1819
|
private_key: constr(
|
|
1786
1820
|
pattern=r"^[a-zA-Z0-9-_\+\/=\n\\ ]+$", min_length=1, max_length=65535
|
|
1787
1821
|
)
|
|
1822
|
+
deployment_status: DeploymentStatusEnum
|
|
1788
1823
|
cluster_id: int
|
|
1789
1824
|
includes: CertificateIncludes
|
|
1790
1825
|
|
|
1791
1826
|
|
|
1792
|
-
class ClusterDeploymentResults(BaseCoreApiModel):
|
|
1793
|
-
created_at: datetime
|
|
1794
|
-
tasks_results: List[ClusterDeploymentTaskResult]
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
1827
|
class CronIncludes(BaseCoreApiModel):
|
|
1798
1828
|
cluster: Optional[ClusterResource]
|
|
1799
1829
|
unix_user: Optional[UNIXUserResource]
|
|
@@ -1818,6 +1848,7 @@ class CronResource(BaseCoreApiModel):
|
|
|
1818
1848
|
is_active: bool
|
|
1819
1849
|
memory_limit: Optional[conint(ge=256)]
|
|
1820
1850
|
cpu_limit: Optional[int]
|
|
1851
|
+
deployment_status: DeploymentStatusEnum
|
|
1821
1852
|
includes: CronIncludes
|
|
1822
1853
|
|
|
1823
1854
|
|
|
@@ -1837,6 +1868,7 @@ class DaemonResource(BaseCoreApiModel):
|
|
|
1837
1868
|
nodes_ids: List[int]
|
|
1838
1869
|
memory_limit: Optional[conint(ge=256)]
|
|
1839
1870
|
cpu_limit: Optional[int]
|
|
1871
|
+
deployment_status: DeploymentStatusEnum
|
|
1840
1872
|
includes: DaemonIncludes
|
|
1841
1873
|
|
|
1842
1874
|
|
|
@@ -1857,6 +1889,7 @@ class DatabaseUserGrantResource(BaseCoreApiModel):
|
|
|
1857
1889
|
constr(pattern=r"^[a-zA-Z0-9-_]+$", min_length=1, max_length=64)
|
|
1858
1890
|
]
|
|
1859
1891
|
privilege_name: MariaDBPrivilegeEnum
|
|
1892
|
+
deployment_status: DeploymentStatusEnum
|
|
1860
1893
|
includes: DatabaseUserGrantIncludes
|
|
1861
1894
|
|
|
1862
1895
|
|
|
@@ -1880,6 +1913,8 @@ class FPMPoolResource(BaseCoreApiModel):
|
|
|
1880
1913
|
log_slow_requests_threshold: Optional[int]
|
|
1881
1914
|
is_namespaced: bool
|
|
1882
1915
|
memory_limit: Optional[conint(ge=256)]
|
|
1916
|
+
php_settings: FpmPoolPhpSettings
|
|
1917
|
+
deployment_status: DeploymentStatusEnum
|
|
1883
1918
|
includes: FPMPoolIncludes
|
|
1884
1919
|
|
|
1885
1920
|
|
|
@@ -1896,6 +1931,7 @@ class FTPUserResource(BaseCoreApiModel):
|
|
|
1896
1931
|
username: constr(pattern=r"^[a-z0-9-_.@]+$", min_length=1, max_length=32)
|
|
1897
1932
|
unix_user_id: int
|
|
1898
1933
|
directory_path: str
|
|
1934
|
+
deployment_status: DeploymentStatusEnum
|
|
1899
1935
|
includes: FTPUserIncludes
|
|
1900
1936
|
|
|
1901
1937
|
|
|
@@ -1917,6 +1953,7 @@ class FirewallRuleResource(BaseCoreApiModel):
|
|
|
1917
1953
|
service_name: Optional[FirewallRuleServiceNameEnum]
|
|
1918
1954
|
haproxy_listen_id: Optional[int]
|
|
1919
1955
|
port: Optional[int]
|
|
1956
|
+
deployment_status: DeploymentStatusEnum
|
|
1920
1957
|
includes: FirewallRuleIncludes
|
|
1921
1958
|
|
|
1922
1959
|
|
|
@@ -1933,6 +1970,7 @@ class HAProxyListenToNodeResource(BaseCoreApiModel):
|
|
|
1933
1970
|
cluster_id: int
|
|
1934
1971
|
haproxy_listen_id: int
|
|
1935
1972
|
node_id: int
|
|
1973
|
+
deployment_status: DeploymentStatusEnum
|
|
1936
1974
|
includes: HAProxyListenToNodeIncludes
|
|
1937
1975
|
|
|
1938
1976
|
|
|
@@ -1947,6 +1985,7 @@ class HostsEntryResource(BaseCoreApiModel):
|
|
|
1947
1985
|
updated_at: datetime
|
|
1948
1986
|
node_id: int
|
|
1949
1987
|
host_name: str
|
|
1988
|
+
deployment_status: DeploymentStatusEnum
|
|
1950
1989
|
cluster_id: int
|
|
1951
1990
|
includes: HostsEntryIncludes
|
|
1952
1991
|
|
|
@@ -1962,6 +2001,7 @@ class HtpasswdFileResource(BaseCoreApiModel):
|
|
|
1962
2001
|
updated_at: datetime
|
|
1963
2002
|
cluster_id: int
|
|
1964
2003
|
unix_user_id: int
|
|
2004
|
+
deployment_status: DeploymentStatusEnum
|
|
1965
2005
|
includes: HtpasswdFileIncludes
|
|
1966
2006
|
|
|
1967
2007
|
|
|
@@ -1977,6 +2017,7 @@ class HtpasswdUserResource(BaseCoreApiModel):
|
|
|
1977
2017
|
cluster_id: int
|
|
1978
2018
|
username: constr(pattern=r"^[a-z0-9-_]+$", min_length=1, max_length=255)
|
|
1979
2019
|
htpasswd_file_id: int
|
|
2020
|
+
deployment_status: DeploymentStatusEnum
|
|
1980
2021
|
includes: HtpasswdUserIncludes
|
|
1981
2022
|
|
|
1982
2023
|
|
|
@@ -1994,6 +2035,7 @@ class MailDomainResource(BaseCoreApiModel):
|
|
|
1994
2035
|
unix_user_id: int
|
|
1995
2036
|
catch_all_forward_email_addresses: List[EmailStr]
|
|
1996
2037
|
is_local: bool
|
|
2038
|
+
deployment_status: DeploymentStatusEnum
|
|
1997
2039
|
includes: MailDomainIncludes
|
|
1998
2040
|
|
|
1999
2041
|
|
|
@@ -2009,6 +2051,7 @@ class MailHostnameResource(BaseCoreApiModel):
|
|
|
2009
2051
|
domain: str
|
|
2010
2052
|
cluster_id: int
|
|
2011
2053
|
certificate_id: int
|
|
2054
|
+
deployment_status: DeploymentStatusEnum
|
|
2012
2055
|
includes: MailHostnameIncludes
|
|
2013
2056
|
|
|
2014
2057
|
|
|
@@ -2102,6 +2145,7 @@ class PassengerAppResource(BaseCoreApiModel):
|
|
|
2102
2145
|
cpu_limit: Optional[int]
|
|
2103
2146
|
includes: PassengerAppIncludes
|
|
2104
2147
|
nodejs_version: Optional[constr(pattern=r"^[0-9]{1,2}\.[0-9]{1,2}$")]
|
|
2148
|
+
deployment_status: DeploymentStatusEnum
|
|
2105
2149
|
startup_file: Optional[str]
|
|
2106
2150
|
|
|
2107
2151
|
|
|
@@ -2120,6 +2164,7 @@ class SSHKeyResource(BaseCoreApiModel):
|
|
|
2120
2164
|
identity_file_path: Optional[str]
|
|
2121
2165
|
name: constr(pattern=r"^[a-zA-Z0-9-_]+$", min_length=1, max_length=128)
|
|
2122
2166
|
unix_user_id: int
|
|
2167
|
+
deployment_status: DeploymentStatusEnum
|
|
2123
2168
|
includes: SSHKeyIncludes
|
|
2124
2169
|
|
|
2125
2170
|
|
|
@@ -2147,6 +2192,7 @@ class VirtualHostResource(BaseCoreApiModel):
|
|
|
2147
2192
|
custom_config: Optional[
|
|
2148
2193
|
constr(pattern=r"^[ -~\n]+$", min_length=1, max_length=65535)
|
|
2149
2194
|
]
|
|
2195
|
+
deployment_status: DeploymentStatusEnum
|
|
2150
2196
|
includes: VirtualHostIncludes
|
|
2151
2197
|
|
|
2152
2198
|
|
|
@@ -2166,6 +2212,7 @@ class BasicAuthenticationRealmResource(BaseCoreApiModel):
|
|
|
2166
2212
|
virtual_host_id: int
|
|
2167
2213
|
name: constr(pattern=r"^[a-zA-Z0-9-_ ]+$", min_length=1, max_length=64)
|
|
2168
2214
|
htpasswd_file_id: int
|
|
2215
|
+
deployment_status: DeploymentStatusEnum
|
|
2169
2216
|
includes: BasicAuthenticationRealmIncludes
|
|
2170
2217
|
|
|
2171
2218
|
|
|
@@ -2245,6 +2292,7 @@ class DomainRouterResource(BaseCoreApiModel):
|
|
|
2245
2292
|
security_txt_policy_id: Optional[int]
|
|
2246
2293
|
firewall_groups_ids: Optional[List[int]]
|
|
2247
2294
|
force_ssl: bool
|
|
2295
|
+
deployment_status: DeploymentStatusEnum
|
|
2248
2296
|
includes: DomainRouterIncludes
|
|
2249
2297
|
|
|
2250
2298
|
|
|
@@ -2261,6 +2309,7 @@ class MailAccountResource(BaseCoreApiModel):
|
|
|
2261
2309
|
mail_domain_id: int
|
|
2262
2310
|
cluster_id: int
|
|
2263
2311
|
quota: Optional[int]
|
|
2312
|
+
deployment_status: DeploymentStatusEnum
|
|
2264
2313
|
includes: MailAccountIncludes
|
|
2265
2314
|
|
|
2266
2315
|
|
|
@@ -2280,6 +2329,7 @@ class MailAliasResource(BaseCoreApiModel):
|
|
|
2280
2329
|
...,
|
|
2281
2330
|
min_length=1,
|
|
2282
2331
|
)
|
|
2332
|
+
deployment_status: DeploymentStatusEnum
|
|
2283
2333
|
includes: MailAliasIncludes
|
|
2284
2334
|
|
|
2285
2335
|
|
|
@@ -2346,13 +2396,14 @@ class ObjectLogResource(BaseCoreApiModel):
|
|
|
2346
2396
|
updated_at: datetime
|
|
2347
2397
|
object_id: int
|
|
2348
2398
|
object_model_name: Optional[
|
|
2349
|
-
constr(pattern=r"^[a-zA-
|
|
2399
|
+
constr(pattern=r"^[a-zA-Z0-9]+$", min_length=1, max_length=255)
|
|
2350
2400
|
]
|
|
2351
2401
|
request_id: Optional[UUID4]
|
|
2352
2402
|
type: ObjectLogTypeEnum
|
|
2353
2403
|
causer_type: Optional[CauserTypeEnum]
|
|
2354
2404
|
causer_id: Optional[int]
|
|
2355
2405
|
customer_id: Optional[int]
|
|
2406
|
+
changes: dict[str, tuple[Any, Any]] | None
|
|
2356
2407
|
includes: ObjectLogIncludes
|
|
2357
2408
|
|
|
2358
2409
|
|
|
@@ -2404,6 +2455,7 @@ class ClusterBorgPropertiesResource(BaseCoreApiModel):
|
|
|
2404
2455
|
updated_at: datetime
|
|
2405
2456
|
automatic_borg_repositories_prune_enabled: bool
|
|
2406
2457
|
cluster_id: int
|
|
2458
|
+
deployment_status: DeploymentStatusEnum
|
|
2407
2459
|
includes: ClusterBorgPropertiesIncludes
|
|
2408
2460
|
|
|
2409
2461
|
|
|
@@ -2431,6 +2483,7 @@ class ClusterElasticsearchPropertiesResource(BaseCoreApiModel):
|
|
|
2431
2483
|
)
|
|
2432
2484
|
kibana_domain: str
|
|
2433
2485
|
cluster_id: int
|
|
2486
|
+
deployment_status: DeploymentStatusEnum
|
|
2434
2487
|
includes: ClusterElasticsearchPropertiesIncludes
|
|
2435
2488
|
|
|
2436
2489
|
|
|
@@ -2455,6 +2508,7 @@ class ClusterFirewallPropertiesResource(BaseCoreApiModel):
|
|
|
2455
2508
|
updated_at: datetime
|
|
2456
2509
|
firewall_rules_external_providers_enabled: bool
|
|
2457
2510
|
cluster_id: int
|
|
2511
|
+
deployment_status: DeploymentStatusEnum
|
|
2458
2512
|
includes: ClusterFirewallPropertiesIncludes
|
|
2459
2513
|
|
|
2460
2514
|
|
|
@@ -2476,6 +2530,7 @@ class ClusterGrafanaPropertiesResource(BaseCoreApiModel):
|
|
|
2476
2530
|
updated_at: datetime
|
|
2477
2531
|
grafana_domain: str
|
|
2478
2532
|
cluster_id: int
|
|
2533
|
+
deployment_status: DeploymentStatusEnum
|
|
2479
2534
|
includes: ClusterGrafanaPropertiesIncludes
|
|
2480
2535
|
|
|
2481
2536
|
|
|
@@ -2501,6 +2556,7 @@ class ClusterKernelcarePropertiesResource(BaseCoreApiModel):
|
|
|
2501
2556
|
pattern=r"^[a-zA-Z0-9]+$", min_length=16, max_length=16
|
|
2502
2557
|
)
|
|
2503
2558
|
cluster_id: int
|
|
2559
|
+
deployment_status: DeploymentStatusEnum
|
|
2504
2560
|
includes: ClusterKernelcarePropertiesIncludes
|
|
2505
2561
|
|
|
2506
2562
|
|
|
@@ -2532,6 +2588,7 @@ class ClusterMariadbPropertiesResource(BaseCoreApiModel):
|
|
|
2532
2588
|
mariadb_backup_interval: conint(ge=1, le=24)
|
|
2533
2589
|
mariadb_backup_local_retention: conint(ge=1, le=24)
|
|
2534
2590
|
cluster_id: int
|
|
2591
|
+
deployment_status: DeploymentStatusEnum
|
|
2535
2592
|
includes: ClusterMariadbPropertiesIncludes
|
|
2536
2593
|
|
|
2537
2594
|
|
|
@@ -2558,6 +2615,7 @@ class ClusterMetabasePropertiesResource(BaseCoreApiModel):
|
|
|
2558
2615
|
updated_at: datetime
|
|
2559
2616
|
metabase_domain: str
|
|
2560
2617
|
cluster_id: int
|
|
2618
|
+
deployment_status: DeploymentStatusEnum
|
|
2561
2619
|
includes: ClusterMetabasePropertiesIncludes
|
|
2562
2620
|
|
|
2563
2621
|
|
|
@@ -2589,6 +2647,7 @@ class ClusterNewRelicPropertiesResource(BaseCoreApiModel):
|
|
|
2589
2647
|
constr(pattern=r"^[a-zA-Z0-9]+$", min_length=40, max_length=40)
|
|
2590
2648
|
]
|
|
2591
2649
|
cluster_id: int
|
|
2650
|
+
deployment_status: DeploymentStatusEnum
|
|
2592
2651
|
includes: ClusterNewRelicPropertiesIncludes
|
|
2593
2652
|
|
|
2594
2653
|
|
|
@@ -2615,6 +2674,7 @@ class ClusterNodejsPropertiesResource(BaseCoreApiModel):
|
|
|
2615
2674
|
updated_at: datetime
|
|
2616
2675
|
nodejs_versions: List[NodejsVersion]
|
|
2617
2676
|
cluster_id: int
|
|
2677
|
+
deployment_status: DeploymentStatusEnum
|
|
2618
2678
|
includes: ClusterNodejsPropertiesIncludes
|
|
2619
2679
|
|
|
2620
2680
|
|
|
@@ -2636,6 +2696,7 @@ class ClusterOsPropertiesResource(BaseCoreApiModel):
|
|
|
2636
2696
|
updated_at: datetime
|
|
2637
2697
|
automatic_upgrades_enabled: bool
|
|
2638
2698
|
cluster_id: int
|
|
2699
|
+
deployment_status: DeploymentStatusEnum
|
|
2639
2700
|
includes: ClusterOsPropertiesIncludes
|
|
2640
2701
|
|
|
2641
2702
|
|
|
@@ -2665,6 +2726,7 @@ class ClusterPostgresqlPropertiesResource(BaseCoreApiModel):
|
|
|
2665
2726
|
postgresql_backup_local_retention: conint(ge=1, le=24)
|
|
2666
2727
|
postgresql_backup_interval: conint(ge=1, le=24)
|
|
2667
2728
|
cluster_id: int
|
|
2729
|
+
deployment_status: DeploymentStatusEnum
|
|
2668
2730
|
includes: ClusterPostgresqlPropertiesIncludes
|
|
2669
2731
|
|
|
2670
2732
|
|
|
@@ -2693,6 +2755,7 @@ class ClusterRabbitmqPropertiesResource(BaseCoreApiModel):
|
|
|
2693
2755
|
)
|
|
2694
2756
|
rabbitmq_management_domain: str
|
|
2695
2757
|
cluster_id: int
|
|
2758
|
+
deployment_status: DeploymentStatusEnum
|
|
2696
2759
|
includes: ClusterRabbitmqPropertiesIncludes
|
|
2697
2760
|
|
|
2698
2761
|
|
|
@@ -2719,6 +2782,7 @@ class ClusterRedisPropertiesResource(BaseCoreApiModel):
|
|
|
2719
2782
|
redis_password: constr(pattern=r"^[a-zA-Z0-9]+$", min_length=24, max_length=255)
|
|
2720
2783
|
redis_memory_limit: int
|
|
2721
2784
|
cluster_id: int
|
|
2785
|
+
deployment_status: DeploymentStatusEnum
|
|
2722
2786
|
includes: ClusterRedisPropertiesIncludes
|
|
2723
2787
|
|
|
2724
2788
|
|
|
@@ -2755,6 +2819,7 @@ class ClusterSinglestorePropertiesResource(BaseCoreApiModel):
|
|
|
2755
2819
|
pattern=r"^[a-zA-Z0-9]+$", min_length=24, max_length=255
|
|
2756
2820
|
)
|
|
2757
2821
|
cluster_id: int
|
|
2822
|
+
deployment_status: DeploymentStatusEnum
|
|
2758
2823
|
includes: ClusterSinglestorePropertiesIncludes
|
|
2759
2824
|
|
|
2760
2825
|
|
|
@@ -2780,6 +2845,7 @@ class ClusterLoadBalancingPropertiesResource(BaseCoreApiModel):
|
|
|
2780
2845
|
http_retry_properties: HTTPRetryProperties
|
|
2781
2846
|
load_balancing_method: LoadBalancingMethodEnum
|
|
2782
2847
|
cluster_id: int
|
|
2848
|
+
deployment_status: DeploymentStatusEnum
|
|
2783
2849
|
includes: ClusterLoadBalancingPropertiesIncludes
|
|
2784
2850
|
|
|
2785
2851
|
|
|
@@ -2808,6 +2874,7 @@ class ClusterMeilisearchPropertiesResource(BaseCoreApiModel):
|
|
|
2808
2874
|
meilisearch_environment: MeilisearchEnvironmentEnum
|
|
2809
2875
|
meilisearch_backup_interval: conint(ge=1, le=24)
|
|
2810
2876
|
cluster_id: int
|
|
2877
|
+
deployment_status: DeploymentStatusEnum
|
|
2811
2878
|
includes: ClusterMeilisearchPropertiesIncludes
|
|
2812
2879
|
|
|
2813
2880
|
|
|
@@ -2840,6 +2907,7 @@ class ClusterPhpPropertiesResource(BaseCoreApiModel):
|
|
|
2840
2907
|
php_ioncube_enabled: bool
|
|
2841
2908
|
php_sessions_spread_enabled: bool
|
|
2842
2909
|
cluster_id: int
|
|
2910
|
+
deployment_status: DeploymentStatusEnum
|
|
2843
2911
|
includes: ClusterPhpPropertiesIncludes
|
|
2844
2912
|
|
|
2845
2913
|
|
|
@@ -2857,6 +2925,7 @@ class ClusterUnixUsersPropertiesResource(BaseCoreApiModel):
|
|
|
2857
2925
|
updated_at: datetime
|
|
2858
2926
|
unix_users_home_directory: UNIXUserHomeDirectoryEnum
|
|
2859
2927
|
cluster_id: int
|
|
2928
|
+
deployment_status: DeploymentStatusEnum
|
|
2860
2929
|
includes: ClusterUnixUsersPropertiesIncludes
|
|
2861
2930
|
|
|
2862
2931
|
|
|
@@ -2908,7 +2977,6 @@ class SpecificationNameEnum(StrEnum):
|
|
|
2908
2977
|
CLUSTER_SUPPORTS_N8N_NODES = "Cluster supports n8n nodes"
|
|
2909
2978
|
CLUSTER_SUPPORTS_CLAMAV_NODES = "Cluster supports ClamAV nodes"
|
|
2910
2979
|
CLUSTER_SUPPORTS_GNU_MAILUTILS_NODES = "Cluster supports GNU Mailutils nodes"
|
|
2911
|
-
CLUSTER_SUPPORTS_WKHTMLTOPDF_NODES = "Cluster supports wkhtmltopdf nodes"
|
|
2912
2980
|
CLUSTER_SUPPORTS_IMAGEMAGICK_NODES = "Cluster supports ImageMagick nodes"
|
|
2913
2981
|
CLUSTER_SUPPORTS_HAPROXY_NODES = "Cluster supports HAProxy nodes"
|
|
2914
2982
|
CLUSTER_SUPPORTS_PROFTPD_NODES = "Cluster supports ProFTPD nodes"
|
|
@@ -2921,7 +2989,6 @@ class SpecificationNameEnum(StrEnum):
|
|
|
2921
2989
|
CLUSTER_SUPPORTS_POSTGRESQL_NODES = "Cluster supports PostgreSQL nodes"
|
|
2922
2990
|
CLUSTER_SUPPORTS_PHP_NODES = "Cluster supports PHP nodes"
|
|
2923
2991
|
CLUSTER_SUPPORTS_COMPOSER_NODES = "Cluster supports Composer nodes"
|
|
2924
|
-
CLUSTER_SUPPORTS_WP_CLI_NODES = "Cluster supports WP-CLI nodes"
|
|
2925
2992
|
CLUSTER_SUPPORTS_NODEJS_NODES = "Cluster supports NodeJS nodes"
|
|
2926
2993
|
CLUSTER_SUPPORTS_PASSENGER_NODES = "Cluster supports Passenger nodes"
|
|
2927
2994
|
CLUSTER_SUPPORTS_KERNELCARE_NODES = "Cluster supports KernelCare nodes"
|
|
@@ -3432,6 +3499,107 @@ class PassengerAppsSearchRequest(BaseCoreApiModel):
|
|
|
3432
3499
|
nodejs_version: Optional[str] = None
|
|
3433
3500
|
|
|
3434
3501
|
|
|
3502
|
+
class FpmPoolUpdateSettingPairApcEnableCliRequest(BaseCoreApiModel):
|
|
3503
|
+
setting: Literal["apc_enable_cli"]
|
|
3504
|
+
value: bool
|
|
3505
|
+
|
|
3506
|
+
|
|
3507
|
+
class FpmPoolUpdateSettingPairErrorReportingRequest(BaseCoreApiModel):
|
|
3508
|
+
setting: Literal["error_reporting"]
|
|
3509
|
+
value: constr(pattern=r"^[A-Z&~_ ]+$", min_length=1, max_length=255)
|
|
3510
|
+
|
|
3511
|
+
|
|
3512
|
+
class FpmPoolUpdateSettingPairMaxExecutionTimeRequest(BaseCoreApiModel):
|
|
3513
|
+
setting: Literal["max_execution_time"]
|
|
3514
|
+
value: conint(ge=30, le=120)
|
|
3515
|
+
|
|
3516
|
+
|
|
3517
|
+
class FpmPoolUpdateSettingPairMaxFileUploadsRequest(BaseCoreApiModel):
|
|
3518
|
+
setting: Literal["max_file_uploads"]
|
|
3519
|
+
value: conint(ge=100, le=1000)
|
|
3520
|
+
|
|
3521
|
+
|
|
3522
|
+
class FpmPoolUpdateSettingPairMemoryLimitRequest(BaseCoreApiModel):
|
|
3523
|
+
setting: Literal["memory_limit"]
|
|
3524
|
+
value: conint(ge=256, le=4096)
|
|
3525
|
+
|
|
3526
|
+
|
|
3527
|
+
class FpmPoolUpdateSettingPairNewrelicBrowserMonitoringAutoInstrumentRequest(
|
|
3528
|
+
BaseCoreApiModel
|
|
3529
|
+
):
|
|
3530
|
+
setting: Literal["newrelic_browser_monitoring_auto_instrument"]
|
|
3531
|
+
value: bool
|
|
3532
|
+
|
|
3533
|
+
|
|
3534
|
+
class FpmPoolUpdateSettingPairOpcacheFileCacheRequest(BaseCoreApiModel):
|
|
3535
|
+
setting: Literal["opcache_file_cache"]
|
|
3536
|
+
value: bool
|
|
3537
|
+
|
|
3538
|
+
|
|
3539
|
+
class FpmPoolUpdateSettingPairOpcacheMemoryConsumptionRequest(BaseCoreApiModel):
|
|
3540
|
+
setting: Literal["opcache_memory_consumption"]
|
|
3541
|
+
value: conint(ge=192, le=1024)
|
|
3542
|
+
|
|
3543
|
+
|
|
3544
|
+
class FpmPoolUpdateSettingPairOpcacheValidateTimestampsRequest(BaseCoreApiModel):
|
|
3545
|
+
setting: Literal["opcache_validate_timestamps"]
|
|
3546
|
+
value: bool
|
|
3547
|
+
|
|
3548
|
+
|
|
3549
|
+
class FpmPoolUpdateSettingPairPostMaxSizeRequest(BaseCoreApiModel):
|
|
3550
|
+
setting: Literal["post_max_size"]
|
|
3551
|
+
value: conint(ge=32, le=256)
|
|
3552
|
+
|
|
3553
|
+
|
|
3554
|
+
class FpmPoolUpdateSettingPairSessionGcMaxlifetimeRequest(BaseCoreApiModel):
|
|
3555
|
+
setting: Literal["session_gc_maxlifetime"]
|
|
3556
|
+
value: conint(ge=1440, le=14400)
|
|
3557
|
+
|
|
3558
|
+
|
|
3559
|
+
class FpmPoolUpdateSettingPairShortOpenTagRequest(BaseCoreApiModel):
|
|
3560
|
+
setting: Literal["short_open_tag"]
|
|
3561
|
+
value: bool
|
|
3562
|
+
|
|
3563
|
+
|
|
3564
|
+
class FpmPoolUpdateSettingPairTidewaysApiKeyRequest(BaseCoreApiModel):
|
|
3565
|
+
setting: Literal["tideways_api_key"]
|
|
3566
|
+
value: constr(pattern=r"^[a-zA-Z0-9_]+$", min_length=16, max_length=32)
|
|
3567
|
+
|
|
3568
|
+
|
|
3569
|
+
class FpmPoolUpdateSettingPairTidewaysSampleRateRequest(BaseCoreApiModel):
|
|
3570
|
+
setting: Literal["tideways_sample_rate"]
|
|
3571
|
+
value: conint(ge=1, le=100)
|
|
3572
|
+
|
|
3573
|
+
|
|
3574
|
+
class FpmPoolUpdateSettingPairUploadMaxFilesizeRequest(BaseCoreApiModel):
|
|
3575
|
+
setting: Literal["upload_max_filesize"]
|
|
3576
|
+
value: conint(ge=32, le=256)
|
|
3577
|
+
|
|
3578
|
+
|
|
3579
|
+
class FpmPoolUpdateSettingPairRequest(RootCoreApiModel):
|
|
3580
|
+
root: (
|
|
3581
|
+
FpmPoolUpdateSettingPairApcEnableCliRequest
|
|
3582
|
+
| FpmPoolUpdateSettingPairOpcacheFileCacheRequest
|
|
3583
|
+
| FpmPoolUpdateSettingPairOpcacheValidateTimestampsRequest
|
|
3584
|
+
| FpmPoolUpdateSettingPairShortOpenTagRequest
|
|
3585
|
+
| FpmPoolUpdateSettingPairErrorReportingRequest
|
|
3586
|
+
| FpmPoolUpdateSettingPairOpcacheMemoryConsumptionRequest
|
|
3587
|
+
| FpmPoolUpdateSettingPairSessionGcMaxlifetimeRequest
|
|
3588
|
+
| FpmPoolUpdateSettingPairMaxExecutionTimeRequest
|
|
3589
|
+
| FpmPoolUpdateSettingPairMaxFileUploadsRequest
|
|
3590
|
+
| FpmPoolUpdateSettingPairMemoryLimitRequest
|
|
3591
|
+
| FpmPoolUpdateSettingPairPostMaxSizeRequest
|
|
3592
|
+
| FpmPoolUpdateSettingPairUploadMaxFilesizeRequest
|
|
3593
|
+
| FpmPoolUpdateSettingPairTidewaysApiKeyRequest
|
|
3594
|
+
| FpmPoolUpdateSettingPairTidewaysSampleRateRequest
|
|
3595
|
+
| FpmPoolUpdateSettingPairNewrelicBrowserMonitoringAutoInstrumentRequest
|
|
3596
|
+
) = Field(..., discriminator="setting")
|
|
3597
|
+
|
|
3598
|
+
|
|
3599
|
+
class FpmPoolUpdateSettingsRequest(RootCoreApiModel):
|
|
3600
|
+
root: list[FpmPoolUpdateSettingPairRequest]
|
|
3601
|
+
|
|
3602
|
+
|
|
3435
3603
|
NestedPathsDict.model_rebuild()
|
|
3436
3604
|
CompositeSpecificationSatisfyResult.model_rebuild()
|
|
3437
3605
|
CompositeSpecificationSatisfyResultResource.model_rebuild()
|
|
@@ -192,25 +192,6 @@ class Clusters(Resource):
|
|
|
192
192
|
|
|
193
193
|
return DtoResponse.from_response(local_response, models.IPAddressProduct)
|
|
194
194
|
|
|
195
|
-
def list_cluster_deployments_results(
|
|
196
|
-
self,
|
|
197
|
-
*,
|
|
198
|
-
id_: int,
|
|
199
|
-
get_non_running: Optional[bool] = None,
|
|
200
|
-
) -> DtoResponse[models.ClusterDeploymentResults]:
|
|
201
|
-
local_response = self.api_connector.send_or_fail(
|
|
202
|
-
"GET",
|
|
203
|
-
f"/api/v1/clusters/{id_}/deployments-results",
|
|
204
|
-
data=None,
|
|
205
|
-
query_parameters={
|
|
206
|
-
"get_non_running": get_non_running,
|
|
207
|
-
},
|
|
208
|
-
)
|
|
209
|
-
|
|
210
|
-
return DtoResponse.from_response(
|
|
211
|
-
local_response, models.ClusterDeploymentResults
|
|
212
|
-
)
|
|
213
|
-
|
|
214
195
|
def list_unix_users_home_directory_usages(
|
|
215
196
|
self,
|
|
216
197
|
*,
|
|
@@ -152,3 +152,18 @@ class FPMPools(Resource):
|
|
|
152
152
|
)
|
|
153
153
|
|
|
154
154
|
return DtoResponse.from_response(local_response, models.TaskCollectionResource)
|
|
155
|
+
|
|
156
|
+
def update_fpm_pool_settings(
|
|
157
|
+
self,
|
|
158
|
+
request: models.FpmPoolUpdateSettingsRequest,
|
|
159
|
+
*,
|
|
160
|
+
id_: int,
|
|
161
|
+
) -> DtoResponse[models.FPMPoolResource]:
|
|
162
|
+
local_response = self.api_connector.send_or_fail(
|
|
163
|
+
"PATCH",
|
|
164
|
+
f"/api/v1/fpm-pools/{id_}/settings",
|
|
165
|
+
data=request.model_dump(exclude_unset=True),
|
|
166
|
+
query_parameters={},
|
|
167
|
+
)
|
|
168
|
+
|
|
169
|
+
return DtoResponse.from_response(local_response, models.FPMPoolResource)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python3-core-api-client
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0
|
|
4
4
|
Summary: Python client for Core API.
|
|
5
5
|
Author-email: Cyberfusion <support@cyberfusion.io>
|
|
6
6
|
Project-URL: Source, https://github.com/CyberfusionIO/python3-core-api-client
|
|
@@ -13,7 +13,7 @@ Requires-Dist: pydantic[email]==2.12.5
|
|
|
13
13
|
|
|
14
14
|
Python client for Core API.
|
|
15
15
|
|
|
16
|
-
This client was built for and tested on the **1.
|
|
16
|
+
This client was built for and tested on the **1.265.0** version of the API.
|
|
17
17
|
|
|
18
18
|
## Support
|
|
19
19
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python3_core_api_client-2.12.1 → python3_core_api_client-3.0}/src/cyberfusion/CoreApiClient/http.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|