python3-core-api-client 2.4__tar.gz → 2.5__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.

Potentially problematic release.


This version of python3-core-api-client might be problematic. Click here for more details.

Files changed (64) hide show
  1. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/PKG-INFO +1 -1
  2. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/pyproject.toml +1 -1
  3. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/models.py +28 -38
  4. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/python3_core_api_client.egg-info/PKG-INFO +1 -1
  5. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/README.md +0 -0
  6. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/setup.cfg +0 -0
  7. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/__init__.py +0 -0
  8. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/_encoders.py +0 -0
  9. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/connector.py +0 -0
  10. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/exceptions.py +0 -0
  11. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/http.py +0 -0
  12. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/interfaces.py +0 -0
  13. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/__init__.py +0 -0
  14. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/basic_authentication_realms.py +0 -0
  15. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/borg_archives.py +0 -0
  16. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/borg_repositories.py +0 -0
  17. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/certificate_managers.py +0 -0
  18. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/certificates.py +0 -0
  19. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/clusters.py +0 -0
  20. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/cmses.py +0 -0
  21. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/crons.py +0 -0
  22. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/custom_config_snippets.py +0 -0
  23. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/custom_configs.py +0 -0
  24. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/customers.py +0 -0
  25. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/daemons.py +0 -0
  26. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/database_user_grants.py +0 -0
  27. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/database_users.py +0 -0
  28. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/databases.py +0 -0
  29. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/domain_routers.py +0 -0
  30. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/firewall_groups.py +0 -0
  31. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/firewall_rules.py +0 -0
  32. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/fpm_pools.py +0 -0
  33. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/ftp_users.py +0 -0
  34. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/haproxy_listens.py +0 -0
  35. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/haproxy_listens_to_nodes.py +0 -0
  36. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/health.py +0 -0
  37. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/hosts_entries.py +0 -0
  38. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/htpasswd_files.py +0 -0
  39. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/htpasswd_users.py +0 -0
  40. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/login.py +0 -0
  41. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/logs.py +0 -0
  42. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/mail_accounts.py +0 -0
  43. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/mail_aliases.py +0 -0
  44. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/mail_domains.py +0 -0
  45. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/mail_hostnames.py +0 -0
  46. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/malwares.py +0 -0
  47. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/mariadb_encryption_keys.py +0 -0
  48. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/node_add_ons.py +0 -0
  49. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/nodes.py +0 -0
  50. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/passenger_apps.py +0 -0
  51. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/redis_instances.py +0 -0
  52. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/regions.py +0 -0
  53. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/root_ssh_keys.py +0 -0
  54. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/security_txt_policies.py +0 -0
  55. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/ssh_keys.py +0 -0
  56. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/task_collections.py +0 -0
  57. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/tombstones.py +0 -0
  58. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/unix_users.py +0 -0
  59. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/url_redirects.py +0 -0
  60. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/cyberfusion/CoreApiClient/resources/virtual_hosts.py +0 -0
  61. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/python3_core_api_client.egg-info/SOURCES.txt +0 -0
  62. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/python3_core_api_client.egg-info/dependency_links.txt +0 -0
  63. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/src/python3_core_api_client.egg-info/requires.txt +0 -0
  64. {python3_core_api_client-2.4 → python3_core_api_client-2.5}/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: 2.4
3
+ Version: 2.5
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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "python3-core-api-client"
7
- version = "2.4"
7
+ version = "2.5"
8
8
  description = "Python client for Core API."
9
9
  readme = "README.md"
10
10
  authors = [
@@ -271,7 +271,7 @@ class CronCreateRequest(CoreApiModel):
271
271
  node_id: Optional[int]
272
272
  name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=64)
273
273
  unix_user_id: int
274
- command: constr(regex=r"^[a-zA-Z0-9-\._\$\/\ ]+$", min_length=1, max_length=65535)
274
+ command: constr(regex=r"^[ -~]+$", min_length=1, max_length=65535)
275
275
  email_address: Optional[EmailStr]
