python3-core-api-client 1.0.4__tar.gz → 1.0.6__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-1.0.4 → python3_core_api_client-1.0.6}/PKG-INFO +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/pyproject.toml +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/models.py +109 -111
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/basic_authentication_realms.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/borg_archives.py +2 -2
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/borg_repositories.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/certificate_managers.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/certificates.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/clusters.py +2 -2
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/cmses.py +10 -7
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/crons.py +4 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/custom_config_snippets.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/custom_configs.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/customers.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/daemons.py +4 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/database_user_grants.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/database_users.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/databases.py +4 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/firewall_groups.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/firewall_rules.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/fpm_pools.py +4 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/ftp_users.py +5 -2
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/haproxy_listens.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/haproxy_listens_to_nodes.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/hosts_entries.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/htpasswd_files.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/htpasswd_users.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/login.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/mail_accounts.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/mail_aliases.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/mail_domains.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/mail_hostnames.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/mariadb_encryption_keys.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/node_add_ons.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/nodes.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/passenger_apps.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/redis_instances.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/root_ssh_keys.py +2 -2
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/security_txt_policies.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/ssh_keys.py +2 -2
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/unix_users.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/url_redirects.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/virtual_hosts.py +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/python3_core_api_client.egg-info/PKG-INFO +1 -1
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/README.md +0 -0
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/setup.cfg +0 -0
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/__init__.py +0 -0
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/_encoders.py +0 -0
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/connector.py +0 -0
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/exceptions.py +0 -0
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/http.py +0 -0
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/interfaces.py +0 -0
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/__init__.py +0 -0
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/domain_routers.py +0 -0
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/health.py +0 -0
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/logs.py +0 -0
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/malwares.py +0 -0
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/sites.py +0 -0
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/task_collections.py +0 -0
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/cyberfusion/CoreApiClient/resources/tombstones.py +0 -0
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/python3_core_api_client.egg-info/SOURCES.txt +0 -0
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/python3_core_api_client.egg-info/dependency_links.txt +0 -0
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/python3_core_api_client.egg-info/requires.txt +0 -0
- {python3_core_api_client-1.0.4 → python3_core_api_client-1.0.6}/src/python3_core_api_client.egg-info/top_level.txt +0 -0
@@ -1,5 +1,3 @@
|
|
1
|
-
from __future__ import annotations
|
2
|
-
|
3
1
|
from datetime import datetime
|
4
2
|
from enum import StrEnum, IntEnum
|
5
3
|
from ipaddress import IPv4Address, IPv6Address
|
@@ -1409,7 +1407,7 @@ class MeilisearchEnvironmentEnum(StrEnum):
|
|
1409
1407
|
|
1410
1408
|
|
1411
1409
|
class NestedPathsDict(RootModelCollectionMixin, CoreApiModel): # type: ignore[misc]
|
1412
|
-
__root__: Optional[Dict[str, Optional[NestedPathsDict]]] = None
|
1410
|
+
__root__: Optional[Dict[str, Optional["NestedPathsDict"]]] = None
|
1413
1411
|
|
1414
1412
|
|
1415
1413
|
class NodeAddOnCreateRequest(CoreApiModel):
|
@@ -1884,114 +1882,6 @@ class TokenTypeEnum(StrEnum):
|
|
1884
1882
|
BEARER = "bearer"
|
1885
1883
|
|
1886
1884
|
|
1887
|
-
class TombstoneDataCertificate(CoreApiModel):
|
1888
|
-
data_type: Literal["certificate"] = Field(..., title="Data Type")
|
1889
|
-
|
1890
|
-
|
1891
|
-
class TombstoneDataCron(CoreApiModel):
|
1892
|
-
data_type: Literal["cron"] = Field(..., title="Data Type")
|
1893
|
-
name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=64) = Field(
|
1894
|
-
..., title="Name"
|
1895
|
-
)
|
1896
|
-
unix_user_id: int = Field(..., title="Unix User Id")
|
1897
|
-
|
1898
|
-
|
1899
|
-
class TombstoneDataDaemon(CoreApiModel):
|
1900
|
-
data_type: Literal["daemon"] = Field(..., title="Data Type")
|
1901
|
-
name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=64) = Field(
|
1902
|
-
..., title="Name"
|
1903
|
-
)
|
1904
|
-
|
1905
|
-
|
1906
|
-
class TombstoneDataFPMPool(CoreApiModel):
|
1907
|
-
data_type: Literal["fpm_pool"] = Field(..., title="Data Type")
|
1908
|
-
version: str = Field(..., title="Version")
|
1909
|
-
name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=64) = Field(
|
1910
|
-
..., title="Name"
|
1911
|
-
)
|
1912
|
-
|
1913
|
-
|
1914
|
-
class TombstoneDataMailAccount(CoreApiModel):
|
1915
|
-
data_type: Literal["mail_account"] = Field(..., title="Data Type")
|
1916
|
-
local_part: constr(regex=r"^[a-z0-9-.]+$", min_length=1, max_length=64) = Field(
|
1917
|
-
...,
|
1918
|
-
description="May not be in use by mail alias in the same mail domain.",
|
1919
|
-
title="Local Part",
|
1920
|
-
)
|
1921
|
-
mail_domain_id: int = Field(..., title="Mail Domain Id")
|
1922
|
-
delete_on_cluster: Optional[bool] = Field(False, title="Delete On Cluster")
|
1923
|
-
|
1924
|
-
|
1925
|
-
class TombstoneDataPassengerApp(CoreApiModel):
|
1926
|
-
data_type: Literal["passenger_app"] = Field(..., title="Data Type")
|
1927
|
-
name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=64) = Field(
|
1928
|
-
..., title="Name"
|
1929
|
-
)
|
1930
|
-
|
1931
|
-
|
1932
|
-
class TombstoneDataRedisInstance(CoreApiModel):
|
1933
|
-
data_type: Literal["redis_instance"] = Field(..., title="Data Type")
|
1934
|
-
name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=64) = Field(
|
1935
|
-
..., title="Name"
|
1936
|
-
)
|
1937
|
-
delete_on_cluster: Optional[bool] = Field(False, title="Delete On Cluster")
|
1938
|
-
|
1939
|
-
|
1940
|
-
class TombstoneDataUNIXUser(CoreApiModel):
|
1941
|
-
data_type: Literal["unix_user"] = Field(..., title="Data Type")
|
1942
|
-
home_directory: str = Field(..., title="Home Directory")
|
1943
|
-
delete_on_cluster: Optional[bool] = Field(False, title="Delete On Cluster")
|
1944
|
-
|
1945
|
-
|
1946
|
-
class TombstoneDataUNIXUserRabbitMQCredentials(CoreApiModel):
|
1947
|
-
data_type: Literal["unix_user_rabbitmq_credentials"] = Field(..., title="Data Type")
|
1948
|
-
rabbitmq_virtual_host_name: constr(
|
1949
|
-
regex=r"^[a-z0-9-.]+$", min_length=1, max_length=32
|
1950
|
-
) = Field(..., title="Rabbitmq Virtual Host Name")
|
1951
|
-
|
1952
|
-
|
1953
|
-
class TombstoneDataVirtualHost(CoreApiModel):
|
1954
|
-
data_type: Literal["virtual_host"] = Field(..., title="Data Type")
|
1955
|
-
domain_root: str = Field(..., title="Domain Root")
|
1956
|
-
delete_on_cluster: Optional[bool] = Field(False, title="Delete On Cluster")
|
1957
|
-
|
1958
|
-
|
1959
|
-
class TombstoneIncludes(CoreApiModel):
|
1960
|
-
cluster: ClusterResource
|
1961
|
-
|
1962
|
-
|
1963
|
-
class TombstoneDataDatabase(CoreApiModel):
|
1964
|
-
data_type: Literal["database"] = Field(..., title="Data Type")
|
1965
|
-
name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=63) = Field(
|
1966
|
-
..., title="Name"
|
1967
|
-
)
|
1968
|
-
server_software_name: DatabaseServerSoftwareNameEnum
|
1969
|
-
delete_on_cluster: Optional[bool] = Field(False, title="Delete On Cluster")
|
1970
|
-
|
1971
|
-
|
1972
|
-
class TombstoneResource(CoreApiModel):
|
1973
|
-
id: int = Field(..., title="Id")
|
1974
|
-
created_at: datetime = Field(..., title="Created At")
|
1975
|
-
updated_at: datetime = Field(..., title="Updated At")
|
1976
|
-
data: Union[
|
1977
|
-
TombstoneDataPassengerApp,
|
1978
|
-
TombstoneDataCertificate,
|
1979
|
-
TombstoneDataFPMPool,
|
1980
|
-
TombstoneDataUNIXUserRabbitMQCredentials,
|
1981
|
-
TombstoneDataUNIXUser,
|
1982
|
-
TombstoneDataCron,
|
1983
|
-
TombstoneDataDaemon,
|
1984
|
-
TombstoneDataDatabase,
|
1985
|
-
TombstoneDataMailAccount,
|
1986
|
-
TombstoneDataRedisInstance,
|
1987
|
-
TombstoneDataVirtualHost,
|
1988
|
-
] = Field(..., discriminator="data_type", title="Data")
|
1989
|
-
object_id: int = Field(..., title="Object Id")
|
1990
|
-
object_model_name: ObjectModelNameEnum
|
1991
|
-
cluster_id: int = Field(..., title="Cluster Id")
|
1992
|
-
includes: TombstoneIncludes
|
1993
|
-
|
1994
|
-
|
1995
1885
|
class UNIXUserComparison(CoreApiModel):
|
1996
1886
|
not_identical_paths: NestedPathsDict
|
1997
1887
|
only_left_files_paths: NestedPathsDict
|
@@ -5374,4 +5264,112 @@ class MailAliasResource(CoreApiModel):
|
|
5374
5264
|
includes: MailAliasIncludes
|
5375
5265
|
|
5376
5266
|
|
5267
|
+
class TombstoneDataCertificate(CoreApiModel):
|
5268
|
+
data_type: Literal["certificate"] = Field(..., title="Data Type")
|
5269
|
+
|
5270
|
+
|
5271
|
+
class TombstoneDataCron(CoreApiModel):
|
5272
|
+
data_type: Literal["cron"] = Field(..., title="Data Type")
|
5273
|
+
name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=64) = Field(
|
5274
|
+
..., title="Name"
|
5275
|
+
)
|
5276
|
+
unix_user_id: int = Field(..., title="Unix User Id")
|
5277
|
+
|
5278
|
+
|
5279
|
+
class TombstoneDataDaemon(CoreApiModel):
|
5280
|
+
data_type: Literal["daemon"] = Field(..., title="Data Type")
|
5281
|
+
name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=64) = Field(
|
5282
|
+
..., title="Name"
|
5283
|
+
)
|
5284
|
+
|
5285
|
+
|
5286
|
+
class TombstoneDataFPMPool(CoreApiModel):
|
5287
|
+
data_type: Literal["fpm_pool"] = Field(..., title="Data Type")
|
5288
|
+
version: str = Field(..., title="Version")
|
5289
|
+
name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=64) = Field(
|
5290
|
+
..., title="Name"
|
5291
|
+
)
|
5292
|
+
|
5293
|
+
|
5294
|
+
class TombstoneDataMailAccount(CoreApiModel):
|
5295
|
+
data_type: Literal["mail_account"] = Field(..., title="Data Type")
|
5296
|
+
local_part: constr(regex=r"^[a-z0-9-.]+$", min_length=1, max_length=64) = Field(
|
5297
|
+
...,
|
5298
|
+
description="May not be in use by mail alias in the same mail domain.",
|
5299
|
+
title="Local Part",
|
5300
|
+
)
|
5301
|
+
mail_domain_id: int = Field(..., title="Mail Domain Id")
|
5302
|
+
delete_on_cluster: Optional[bool] = Field(False, title="Delete On Cluster")
|
5303
|
+
|
5304
|
+
|
5305
|
+
class TombstoneDataPassengerApp(CoreApiModel):
|
5306
|
+
data_type: Literal["passenger_app"] = Field(..., title="Data Type")
|
5307
|
+
name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=64) = Field(
|
5308
|
+
..., title="Name"
|
5309
|
+
)
|
5310
|
+
|
5311
|
+
|
5312
|
+
class TombstoneDataRedisInstance(CoreApiModel):
|
5313
|
+
data_type: Literal["redis_instance"] = Field(..., title="Data Type")
|
5314
|
+
name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=64) = Field(
|
5315
|
+
..., title="Name"
|
5316
|
+
)
|
5317
|
+
delete_on_cluster: Optional[bool] = Field(False, title="Delete On Cluster")
|
5318
|
+
|
5319
|
+
|
5320
|
+
class TombstoneDataUNIXUser(CoreApiModel):
|
5321
|
+
data_type: Literal["unix_user"] = Field(..., title="Data Type")
|
5322
|
+
home_directory: str = Field(..., title="Home Directory")
|
5323
|
+
delete_on_cluster: Optional[bool] = Field(False, title="Delete On Cluster")
|
5324
|
+
|
5325
|
+
|
5326
|
+
class TombstoneDataUNIXUserRabbitMQCredentials(CoreApiModel):
|
5327
|
+
data_type: Literal["unix_user_rabbitmq_credentials"] = Field(..., title="Data Type")
|
5328
|
+
rabbitmq_virtual_host_name: constr(
|
5329
|
+
regex=r"^[a-z0-9-.]+$", min_length=1, max_length=32
|
5330
|
+
) = Field(..., title="Rabbitmq Virtual Host Name")
|
5331
|
+
|
5332
|
+
|
5333
|
+
class TombstoneDataVirtualHost(CoreApiModel):
|
5334
|
+
data_type: Literal["virtual_host"] = Field(..., title="Data Type")
|
5335
|
+
domain_root: str = Field(..., title="Domain Root")
|
5336
|
+
delete_on_cluster: Optional[bool] = Field(False, title="Delete On Cluster")
|
5337
|
+
|
5338
|
+
|
5339
|
+
class TombstoneIncludes(CoreApiModel):
|
5340
|
+
cluster: ClusterResource
|
5341
|
+
|
5342
|
+
|
5343
|
+
class TombstoneDataDatabase(CoreApiModel):
|
5344
|
+
data_type: Literal["database"] = Field(..., title="Data Type")
|
5345
|
+
name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=63) = Field(
|
5346
|
+
..., title="Name"
|
5347
|
+
)
|
5348
|
+
server_software_name: DatabaseServerSoftwareNameEnum
|
5349
|
+
delete_on_cluster: Optional[bool] = Field(False, title="Delete On Cluster")
|
5350
|
+
|
5351
|
+
|
5352
|
+
class TombstoneResource(CoreApiModel):
|
5353
|
+
id: int = Field(..., title="Id")
|
5354
|
+
created_at: datetime = Field(..., title="Created At")
|
5355
|
+
updated_at: datetime = Field(..., title="Updated At")
|
5356
|
+
data: Union[
|
5357
|
+
TombstoneDataPassengerApp,
|
5358
|
+
TombstoneDataCertificate,
|
5359
|
+
TombstoneDataFPMPool,
|
5360
|
+
TombstoneDataUNIXUserRabbitMQCredentials,
|
5361
|
+
TombstoneDataUNIXUser,
|
5362
|
+
TombstoneDataCron,
|
5363
|
+
TombstoneDataDaemon,
|
5364
|
+
TombstoneDataDatabase,
|
5365
|
+
TombstoneDataMailAccount,
|
5366
|
+
TombstoneDataRedisInstance,
|
5367
|
+
TombstoneDataVirtualHost,
|
5368
|
+
] = Field(..., discriminator="data_type", title="Data")
|
5369
|
+
object_id: int = Field(..., title="Object Id")
|
5370
|
+
object_model_name: ObjectModelNameEnum
|
5371
|
+
cluster_id: int = Field(..., title="Cluster Id")
|
5372
|
+
includes: TombstoneIncludes
|
5373
|
+
|
5374
|
+
|
5377
5375
|
NestedPathsDict.update_forward_refs()
|
@@ -15,7 +15,7 @@ class BorgArchives(Resource):
|
|
15
15
|
self.api_connector.send_or_fail(
|
16
16
|
"POST",
|
17
17
|
"/api/v1/borg-archives/database",
|
18
|
-
data=request.dict(),
|
18
|
+
data=request.dict(exclude_unset=True),
|
19
19
|
query_parameters={
|
20
20
|
"callback_url": callback_url,
|
21
21
|
},
|
@@ -32,7 +32,7 @@ class BorgArchives(Resource):
|
|
32
32
|
self.api_connector.send_or_fail(
|
33
33
|
"POST",
|
34
34
|
"/api/v1/borg-archives/unix-user",
|
35
|
-
data=request.dict(),
|
35
|
+
data=request.dict(exclude_unset=True),
|
36
36
|
query_parameters={
|
37
37
|
"callback_url": callback_url,
|
38
38
|
},
|
@@ -27,7 +27,7 @@ class Clusters(Resource):
|
|
27
27
|
self.api_connector.send_or_fail(
|
28
28
|
"POST",
|
29
29
|
"/api/v1/clusters",
|
30
|
-
data=request.dict(),
|
30
|
+
data=request.dict(exclude_unset=True),
|
31
31
|
query_parameters={
|
32
32
|
"callback_url": callback_url,
|
33
33
|
},
|
@@ -121,7 +121,7 @@ class Clusters(Resource):
|
|
121
121
|
self.api_connector.send_or_fail(
|
122
122
|
"POST",
|
123
123
|
f"/api/v1/clusters/{id_}/ip-addresses",
|
124
|
-
data=request.dict(),
|
124
|
+
data=request.dict(exclude_unset=True),
|
125
125
|
query_parameters={},
|
126
126
|
).json
|
127
127
|
)
|
@@ -11,7 +11,10 @@ class CMSes(Resource):
|
|
11
11
|
) -> models.CMSResource:
|
12
12
|
return models.CMSResource.parse_obj(
|
13
13
|
self.api_connector.send_or_fail(
|
14
|
-
"POST",
|
14
|
+
"POST",
|
15
|
+
"/api/v1/cmses",
|
16
|
+
data=request.dict(exclude_unset=True),
|
17
|
+
query_parameters={},
|
15
18
|
).json
|
16
19
|
)
|
17
20
|
|
@@ -71,7 +74,7 @@ class CMSes(Resource):
|
|
71
74
|
self.api_connector.send_or_fail(
|
72
75
|
"POST",
|
73
76
|
f"/api/v1/cmses/{id_}/install/wordpress",
|
74
|
-
data=request.dict(),
|
77
|
+
data=request.dict(exclude_unset=True),
|
75
78
|
query_parameters={
|
76
79
|
"callback_url": callback_url,
|
77
80
|
},
|
@@ -89,7 +92,7 @@ class CMSes(Resource):
|
|
89
92
|
self.api_connector.send_or_fail(
|
90
93
|
"POST",
|
91
94
|
f"/api/v1/cmses/{id_}/install/nextcloud",
|
92
|
-
data=request.dict(),
|
95
|
+
data=request.dict(exclude_unset=True),
|
93
96
|
query_parameters={
|
94
97
|
"callback_url": callback_url,
|
95
98
|
},
|
@@ -133,7 +136,7 @@ class CMSes(Resource):
|
|
133
136
|
self.api_connector.send_or_fail(
|
134
137
|
"PATCH",
|
135
138
|
f"/api/v1/cmses/{id_}/options/{name}",
|
136
|
-
data=request.dict(),
|
139
|
+
data=request.dict(exclude_unset=True),
|
137
140
|
query_parameters={},
|
138
141
|
).json
|
139
142
|
)
|
@@ -149,7 +152,7 @@ class CMSes(Resource):
|
|
149
152
|
self.api_connector.send_or_fail(
|
150
153
|
"PATCH",
|
151
154
|
f"/api/v1/cmses/{id_}/configuration-constants/{name}",
|
152
|
-
data=request.dict(),
|
155
|
+
data=request.dict(exclude_unset=True),
|
153
156
|
query_parameters={},
|
154
157
|
).json
|
155
158
|
)
|
@@ -165,7 +168,7 @@ class CMSes(Resource):
|
|
165
168
|
self.api_connector.send_or_fail(
|
166
169
|
"PATCH",
|
167
170
|
f"/api/v1/cmses/{id_}/users/{user_id}/credentials",
|
168
|
-
data=request.dict(),
|
171
|
+
data=request.dict(exclude_unset=True),
|
169
172
|
query_parameters={},
|
170
173
|
).json
|
171
174
|
)
|
@@ -283,7 +286,7 @@ class CMSes(Resource):
|
|
283
286
|
self.api_connector.send_or_fail(
|
284
287
|
"POST",
|
285
288
|
f"/api/v1/cmses/{id_}/themes",
|
286
|
-
data=request.dict(),
|
289
|
+
data=request.dict(exclude_unset=True),
|
287
290
|
query_parameters={},
|
288
291
|
).json
|
289
292
|
)
|
@@ -11,7 +11,10 @@ class Crons(Resource):
|
|
11
11
|
) -> models.CronResource:
|
12
12
|
return models.CronResource.parse_obj(
|
13
13
|
self.api_connector.send_or_fail(
|
14
|
-
"POST",
|
14
|
+
"POST",
|
15
|
+
"/api/v1/crons",
|
16
|
+
data=request.dict(exclude_unset=True),
|
17
|
+
query_parameters={},
|
15
18
|
).json
|
16
19
|
)
|
17
20
|
|
@@ -11,7 +11,10 @@ class Daemons(Resource):
|
|
11
11
|
) -> models.DaemonResource:
|
12
12
|
return models.DaemonResource.parse_obj(
|
13
13
|
self.api_connector.send_or_fail(
|
14
|
-
"POST",
|
14
|
+
"POST",
|
15
|
+
"/api/v1/daemons",
|
16
|
+
data=request.dict(exclude_unset=True),
|
17
|
+
query_parameters={},
|
15
18
|
).json
|
16
19
|
)
|
17
20
|
|
@@ -11,7 +11,10 @@ class Databases(Resource):
|
|
11
11
|
) -> models.DatabaseResource:
|
12
12
|
return models.DatabaseResource.parse_obj(
|
13
13
|
self.api_connector.send_or_fail(
|
14
|
-
"POST",
|
14
|
+
"POST",
|
15
|
+
"/api/v1/databases",
|
16
|
+
data=request.dict(exclude_unset=True),
|
17
|
+
query_parameters={},
|
15
18
|
).json
|
16
19
|
)
|
17
20
|
|
@@ -11,7 +11,10 @@ class FPMPools(Resource):
|
|
11
11
|
) -> models.FPMPoolResource:
|
12
12
|
return models.FPMPoolResource.parse_obj(
|
13
13
|
self.api_connector.send_or_fail(
|
14
|
-
"POST",
|
14
|
+
"POST",
|
15
|
+
"/api/v1/fpm-pools",
|
16
|
+
data=request.dict(exclude_unset=True),
|
17
|
+
query_parameters={},
|
15
18
|
).json
|
16
19
|
)
|
17
20
|
|
@@ -11,7 +11,10 @@ class FTPUsers(Resource):
|
|
11
11
|
) -> models.FTPUserResource:
|
12
12
|
return models.FTPUserResource.parse_obj(
|
13
13
|
self.api_connector.send_or_fail(
|
14
|
-
"POST",
|
14
|
+
"POST",
|
15
|
+
"/api/v1/ftp-users",
|
16
|
+
data=request.dict(exclude_unset=True),
|
17
|
+
query_parameters={},
|
15
18
|
).json
|
16
19
|
)
|
17
20
|
|
@@ -83,7 +86,7 @@ class FTPUsers(Resource):
|
|
83
86
|
self.api_connector.send_or_fail(
|
84
87
|
"POST",
|
85
88
|
"/api/v1/ftp-users/temporary",
|
86
|
-
data=request.dict(),
|
89
|
+
data=request.dict(exclude_unset=True),
|
87
90
|
query_parameters={},
|
88
91
|
).json
|
89
92
|
)
|
@@ -13,7 +13,7 @@ class RootSSHKeys(Resource):
|
|
13
13
|
self.api_connector.send_or_fail(
|
14
14
|
"POST",
|
15
15
|
"/api/v1/root-ssh-keys/public",
|
16
|
-
data=request.dict(),
|
16
|
+
data=request.dict(exclude_unset=True),
|
17
17
|
query_parameters={},
|
18
18
|
).json
|
19
19
|
)
|
@@ -26,7 +26,7 @@ class RootSSHKeys(Resource):
|
|
26
26
|
self.api_connector.send_or_fail(
|
27
27
|
"POST",
|
28
28
|
"/api/v1/root-ssh-keys/private",
|
29
|
-
data=request.dict(),
|
29
|
+
data=request.dict(exclude_unset=True),
|
30
30
|
query_parameters={},
|
31
31
|
).json
|
32
32
|
)
|
@@ -13,7 +13,7 @@ class SSHKeys(Resource):
|
|
13
13
|
self.api_connector.send_or_fail(
|
14
14
|
"POST",
|
15
15
|
"/api/v1/ssh-keys/public",
|
16
|
-
data=request.dict(),
|
16
|
+
data=request.dict(exclude_unset=True),
|
17
17
|
query_parameters={},
|
18
18
|
).json
|
19
19
|
)
|
@@ -26,7 +26,7 @@ class SSHKeys(Resource):
|
|
26
26
|
self.api_connector.send_or_fail(
|
27
27
|
"POST",
|
28
28
|
"/api/v1/ssh-keys/private",
|
29
|
-
data=request.dict(),
|
29
|
+
data=request.dict(exclude_unset=True),
|
30
30
|
query_parameters={},
|
31
31
|
).json
|
32
32
|
)
|
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
|