Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DO_OPENAPI_COMMIT_SHA.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9485b4a
c5cceef
155 changes: 140 additions & 15 deletions src/pydo/aio/operations/_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
<https://docs.digitalocean.com/products/databases/postgresql/how-to/use-advanced-edition-clusters/>`_
and `MySQL Advanced Edition
<https://docs.digitalocean.com/products/databases/mysql/how-to/use-advanced-edition-clusters/>`_
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.

Expand All @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
<https://docs.digitalocean.com/products/databases/postgresql/how-to/use-advanced-edition-clusters/>`_
and `MySQL Advanced Edition
<https://docs.digitalocean.com/products/databases/mysql/how-to/use-advanced-edition-clusters/>`_
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.

Expand All @@ -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.
Expand Down Expand Up @@ -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
<https://docs.digitalocean.com/products/databases/postgresql/how-to/use-advanced-edition-clusters/>`_
and `MySQL Advanced Edition
<https://docs.digitalocean.com/products/databases/mysql/how-to/use-advanced-edition-clusters/>`_
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.

Expand All @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
Loading
Loading