276
276
  schedule: str
277
277
  error_count: int
@@ -284,9 +284,7 @@ class CronCreateRequest(CoreApiModel):
284
284
 
285
285
 
286
286
  class CronUpdateRequest(CoreApiModel):
287
- command: Optional[
288
- constr(regex=r"^[a-zA-Z0-9-\._\$\/\ ]+$", min_length=1, max_length=65535)
289
- ] = None
287
+ command: Optional[constr(regex=r"^[ -~]+$", min_length=1, max_length=65535)] = None
290
288
  email_address: Optional[EmailStr] = None
291
289
  schedule: Optional[str] = None
292
290
  error_count: Optional[int] = None
@@ -348,16 +346,14 @@ class CustomerResource(CoreApiModel):
348
346
  class DaemonCreateRequest(CoreApiModel):
349
347
  name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=64)
350
348
  unix_user_id: int
351
- command: constr(regex=r"^[a-zA-Z0-9-\._\$\/\ ]+$", min_length=1, max_length=65535)
349
+ command: constr(regex=r"^[ -~]+$", min_length=1, max_length=65535)
352
350
  nodes_ids: List[int] = Field(..., min_items=1, unique_items=True)
353
351
  memory_limit: Optional[conint(ge=256)] = None
354
352
  cpu_limit: Optional[int] = None
355
353
 
356
354
 
357
355
  class DaemonUpdateRequest(CoreApiModel):
358
- command: Optional[
359
- constr(regex=r"^[a-zA-Z0-9-\._\$\/\ ]+$", min_length=1, max_length=65535)
360
- ] = None
356
+ command: Optional[constr(regex=r"^[ -~]+$", min_length=1, max_length=65535)] = None
361
357
  nodes_ids: Optional[List[int]] = None
362
358
  memory_limit: Optional[conint(ge=256)] = None
363
359
  cpu_limit: Optional[int] = None
@@ -802,24 +798,24 @@ class ObjectModelNameEnum(StrEnum):
802
798
  SERVICE_ACCOUNT = "ServiceAccount"
803
799
  SERVICE_ACCOUNT_SERVER = "ServiceAccountServer"
804
800
  CUSTOM_CONFIG = "CustomConfig"
