python3-core-api-client 1.1.0__tar.gz → 1.2__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.
Files changed (64) hide show
  1. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/PKG-INFO +1 -1
  2. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/pyproject.toml +1 -1
  3. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/models.py +22 -22
  4. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/python3_core_api_client.egg-info/PKG-INFO +1 -1
  5. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/README.md +0 -0
  6. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/setup.cfg +0 -0
  7. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/__init__.py +0 -0
  8. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/_encoders.py +0 -0
  9. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/connector.py +0 -0
  10. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/exceptions.py +0 -0
  11. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/http.py +0 -0
  12. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/interfaces.py +0 -0
  13. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/__init__.py +0 -0
  14. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/basic_authentication_realms.py +0 -0
  15. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/borg_archives.py +0 -0
  16. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/borg_repositories.py +0 -0
  17. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/certificate_managers.py +0 -0
  18. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/certificates.py +0 -0
  19. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/clusters.py +0 -0
  20. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/cmses.py +0 -0
  21. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/crons.py +0 -0
  22. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/custom_config_snippets.py +0 -0
  23. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/custom_configs.py +0 -0
  24. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/customers.py +0 -0
  25. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/daemons.py +0 -0
  26. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/database_user_grants.py +0 -0
  27. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/database_users.py +0 -0
  28. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/databases.py +0 -0
  29. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/domain_routers.py +0 -0
  30. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/firewall_groups.py +0 -0
  31. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/firewall_rules.py +0 -0
  32. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/fpm_pools.py +0 -0
  33. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/ftp_users.py +0 -0
  34. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/haproxy_listens.py +0 -0
  35. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/haproxy_listens_to_nodes.py +0 -0
  36. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/health.py +0 -0
  37. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/hosts_entries.py +0 -0
  38. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/htpasswd_files.py +0 -0
  39. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/htpasswd_users.py +0 -0
  40. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/login.py +0 -0
  41. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/logs.py +0 -0
  42. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/mail_accounts.py +0 -0
  43. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/mail_aliases.py +0 -0
  44. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/mail_domains.py +0 -0
  45. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/mail_hostnames.py +0 -0
  46. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/malwares.py +0 -0
  47. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/mariadb_encryption_keys.py +0 -0
  48. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/node_add_ons.py +0 -0
  49. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/nodes.py +0 -0
  50. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/passenger_apps.py +0 -0
  51. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/redis_instances.py +0 -0
  52. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/root_ssh_keys.py +0 -0
  53. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/security_txt_policies.py +0 -0
  54. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/sites.py +0 -0
  55. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/ssh_keys.py +0 -0
  56. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/task_collections.py +0 -0
  57. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/tombstones.py +0 -0
  58. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/unix_users.py +0 -0
  59. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/url_redirects.py +0 -0
  60. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/cyberfusion/CoreApiClient/resources/virtual_hosts.py +0 -0
  61. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/python3_core_api_client.egg-info/SOURCES.txt +0 -0
  62. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/python3_core_api_client.egg-info/dependency_links.txt +0 -0
  63. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/src/python3_core_api_client.egg-info/requires.txt +0 -0
  64. {python3_core_api_client-1.1.0 → python3_core_api_client-1.2}/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: 1.1.0
3
+ Version: 1.2
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 = "1.1.0"
7
+ version = "1.2"
8
8
  description = "Python client for Core API."
9
9
  readme = "README.md"
10
10
  authors = [
@@ -1581,6 +1581,7 @@ class ObjectModelNameEnum(StrEnum):
1581
1581
  SITE_TO_CUSTOMER = "SiteToCustomer"
1582
1582
  SERVICE_ACCOUNT = "ServiceAccount"
1583
1583
  SERVICE_ACCOUNT_SERVER = "ServiceAccountServer"
1584
+ CUSTOM_CONFIG = "CustomConfig"
1584
1585
 
1585
1586
 
1586
1587
  class PHPExtensionEnum(StrEnum):
@@ -4030,10 +4031,6 @@ class NodeUpdateDeprecatedRequest(CoreApiModel):
4030
4031
  description="When health-checking the primary group (key), check health of additional groups (value). Node must have specified primary group and additional groups. The following primary groups are supported: Apache, nginx, Fast Redirect. The following additional groups are supported: MariaDB, PostgreSQL.\n\nCommon use case: when web server uses local database server, when checking web server health, check database server health.",
4031
4032
  title="Load Balancer Health Checks Groups Pairs",
4032
4033
  )
