diff --git a/DO_OPENAPI_COMMIT_SHA.txt b/DO_OPENAPI_COMMIT_SHA.txt index 7e399b9..e5fcaf4 100644 --- a/DO_OPENAPI_COMMIT_SHA.txt +++ b/DO_OPENAPI_COMMIT_SHA.txt @@ -1 +1 @@ -9485b4a +c5cceef diff --git a/src/pydo/aio/operations/_operations.py b/src/pydo/aio/operations/_operations.py index 36883ae..778aa42 100644 --- a/src/pydo/aio/operations/_operations.py +++ b/src/pydo/aio/operations/_operations.py @@ -109403,6 +109403,54 @@ async def list_options(self, **kwargs: Any) -> JSON: # response body for status code(s): 200 response == { "options": { + "advanced_mysql": { + "layouts": [ + { + "num_nodes": 0, # Optional. An array of + objects, each indicating the node sizes (otherwise referred to as + slugs) that are available with various numbers of nodes in the + database cluster. Each slugs denotes the node's identifier, CPU, + and RAM (in that order). + "sizes": [ + "str" # Optional. An array of + objects containing the slugs available with various node + counts. + ] + } + ], + "regions": [ + "str" # Optional. An array of strings containing the + names of available regions. + ], + "versions": [ + "str" # Optional. An array of strings containing the + names of available regions. + ] + }, + "advanced_pg": { + "layouts": [ + { + "num_nodes": 0, # Optional. An array of + objects, each indicating the node sizes (otherwise referred to as + slugs) that are available with various numbers of nodes in the + database cluster. Each slugs denotes the node's identifier, CPU, + and RAM (in that order). + "sizes": [ + "str" # Optional. An array of + objects containing the slugs available with various node + counts. + ] + } + ], + "regions": [ + "str" # Optional. An array of strings containing the + names of available regions. + ], + "versions": [ + "str" # Optional. An array of strings containing the + names of available regions. + ] + }, "kafka": { "layouts": [ { @@ -109573,6 +109621,32 @@ async def list_options(self, **kwargs: Any) -> JSON: } }, "version_availability": { + "advanced_mysql": [ + { + "end_of_availability": "str", # Optional. A + timestamp referring to the date when the particular version will no + longer be available for creating new clusters. If null, the version + does not have an end of availability timeline. + "end_of_life": "str", # Optional. A timestamp + referring to the date when the particular version will no longer be + supported. If null, the version does not have an end of life + timeline. + "version": "str" # Optional. The engine version. + } + ], + "advanced_pg": [ + { + "end_of_availability": "str", # Optional. A + timestamp referring to the date when the particular version will no + longer be available for creating new clusters. If null, the version + does not have an end of availability timeline. + "end_of_life": "str", # Optional. A timestamp + referring to the date when the particular version will no longer be + supported. If null, the version does not have an end of life + timeline. + "version": "str" # Optional. The engine version. + } + ], "kafka": [ { "end_of_availability": "str", # Optional. A @@ -109795,9 +109869,11 @@ async def list_clusters( "engine": "str", # A slug representing the database engine used for the cluster. The possible values are: "pg" for PostgreSQL, "mysql" for MySQL, "redis" for Caching, "mongodb" for MongoDB, "kafka" - for Kafka, "opensearch" for OpenSearch, and "valkey" for Valkey. - Required. Known values are: "pg", "mysql", "redis", "valkey", "mongodb", - "kafka", and "opensearch". + for Kafka, "opensearch" for OpenSearch, "valkey" for Valkey, + "advanced_pg" for PostgreSQL Advanced Edition, and "advanced_mysql" for + MySQL Advanced Edition. Advanced Edition engines are currently in public + preview. Required. Known values are: "pg", "mysql", "redis", "valkey", + "mongodb", "kafka", "opensearch", "advanced_pg", and "advanced_mysql". "name": "str", # A unique, human-readable name referring to a database cluster. Required. "num_nodes": 0, # The number of nodes in the database @@ -110229,6 +110305,17 @@ async def create_cluster( include a key named ``backup_restore`` with the name of the original database cluster and the timestamp of the backup to be restored. Creating a database from a backup is the same as forking a database in the control panel. + + PostgreSQL and MySQL Advanced Edition clusters can be provisioned by setting ``engine`` to + ``advanced_pg`` or ``advanced_mysql``. Advanced Edition clusters are currently in public + preview and target highly available workloads. ``advanced_pg`` supports 1-, 2-, and 3-node + deployments; ``advanced_mysql`` only supports 1- and 3-node deployments. See the `PostgreSQL + Advanced Edition + `_ + and `MySQL Advanced Edition + `_ + documentation for the feature differences vs. Standard Edition and current preview limitations. + Note: Caching cluster creates are no longer supported as of 2025-04-30T00:00:00Z. Backups are also not supported for Caching or Valkey clusters. @@ -110249,8 +110336,10 @@ async def create_cluster( "engine": "str", # A slug representing the database engine used for the cluster. The possible values are: "pg" for PostgreSQL, "mysql" for MySQL, "redis" for Caching, "mongodb" for MongoDB, "kafka" for Kafka, "opensearch" for - OpenSearch, and "valkey" for Valkey. Required. Known values are: "pg", "mysql", - "redis", "valkey", "mongodb", "kafka", and "opensearch". + OpenSearch, "valkey" for Valkey, "advanced_pg" for PostgreSQL Advanced Edition, + and "advanced_mysql" for MySQL Advanced Edition. Advanced Edition engines are + currently in public preview. Required. Known values are: "pg", "mysql", "redis", + "valkey", "mongodb", "kafka", "opensearch", "advanced_pg", and "advanced_mysql". "name": "str", # A unique, human-readable name referring to a database cluster. Required. "num_nodes": 0, # The number of nodes in the database cluster. Required. @@ -110555,8 +110644,11 @@ async def create_cluster( "engine": "str", # A slug representing the database engine used for the cluster. The possible values are: "pg" for PostgreSQL, "mysql" for MySQL, "redis" for Caching, "mongodb" for MongoDB, "kafka" for Kafka, "opensearch" - for OpenSearch, and "valkey" for Valkey. Required. Known values are: "pg", - "mysql", "redis", "valkey", "mongodb", "kafka", and "opensearch". + for OpenSearch, "valkey" for Valkey, "advanced_pg" for PostgreSQL Advanced + Edition, and "advanced_mysql" for MySQL Advanced Edition. Advanced Edition + engines are currently in public preview. Required. Known values are: "pg", + "mysql", "redis", "valkey", "mongodb", "kafka", "opensearch", "advanced_pg", + and "advanced_mysql". "name": "str", # A unique, human-readable name referring to a database cluster. Required. "num_nodes": 0, # The number of nodes in the database cluster. @@ -110893,6 +110985,17 @@ async def create_cluster( include a key named ``backup_restore`` with the name of the original database cluster and the timestamp of the backup to be restored. Creating a database from a backup is the same as forking a database in the control panel. + + PostgreSQL and MySQL Advanced Edition clusters can be provisioned by setting ``engine`` to + ``advanced_pg`` or ``advanced_mysql``. Advanced Edition clusters are currently in public + preview and target highly available workloads. ``advanced_pg`` supports 1-, 2-, and 3-node + deployments; ``advanced_mysql`` only supports 1- and 3-node deployments. See the `PostgreSQL + Advanced Edition + `_ + and `MySQL Advanced Edition + `_ + documentation for the feature differences vs. Standard Edition and current preview limitations. + Note: Caching cluster creates are no longer supported as of 2025-04-30T00:00:00Z. Backups are also not supported for Caching or Valkey clusters. @@ -110914,8 +111017,11 @@ async def create_cluster( "engine": "str", # A slug representing the database engine used for the cluster. The possible values are: "pg" for PostgreSQL, "mysql" for MySQL, "redis" for Caching, "mongodb" for MongoDB, "kafka" for Kafka, "opensearch" - for OpenSearch, and "valkey" for Valkey. Required. Known values are: "pg", - "mysql", "redis", "valkey", "mongodb", "kafka", and "opensearch". + for OpenSearch, "valkey" for Valkey, "advanced_pg" for PostgreSQL Advanced + Edition, and "advanced_mysql" for MySQL Advanced Edition. Advanced Edition + engines are currently in public preview. Required. Known values are: "pg", + "mysql", "redis", "valkey", "mongodb", "kafka", "opensearch", "advanced_pg", + and "advanced_mysql". "name": "str", # A unique, human-readable name referring to a database cluster. Required. "num_nodes": 0, # The number of nodes in the database cluster. @@ -111250,6 +111356,17 @@ async def create_cluster(self, body: Union[JSON, IO[bytes]], **kwargs: Any) -> J include a key named ``backup_restore`` with the name of the original database cluster and the timestamp of the backup to be restored. Creating a database from a backup is the same as forking a database in the control panel. + + PostgreSQL and MySQL Advanced Edition clusters can be provisioned by setting ``engine`` to + ``advanced_pg`` or ``advanced_mysql``. Advanced Edition clusters are currently in public + preview and target highly available workloads. ``advanced_pg`` supports 1-, 2-, and 3-node + deployments; ``advanced_mysql`` only supports 1- and 3-node deployments. See the `PostgreSQL + Advanced Edition + `_ + and `MySQL Advanced Edition + `_ + documentation for the feature differences vs. Standard Edition and current preview limitations. + Note: Caching cluster creates are no longer supported as of 2025-04-30T00:00:00Z. Backups are also not supported for Caching or Valkey clusters. @@ -111267,8 +111384,10 @@ async def create_cluster(self, body: Union[JSON, IO[bytes]], **kwargs: Any) -> J "engine": "str", # A slug representing the database engine used for the cluster. The possible values are: "pg" for PostgreSQL, "mysql" for MySQL, "redis" for Caching, "mongodb" for MongoDB, "kafka" for Kafka, "opensearch" for - OpenSearch, and "valkey" for Valkey. Required. Known values are: "pg", "mysql", - "redis", "valkey", "mongodb", "kafka", and "opensearch". + OpenSearch, "valkey" for Valkey, "advanced_pg" for PostgreSQL Advanced Edition, + and "advanced_mysql" for MySQL Advanced Edition. Advanced Edition engines are + currently in public preview. Required. Known values are: "pg", "mysql", "redis", + "valkey", "mongodb", "kafka", "opensearch", "advanced_pg", and "advanced_mysql". "name": "str", # A unique, human-readable name referring to a database cluster. Required. "num_nodes": 0, # The number of nodes in the database cluster. Required. @@ -111573,8 +111692,11 @@ async def create_cluster(self, body: Union[JSON, IO[bytes]], **kwargs: Any) -> J "engine": "str", # A slug representing the database engine used for the cluster. The possible values are: "pg" for PostgreSQL, "mysql" for MySQL, "redis" for Caching, "mongodb" for MongoDB, "kafka" for Kafka, "opensearch" - for OpenSearch, and "valkey" for Valkey. Required. Known values are: "pg", - "mysql", "redis", "valkey", "mongodb", "kafka", and "opensearch". + for OpenSearch, "valkey" for Valkey, "advanced_pg" for PostgreSQL Advanced + Edition, and "advanced_mysql" for MySQL Advanced Edition. Advanced Edition + engines are currently in public preview. Required. Known values are: "pg", + "mysql", "redis", "valkey", "mongodb", "kafka", "opensearch", "advanced_pg", + and "advanced_mysql". "name": "str", # A unique, human-readable name referring to a database cluster. Required. "num_nodes": 0, # The number of nodes in the database cluster. @@ -112006,8 +112128,11 @@ async def get_cluster(self, database_cluster_uuid: str, **kwargs: Any) -> JSON: "engine": "str", # A slug representing the database engine used for the cluster. The possible values are: "pg" for PostgreSQL, "mysql" for MySQL, "redis" for Caching, "mongodb" for MongoDB, "kafka" for Kafka, "opensearch" - for OpenSearch, and "valkey" for Valkey. Required. Known values are: "pg", - "mysql", "redis", "valkey", "mongodb", "kafka", and "opensearch". + for OpenSearch, "valkey" for Valkey, "advanced_pg" for PostgreSQL Advanced + Edition, and "advanced_mysql" for MySQL Advanced Edition. Advanced Edition + engines are currently in public preview. Required. Known values are: "pg", + "mysql", "redis", "valkey", "mongodb", "kafka", "opensearch", "advanced_pg", + and "advanced_mysql". "name": "str", # A unique, human-readable name referring to a database cluster. Required. "num_nodes": 0, # The number of nodes in the database cluster. diff --git a/src/pydo/operations/_operations.py b/src/pydo/operations/_operations.py index 0cf7f79..0228f39 100644 --- a/src/pydo/operations/_operations.py +++ b/src/pydo/operations/_operations.py @@ -124289,6 +124289,54 @@ def list_options(self, **kwargs: Any) -> JSON: # response body for status code(s): 200 response == { "options": { + "advanced_mysql": { + "layouts": [ + { + "num_nodes": 0, # Optional. An array of + objects, each indicating the node sizes (otherwise referred to as + slugs) that are available with various numbers of nodes in the + database cluster. Each slugs denotes the node's identifier, CPU, + and RAM (in that order). + "sizes": [ + "str" # Optional. An array of + objects containing the slugs available with various node + counts. + ] + } + ], + "regions": [ + "str" # Optional. An array of strings containing the + names of available regions. + ], + "versions": [ + "str" # Optional. An array of strings containing the + names of available regions. + ] + }, + "advanced_pg": { + "layouts": [ + { + "num_nodes": 0, # Optional. An array of + objects, each indicating the node sizes (otherwise referred to as + slugs) that are available with various numbers of nodes in the + database cluster. Each slugs denotes the node's identifier, CPU, + and RAM (in that order). + "sizes": [ + "str" # Optional. An array of + objects containing the slugs available with various node + counts. + ] + } + ], + "regions": [ + "str" # Optional. An array of strings containing the + names of available regions. + ], + "versions": [ + "str" # Optional. An array of strings containing the + names of available regions. + ] + }, "kafka": { "layouts": [ { @@ -124459,6 +124507,32 @@ def list_options(self, **kwargs: Any) -> JSON: } }, "version_availability": { + "advanced_mysql": [ + { + "end_of_availability": "str", # Optional. A + timestamp referring to the date when the particular version will no + longer be available for creating new clusters. If null, the version + does not have an end of availability timeline. + "end_of_life": "str", # Optional. A timestamp + referring to the date when the particular version will no longer be + supported. If null, the version does not have an end of life + timeline. + "version": "str" # Optional. The engine version. + } + ], + "advanced_pg": [ + { + "end_of_availability": "str", # Optional. A + timestamp referring to the date when the particular version will no + longer be available for creating new clusters. If null, the version + does not have an end of availability timeline. + "end_of_life": "str", # Optional. A timestamp + referring to the date when the particular version will no longer be + supported. If null, the version does not have an end of life + timeline. + "version": "str" # Optional. The engine version. + } + ], "kafka": [ { "end_of_availability": "str", # Optional. A @@ -124679,9 +124753,11 @@ def list_clusters(self, *, tag_name: Optional[str] = None, **kwargs: Any) -> JSO "engine": "str", # A slug representing the database engine used for the cluster. The possible values are: "pg" for PostgreSQL, "mysql" for MySQL, "redis" for Caching, "mongodb" for MongoDB, "kafka" - for Kafka, "opensearch" for OpenSearch, and "valkey" for Valkey. - Required. Known values are: "pg", "mysql", "redis", "valkey", "mongodb", - "kafka", and "opensearch". + for Kafka, "opensearch" for OpenSearch, "valkey" for Valkey, + "advanced_pg" for PostgreSQL Advanced Edition, and "advanced_mysql" for + MySQL Advanced Edition. Advanced Edition engines are currently in public + preview. Required. Known values are: "pg", "mysql", "redis", "valkey", + "mongodb", "kafka", "opensearch", "advanced_pg", and "advanced_mysql". "name": "str", # A unique, human-readable name referring to a database cluster. Required. "num_nodes": 0, # The number of nodes in the database @@ -125113,6 +125189,17 @@ def create_cluster( include a key named ``backup_restore`` with the name of the original database cluster and the timestamp of the backup to be restored. Creating a database from a backup is the same as forking a database in the control panel. + + PostgreSQL and MySQL Advanced Edition clusters can be provisioned by setting ``engine`` to + ``advanced_pg`` or ``advanced_mysql``. Advanced Edition clusters are currently in public + preview and target highly available workloads. ``advanced_pg`` supports 1-, 2-, and 3-node + deployments; ``advanced_mysql`` only supports 1- and 3-node deployments. See the `PostgreSQL + Advanced Edition + `_ + and `MySQL Advanced Edition + `_ + documentation for the feature differences vs. Standard Edition and current preview limitations. + Note: Caching cluster creates are no longer supported as of 2025-04-30T00:00:00Z. Backups are also not supported for Caching or Valkey clusters. @@ -125133,8 +125220,10 @@ def create_cluster( "engine": "str", # A slug representing the database engine used for the cluster. The possible values are: "pg" for PostgreSQL, "mysql" for MySQL, "redis" for Caching, "mongodb" for MongoDB, "kafka" for Kafka, "opensearch" for - OpenSearch, and "valkey" for Valkey. Required. Known values are: "pg", "mysql", - "redis", "valkey", "mongodb", "kafka", and "opensearch". + OpenSearch, "valkey" for Valkey, "advanced_pg" for PostgreSQL Advanced Edition, + and "advanced_mysql" for MySQL Advanced Edition. Advanced Edition engines are + currently in public preview. Required. Known values are: "pg", "mysql", "redis", + "valkey", "mongodb", "kafka", "opensearch", "advanced_pg", and "advanced_mysql". "name": "str", # A unique, human-readable name referring to a database cluster. Required. "num_nodes": 0, # The number of nodes in the database cluster. Required. @@ -125439,8 +125528,11 @@ def create_cluster( "engine": "str", # A slug representing the database engine used for the cluster. The possible values are: "pg" for PostgreSQL, "mysql" for MySQL, "redis" for Caching, "mongodb" for MongoDB, "kafka" for Kafka, "opensearch" - for OpenSearch, and "valkey" for Valkey. Required. Known values are: "pg", - "mysql", "redis", "valkey", "mongodb", "kafka", and "opensearch". + for OpenSearch, "valkey" for Valkey, "advanced_pg" for PostgreSQL Advanced + Edition, and "advanced_mysql" for MySQL Advanced Edition. Advanced Edition + engines are currently in public preview. Required. Known values are: "pg", + "mysql", "redis", "valkey", "mongodb", "kafka", "opensearch", "advanced_pg", + and "advanced_mysql". "name": "str", # A unique, human-readable name referring to a database cluster. Required. "num_nodes": 0, # The number of nodes in the database cluster. @@ -125777,6 +125869,17 @@ def create_cluster( include a key named ``backup_restore`` with the name of the original database cluster and the timestamp of the backup to be restored. Creating a database from a backup is the same as forking a database in the control panel. + + PostgreSQL and MySQL Advanced Edition clusters can be provisioned by setting ``engine`` to + ``advanced_pg`` or ``advanced_mysql``. Advanced Edition clusters are currently in public + preview and target highly available workloads. ``advanced_pg`` supports 1-, 2-, and 3-node + deployments; ``advanced_mysql`` only supports 1- and 3-node deployments. See the `PostgreSQL + Advanced Edition + `_ + and `MySQL Advanced Edition + `_ + documentation for the feature differences vs. Standard Edition and current preview limitations. + Note: Caching cluster creates are no longer supported as of 2025-04-30T00:00:00Z. Backups are also not supported for Caching or Valkey clusters. @@ -125798,8 +125901,11 @@ def create_cluster( "engine": "str", # A slug representing the database engine used for the cluster. The possible values are: "pg" for PostgreSQL, "mysql" for MySQL, "redis" for Caching, "mongodb" for MongoDB, "kafka" for Kafka, "opensearch" - for OpenSearch, and "valkey" for Valkey. Required. Known values are: "pg", - "mysql", "redis", "valkey", "mongodb", "kafka", and "opensearch". + for OpenSearch, "valkey" for Valkey, "advanced_pg" for PostgreSQL Advanced + Edition, and "advanced_mysql" for MySQL Advanced Edition. Advanced Edition + engines are currently in public preview. Required. Known values are: "pg", + "mysql", "redis", "valkey", "mongodb", "kafka", "opensearch", "advanced_pg", + and "advanced_mysql". "name": "str", # A unique, human-readable name referring to a database cluster. Required. "num_nodes": 0, # The number of nodes in the database cluster. @@ -126134,6 +126240,17 @@ def create_cluster(self, body: Union[JSON, IO[bytes]], **kwargs: Any) -> JSON: include a key named ``backup_restore`` with the name of the original database cluster and the timestamp of the backup to be restored. Creating a database from a backup is the same as forking a database in the control panel. + + PostgreSQL and MySQL Advanced Edition clusters can be provisioned by setting ``engine`` to + ``advanced_pg`` or ``advanced_mysql``. Advanced Edition clusters are currently in public + preview and target highly available workloads. ``advanced_pg`` supports 1-, 2-, and 3-node + deployments; ``advanced_mysql`` only supports 1- and 3-node deployments. See the `PostgreSQL + Advanced Edition + `_ + and `MySQL Advanced Edition + `_ + documentation for the feature differences vs. Standard Edition and current preview limitations. + Note: Caching cluster creates are no longer supported as of 2025-04-30T00:00:00Z. Backups are also not supported for Caching or Valkey clusters. @@ -126151,8 +126268,10 @@ def create_cluster(self, body: Union[JSON, IO[bytes]], **kwargs: Any) -> JSON: "engine": "str", # A slug representing the database engine used for the cluster. The possible values are: "pg" for PostgreSQL, "mysql" for MySQL, "redis" for Caching, "mongodb" for MongoDB, "kafka" for Kafka, "opensearch" for - OpenSearch, and "valkey" for Valkey. Required. Known values are: "pg", "mysql", - "redis", "valkey", "mongodb", "kafka", and "opensearch". + OpenSearch, "valkey" for Valkey, "advanced_pg" for PostgreSQL Advanced Edition, + and "advanced_mysql" for MySQL Advanced Edition. Advanced Edition engines are + currently in public preview. Required. Known values are: "pg", "mysql", "redis", + "valkey", "mongodb", "kafka", "opensearch", "advanced_pg", and "advanced_mysql". "name": "str", # A unique, human-readable name referring to a database cluster. Required. "num_nodes": 0, # The number of nodes in the database cluster. Required. @@ -126457,8 +126576,11 @@ def create_cluster(self, body: Union[JSON, IO[bytes]], **kwargs: Any) -> JSON: "engine": "str", # A slug representing the database engine used for the cluster. The possible values are: "pg" for PostgreSQL, "mysql" for MySQL, "redis" for Caching, "mongodb" for MongoDB, "kafka" for Kafka, "opensearch" - for OpenSearch, and "valkey" for Valkey. Required. Known values are: "pg", - "mysql", "redis", "valkey", "mongodb", "kafka", and "opensearch". + for OpenSearch, "valkey" for Valkey, "advanced_pg" for PostgreSQL Advanced + Edition, and "advanced_mysql" for MySQL Advanced Edition. Advanced Edition + engines are currently in public preview. Required. Known values are: "pg", + "mysql", "redis", "valkey", "mongodb", "kafka", "opensearch", "advanced_pg", + and "advanced_mysql". "name": "str", # A unique, human-readable name referring to a database cluster. Required. "num_nodes": 0, # The number of nodes in the database cluster. @@ -126890,8 +127012,11 @@ def get_cluster(self, database_cluster_uuid: str, **kwargs: Any) -> JSON: "engine": "str", # A slug representing the database engine used for the cluster. The possible values are: "pg" for PostgreSQL, "mysql" for MySQL, "redis" for Caching, "mongodb" for MongoDB, "kafka" for Kafka, "opensearch" - for OpenSearch, and "valkey" for Valkey. Required. Known values are: "pg", - "mysql", "redis", "valkey", "mongodb", "kafka", and "opensearch". + for OpenSearch, "valkey" for Valkey, "advanced_pg" for PostgreSQL Advanced + Edition, and "advanced_mysql" for MySQL Advanced Edition. Advanced Edition + engines are currently in public preview. Required. Known values are: "pg", + "mysql", "redis", "valkey", "mongodb", "kafka", "opensearch", "advanced_pg", + and "advanced_mysql". "name": "str", # A unique, human-readable name referring to a database cluster. Required. "num_nodes": 0, # The number of nodes in the database cluster.