805
- CLUSTERS_PHP_PROPERTIES = "clusters_php_properties"
806
- CLUSTERS_NODEJS_PROPERTIES = "clusters_nodejs_properties"
807
- CLUSTERS_BORG_PROPERTIES = "clusters_borg_properties"
808
- CLUSTERS_KERNELCARE_PROPERTIES = "clusters_kernelcare_properties"
809
- CLUSTERS_NEW_RELIC_PROPERTIES = "clusters_new_relic_properties"
810
- CLUSTERS_REDIS_PROPERTIES = "clusters_redis_properties"
811
- CLUSTERS_POSTGRESQL_PROPERTIES = "clusters_postgresql_properties"
812
- CLUSTERS_MARIADB_PROPERTIES = "clusters_mariadb_properties"
813
- CLUSTERS_MEILISEARCH_PROPERTIES = "clusters_meilisearch_properties"
814
- CLUSTERS_GRAFANA_PROPERTIES = "clusters_grafana_properties"
815
- CLUSTERS_SINGLESTORE_PROPERTIES = "clusters_singlestore_properties"
816
- CLUSTERS_ELASTICSEARCH_PROPERTIES = "clusters_elasticsearch_properties"
817
- CLUSTERS_RABBITMQ_PROPERTIES = "clusters_rabbitmq_properties"
818
- CLUSTERS_METABASE_PROPERTIES = "clusters_metabase_properties"
819
- CLUSTERS_UNIX_USERS_PROPERTIES = "clusters_unix_users_properties"
820
- CLUSTERS_LOAD_BALANCING_PROPERTIES = "clusters_load_balancing_properties"
821
- CLUSTERS_FIREWALL_PROPERTIES = "clusters_firewall_properties"
822
- CLUSTERS_OS_PROPERTIES = "clusters_os_properties"
801
+ CLUSTERS_PHP_PROPERTIES = "ClustersPhpProperties"
802
+ CLUSTERS_NODEJS_PROPERTIES = "ClustersNodejsProperties"
803
+ CLUSTERS_BORG_PROPERTIES = "ClustersBorgProperties"
804
+ CLUSTERS_KERNELCARE_PROPERTIES = "ClustersKernelcareProperties"
805
+ CLUSTERS_NEW_RELIC_PROPERTIES = "ClustersNewRelicProperties"
806
+ CLUSTERS_REDIS_PROPERTIES = "ClustersRedisProperties"
807
+ CLUSTERS_POSTGRESQL_PROPERTIES = "ClustersPostgresqlProperties"
808
+ CLUSTERS_MARIADB_PROPERTIES = "ClustersMariadbProperties"
809
+ CLUSTERS_MEILISEARCH_PROPERTIES = "ClustersMeilisearchProperties"
810
+ CLUSTERS_GRAFANA_PROPERTIES = "ClustersGrafanaProperties"
811
+ CLUSTERS_SINGLESTORE_PROPERTIES = "ClustersSinglestoreProperties"
812
+ CLUSTERS_ELASTICSEARCH_PROPERTIES = "ClustersElasticsearchProperties"
813
+ CLUSTERS_RABBITMQ_PROPERTIES = "ClustersRabbitmqProperties"
814
+ CLUSTERS_METABASE_PROPERTIES = "ClustersMetabaseProperties"
815
+ CLUSTERS_UNIX_USERS_PROPERTIES = "ClustersUnixUsersProperties"
816
+ CLUSTERS_LOAD_BALANCING_PROPERTIES = "ClustersLoadBalancingProperties"
817
+ CLUSTERS_FIREWALL_PROPERTIES = "ClustersFirewallProperties"
818
+ CLUSTERS_OS_PROPERTIES = "ClustersOsProperties"
823
819
 
824
820
 
825
821
  class PHPExtensionEnum(StrEnum):
@@ -1074,6 +1070,7 @@ class UNIXUserUpdateRequest(CoreApiModel):
1074
1070
  description: Optional[
1075
1071
  constr(regex=r"^[a-zA-Z0-9-_ ]+$", min_length=1, max_length=255)
1076
1072
  ] = None
1073
+ shell_is_namespaced: Optional[bool] = None
1077
1074
 
1078
1075
 
1079
1076
  class UNIXUserUsageFile(CoreApiModel):
@@ -1784,7 +1781,7 @@ class CronResource(CoreApiModel):
1784
1781
  node_id: int
1785
1782
  name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=64)
1786
1783
  unix_user_id: int
1787
- command: constr(regex=r"^[a-zA-Z0-9-\._\$\/\ ]+$", min_length=1, max_length=65535)
1784
+ command: constr(regex=r"^[ -~]+$", min_length=1, max_length=65535)
1788
1785
  email_address: Optional[EmailStr]
1789
1786
  schedule: str
1790
1787
  error_count: int
@@ -1809,7 +1806,7 @@ class DaemonResource(CoreApiModel):
1809
1806
  cluster_id: int
1810
1807
  name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=64)
1811
1808
  unix_user_id: int
1812
- command: constr(regex=r"^[a-zA-Z0-9-\._\$\/\ ]+$", min_length=1, max_length=65535)
1809
+ command: constr(regex=r"^[ -~]+$", min_length=1, max_length=65535)
1813
1810
  nodes_ids: List[int] = Field(..., min_items=1, unique_items=True)
1814
1811
  memory_limit: Optional[conint(ge=256)]
1815
1812
  cpu_limit: Optional[int]
@@ -2828,9 +2825,6 @@ class ClusterMetabasePropertiesResource(CoreApiModel):
2828
2825
 
2829
2826
  class ClusterMetabasePropertiesUpdateRequest(CoreApiModel):
2830
2827
  metabase_domain: Optional[str] = None