4033
- groups_properties: NodeGroupsProperties = Field(
4034
- ...,
4035
- description="Group-specific properties. Must be set to null for groups that the node does not have. Must be set to the correct value if the node has groups Redis, MariaDB, RabbitMQ.",
4036
- )
4037
4034
 
4038
4035
 
4039
4036
  class NodeUpdateRequest(CoreApiModel):
@@ -4052,10 +4049,6 @@ class NodeUpdateRequest(CoreApiModel):
4052
4049
  description="When health-checking the primary group (key), check health of additional groups (value). Node must have specified primary group and additional groups. The following primary groups are supported: Apache, nginx, Fast Redirect. The following additional groups are supported: MariaDB, PostgreSQL.\n\nCommon use case: when web server uses local database server, when checking web server health, check database server health.",
4053
4050
  title="Load Balancer Health Checks Groups Pairs",
4054
4051
  )
4055
- groups_properties: Optional[NodeGroupsProperties] = Field(
4056
- None,
4057
- description="Group-specific properties. Must be set to null for groups that the node does not have. Must be set to the correct value if the node has groups Redis, MariaDB, RabbitMQ.",
4058
- )
4059
4052
 
4060
4053
 
4061
4054
  class PassengerAppCreateNodeJSRequest(CoreApiModel):
@@ -4967,10 +4960,6 @@ class NodeCreateRequest(CoreApiModel):
4967
4960
  description="When health-checking the primary group (key), check health of additional groups (value). Node must have specified primary group and additional groups. The following primary groups are supported: Apache, nginx, Fast Redirect. The following additional groups are supported: MariaDB, PostgreSQL.\n\nCommon use case: when web server uses local database server, when checking web server health, check database server health.",
4968
4961
  title="Load Balancer Health Checks Groups Pairs",
4969
4962
  )
4970
- groups_properties: NodeGroupsProperties = Field(
4971
- ...,
4972
- description="Group-specific properties. Must be set to null for groups that the node does not have. Must be set to the correct value if the node has groups Redis, MariaDB, RabbitMQ.",
4973
- )
4974
4963
 
4975
4964
 
4976
4965
  class NodeCronDependency(CoreApiModel):
@@ -5437,8 +5426,12 @@ class TombstoneDataMailHostnameIncludes(BaseModel):
5437
5426
  pass
5438
5427
 
5439
5428
 
5429
+ class TombstoneDataCustomConfigIncludes(BaseModel):
5430
+ pass
5431
+
5432
+
5440
5433
  class TombstoneDataDatabaseUser(BaseModel):
5441
- data_type: Literal["database_user"] = Field(..., const=True, title="Data Type")
5434
+ data_type: Literal["database_user"] = Field(..., title="Data Type")
5442
5435
  name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=63) = Field(
5443
5436
  ..., title="Name"
5444
5437
  )
@@ -5467,9 +5460,7 @@ class TombstoneDataDatabaseUserGrantIncludes(BaseModel):
5467
5460
 
5468
5461
 
5469
5462
  class TombstoneDataDatabaseUserGrant(BaseModel):
5470
- data_type: Literal["database_user_grant"] = Field(
5471
- ..., const=True, title="Data Type"
5472
- )
5463
+ data_type: Literal["database_user_grant"] = Field(..., title="Data Type")
5473
5464
  table_name: Optional[
5474
5465
  constr(regex=r"^[a-zA-Z0-9-_]+$", min_length=1, max_length=64)
5475
5466
  ] = Field(..., title="Table Name")
@@ -5480,13 +5471,13 @@ class TombstoneDataDatabaseUserGrant(BaseModel):
5480
5471
 
5481
5472
 
5482
5473
  class TombstoneDataDomainRouter(BaseModel):
5483
- data_type: Literal["domain_router"] = Field(..., const=True, title="Data Type")
5474
+ data_type: Literal["domain_router"] = Field(..., title="Data Type")
5484
5475
  domain: str = Field(..., title="Domain")
5485
5476
  includes: TombstoneDataDomainRouterIncludes