2831
- metabase_database_password: Optional[
2832
- constr(regex=r"^[ -~]+$", min_length=24, max_length=255)
2833
- ] = None
2834
2828
 
2835
2829
 
2836
2830
  class ClusterNewRelicPropertiesCreateRequest(CoreApiModel):
@@ -2878,7 +2872,6 @@ class ClusterNodejsPropertiesCreateRequest(CoreApiModel):
2878
2872
  ...,
2879
2873
  unique_items=True,
2880
2874
  )
2881
- nodejs_version: Optional[int] = None
2882
2875
 
2883
2876
 
2884
2877
  class ClusterNodejsPropertiesIncludes(CoreApiModel):
@@ -2889,7 +2882,6 @@ class ClusterNodejsPropertiesResource(CoreApiModel):
2889
2882
  id: int
2890
2883
  created_at: datetime
2891
2884
  updated_at: datetime
2892
- nodejs_version: Optional[int]
2893
2885
  nodejs_versions: List[NodejsVersion] = Field(
2894
2886
  ...,
2895
2887
  unique_items=True,
@@ -3222,7 +3214,6 @@ class SpecificationNameEnum(StrEnum):
3222
3214
  CLUSTER_SUPPORTS_METABASE_NODES = "Cluster supports Metabase nodes"
3223
3215
  UNIX_USER_SUPPORTS_VIRTUAL_HOSTS = "UNIX user supports virtual hosts"
3224
3216
  UNIX_USER_SUPPORTS_MAIL_DOMAINS = "UNIX user supports mail domains"
3225
- UNIX_USER_SUPPORTS_BORG_REPOSITORIES = "UNIX user supports Borg repositories"
3226
3217
  CLUSTER_SUPPORTS_LOAD_BALANCER_SERVICE_ACCOUNT_SERVICE_ACCOUNT_TO_CLUSTER = (
3227
3218
  "Cluster supports Load Balancer service account service account to cluster"
3228
3219
  )
@@ -3340,7 +3331,6 @@ class ClustersNewRelicPropertiesSearchRequest(CoreApiModel):
3340
3331
 
3341
3332
 
3342
3333
  class ClustersNodejsPropertiesSearchRequest(CoreApiModel):
3343
- nodejs_version: Optional[int] = None
3344
3334
  nodejs_versions: Optional[str] = None
3345
3335
  cluster_id: Optional[int] = None
3346
3336
 
@@ -3421,7 +3411,7 @@ class DaemonsSearchRequest(CoreApiModel):
3421
3411
 
3422
3412
 
3423
3413
  class DatabaseUsersSearchRequest(CoreApiModel):
3424
- phpmyadmin_firewall_groups_ids: Optional[int] = None
3414
+ phpmyadmin_firewall_group_id: Optional[int] = None
3425
3415
 
3426
3416
 
3427
3417
  class DatabasesSearchRequest(CoreApiModel):
@@ -3441,7 +3431,7 @@ class DomainRoutersSearchRequest(CoreApiModel):
3441
3431
  node_id: Optional[int] = None
3442
3432
  certificate_id: Optional[int] = None
3443
3433
  security_txt_policy_id: Optional[int] = None
3444
- firewall_groups_ids: Optional[int] = None
3434
+ firewall_group_id: Optional[int] = None
3445
3435
  force_ssl: Optional[bool] = None
3446
3436
 
3447
3437
 
@@ -3510,7 +3500,7 @@ class MailAliasesSearchRequest(CoreApiModel):
3510
3500
  cluster_id: Optional[int] = None
3511
3501
  local_part: Optional[str] = None
3512
3502
  mail_domain_id: Optional[int] = None
3513
- forward_email_addresses: Optional[EmailStr] = None
3503
+ forward_email_address: Optional[EmailStr] = None
3514
3504
 
3515
3505
 
3516
3506
  class MailDomainsSearchRequest(CoreApiModel):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python3-core-api-client
3
- Version: 2.4
3
+ Version: 2.5
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