5486
5477
 
5487
5478
 
5488
5479
  class TombstoneDataRootSSHKey(BaseModel):
5489
- data_type: Literal["root_ssh_key"] = Field(..., const=True, title="Data Type")
5480
+ data_type: Literal["root_ssh_key"] = Field(..., title="Data Type")
5490
5481
  name: constr(regex=r"^[a-zA-Z0-9-_]+$", min_length=1, max_length=64) = Field(
5491
5482
  ..., title="Name"
5492
5483
  )
@@ -5495,7 +5486,7 @@ class TombstoneDataRootSSHKey(BaseModel):
5495
5486
 
5496
5487
 
5497
5488
  class TombstoneDataSSHKey(BaseModel):
5498
- data_type: Literal["ssh_key"] = Field(..., const=True, title="Data Type")
5489
+ data_type: Literal["ssh_key"] = Field(..., title="Data Type")
5499
5490
  name: constr(regex=r"^[a-zA-Z0-9-_]+$", min_length=1, max_length=64) = Field(
5500
5491
  ..., title="Name"
5501
5492
  )
@@ -5504,7 +5495,7 @@ class TombstoneDataSSHKey(BaseModel):
5504
5495
 
5505
5496
 
5506
5497
  class TombstoneDataMailHostname(BaseModel):
5507
- data_type: Literal["mail_hostname"] = Field(..., const=True, title="Data Type")
5498
+ data_type: Literal["mail_hostname"] = Field(..., title="Data Type")
5508
5499
  domain: str = Field(..., title="Domain")
5509
5500
  includes: TombstoneDataMailHostnameIncludes
5510
5501
 
@@ -5573,7 +5564,7 @@ class TombstoneDataHtpasswdFileIncludes(BaseModel):
5573
5564
 
5574
5565
 
5575
5566
  class TombstoneDataHtpasswdFile(BaseModel):
5576
- data_type: Literal["htpasswd_file"] = Field(..., const=True, title="Data Type")
5567
+ data_type: Literal["htpasswd_file"] = Field(..., title="Data Type")
5577
5568
  unix_user_id: int = Field(..., title="Unix User Id")
5578
5569
  includes: TombstoneDataHtpasswdFileIncludes
5579
5570
 
@@ -5585,7 +5576,7 @@ class TombstoneDataMailDomainIncludes(BaseModel):
5585
5576
 
5586
5577
 
5587
5578
  class TombstoneDataMailDomain(BaseModel):
5588
- data_type: Literal["mail_domain"] = Field(..., const=True, title="Data Type")
5579
+ data_type: Literal["mail_domain"] = Field(..., title="Data Type")
5589
5580
  domain: str = Field(..., title="Domain")
5590
5581
  unix_user_id: int = Field(..., title="Unix User Id")
5591
5582
  delete_on_cluster: Optional[bool] = Field(False, title="Delete On Cluster")
@@ -5635,6 +5626,14 @@ class TombstoneDataVirtualHost(CoreApiModel):
5635
5626
  includes: TombstoneDataVirtualHostIncludes
5636
5627
 
5637
5628
 
5629
+ class TombstoneDataCustomConfig(CoreApiModel):
5630
+ data_type: Literal["custom_config"] = Field(..., title="Data Type")
5631
+ name: constr(regex=r"^[a-z0-9-_]+$", min_length=1, max_length=128) = Field(
5632
+ ..., title="Name"
5633
+ )
5634
+ includes: TombstoneDataCustomConfigIncludes
5635
+
5636
+
5638
5637
  class TombstoneIncludes(CoreApiModel):
5639
5638
  cluster: ClusterResource
5640
5639
 
@@ -5663,6 +5662,7 @@ class TombstoneResource(CoreApiModel):
5663
5662
  TombstoneDataSSHKey,
5664
5663
  TombstoneDataMailDomain,
5665
5664
  TombstoneDataMailHostname,
5665
+ TombstoneDataCustomConfig,
5666
5666
  ] = Field(..., discriminator="data_type", title="Data")
5667
5667
  object_id: int = Field(..., title="Object Id")
5668
5668
  object_model_name: ObjectModelNameEnum
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python3-core-api-client
3
- Version: 1.1.0
3
+ Version: 1.2
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