Skip to content

Commit

Permalink
[bot] Updated client based on openapi-0b09b67/clientgen (#279)
Browse files Browse the repository at this point in the history
Co-authored-by: API Engineering <[email protected]>
  • Loading branch information
digitalocean-engineering and API Engineering authored Apr 10, 2024
1 parent c00c87c commit bff9278
Show file tree
Hide file tree
Showing 3 changed files with 281 additions and 27 deletions.
2 changes: 1 addition & 1 deletion DO_OPENAPI_COMMIT_SHA.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d26bc4e
0b09b67
153 changes: 140 additions & 13 deletions src/pydo/aio/operations/_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -75241,6 +75241,30 @@ async def list_options(self, **kwargs: Any) -> JSON:
names of available regions.
]
},
"opensearch": {
"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.
]
},
"pg": {
"layouts": [
{
Expand Down Expand Up @@ -75330,6 +75354,19 @@ async def list_options(self, **kwargs: Any) -> JSON:
"version": "str" # Optional. The engine version.
}
],
"opensearch": [
{
"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.
}
],
"pg": [
{
"end_of_availability": "str", # Optional. A
Expand Down Expand Up @@ -75503,9 +75540,9 @@ 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 Redis, "mongodb" for MongoDB, and "kafka"
for Kafka. Required. Known values are: "pg", "mysql", "redis", "mongodb",
and "kafka".
"mysql" for MySQL, "redis" for Redis, "mongodb" for MongoDB, "kafka" for
Kafka and "opensearch" for Opensearch. Required. Known values are: "pg",
"mysql", "redis", "mongodb", "kafka", and "opensearch".
"id": "str", # Optional. A unique ID that can be used to
identify and reference a database cluster.
"maintenance_window": {
Expand Down Expand Up @@ -75630,6 +75667,21 @@ async def list_clusters(
"str" # Optional. An array of tags that have been
applied to the database cluster.
],
"ui_connection": {
"host": "str", # Optional. The FQDN pointing to the
opensearch cluster's current primary node.
"password": "str", # Optional. The randomly
generated password for the default user.
"port": 0, # Optional. The port on which the
opensearch dashboard is listening.
"ssl": bool, # Optional. A boolean value indicating
if the connection should be made over SSL.
"uri": "str", # Optional. This is provided as a
convenience and should be able to be constructed by the other
attributes.
"user": "str" # Optional. The default user for the
opensearch dashboard.
},
"users": [
{
"access_cert": "str", # Optional. Access
Expand Down Expand Up @@ -75848,8 +75900,9 @@ 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 Redis, "mongodb" for MongoDB, and "kafka" for Kafka. Required. Known values
are: "pg", "mysql", "redis", "mongodb", and "kafka".
for Redis, "mongodb" for MongoDB, "kafka" for Kafka and "opensearch" for
Opensearch. Required. Known values are: "pg", "mysql", "redis", "mongodb",
"kafka", and "opensearch".
"id": "str", # Optional. A unique ID that can be used to identify and
reference a database cluster.
"maintenance_window": {
Expand Down Expand Up @@ -75961,6 +76014,20 @@ async def create_cluster(
"str" # Optional. An array of tags that have been applied to the
database cluster.
],
"ui_connection": {
"host": "str", # Optional. The FQDN pointing to the opensearch
cluster's current primary node.
"password": "str", # Optional. The randomly generated password for
the default user.
"port": 0, # Optional. The port on which the opensearch dashboard is
listening.
"ssl": bool, # Optional. A boolean value indicating if the
connection should be made over SSL.
"uri": "str", # Optional. This is provided as a convenience and
should be able to be constructed by the other attributes.
"user": "str" # Optional. The default user for the opensearch
dashboard.
},
"users": [
{
"access_cert": "str", # Optional. Access certificate for TLS
Expand Down Expand Up @@ -76046,8 +76113,9 @@ 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 Redis, "mongodb" for MongoDB, and "kafka" for Kafka. Required.
Known values are: "pg", "mysql", "redis", "mongodb", and "kafka".
"redis" for Redis, "mongodb" for MongoDB, "kafka" for Kafka and "opensearch"
for Opensearch. Required. Known values are: "pg", "mysql", "redis",
"mongodb", "kafka", and "opensearch".
"id": "str", # Optional. A unique ID that can be used to identify
and reference a database cluster.
"maintenance_window": {
Expand Down Expand Up @@ -76164,6 +76232,20 @@ async def create_cluster(
"str" # Optional. An array of tags that have been applied to
the database cluster.
],
"ui_connection": {
"host": "str", # Optional. The FQDN pointing to the
opensearch cluster's current primary node.
"password": "str", # Optional. The randomly generated
password for the default user.
"port": 0, # Optional. The port on which the opensearch
dashboard is listening.
"ssl": bool, # Optional. A boolean value indicating if the
connection should be made over SSL.
"uri": "str", # Optional. This is provided as a convenience
and should be able to be constructed by the other attributes.
"user": "str" # Optional. The default user for the
opensearch dashboard.
},
"users": [
{
"access_cert": "str", # Optional. Access certificate
Expand Down Expand Up @@ -76303,8 +76385,9 @@ 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 Redis, "mongodb" for MongoDB, and "kafka" for Kafka. Required.
Known values are: "pg", "mysql", "redis", "mongodb", and "kafka".
"redis" for Redis, "mongodb" for MongoDB, "kafka" for Kafka and "opensearch"
for Opensearch. Required. Known values are: "pg", "mysql", "redis",
"mongodb", "kafka", and "opensearch".
"id": "str", # Optional. A unique ID that can be used to identify
and reference a database cluster.
"maintenance_window": {
Expand Down Expand Up @@ -76421,6 +76504,20 @@ async def create_cluster(
"str" # Optional. An array of tags that have been applied to
the database cluster.
],
"ui_connection": {
"host": "str", # Optional. The FQDN pointing to the
opensearch cluster's current primary node.
"password": "str", # Optional. The randomly generated
password for the default user.
"port": 0, # Optional. The port on which the opensearch
dashboard is listening.
"ssl": bool, # Optional. A boolean value indicating if the
connection should be made over SSL.
"uri": "str", # Optional. This is provided as a convenience
and should be able to be constructed by the other attributes.
"user": "str" # Optional. The default user for the
opensearch dashboard.
},
"users": [
{
"access_cert": "str", # Optional. Access certificate
Expand Down Expand Up @@ -76558,8 +76655,9 @@ async def create_cluster(self, body: Union[JSON, IO], **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 Redis, "mongodb" for MongoDB, and "kafka" for Kafka. Required.
Known values are: "pg", "mysql", "redis", "mongodb", and "kafka".
"redis" for Redis, "mongodb" for MongoDB, "kafka" for Kafka and "opensearch"
for Opensearch. Required. Known values are: "pg", "mysql", "redis",
"mongodb", "kafka", and "opensearch".
"id": "str", # Optional. A unique ID that can be used to identify
and reference a database cluster.
"maintenance_window": {
Expand Down Expand Up @@ -76676,6 +76774,20 @@ async def create_cluster(self, body: Union[JSON, IO], **kwargs: Any) -> JSON:
"str" # Optional. An array of tags that have been applied to
the database cluster.
],
"ui_connection": {
"host": "str", # Optional. The FQDN pointing to the
opensearch cluster's current primary node.
"password": "str", # Optional. The randomly generated
password for the default user.
"port": 0, # Optional. The port on which the opensearch
dashboard is listening.
"ssl": bool, # Optional. A boolean value indicating if the
connection should be made over SSL.
"uri": "str", # Optional. This is provided as a convenience
and should be able to be constructed by the other attributes.
"user": "str" # Optional. The default user for the
opensearch dashboard.
},
"users": [
{
"access_cert": "str", # Optional. Access certificate
Expand Down Expand Up @@ -76888,8 +77000,9 @@ 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 Redis, "mongodb" for MongoDB, and "kafka" for Kafka. Required.
Known values are: "pg", "mysql", "redis", "mongodb", and "kafka".
"redis" for Redis, "mongodb" for MongoDB, "kafka" for Kafka and "opensearch"
for Opensearch. Required. Known values are: "pg", "mysql", "redis",
"mongodb", "kafka", and "opensearch".
"id": "str", # Optional. A unique ID that can be used to identify
and reference a database cluster.
"maintenance_window": {
Expand Down Expand Up @@ -77006,6 +77119,20 @@ async def get_cluster(self, database_cluster_uuid: str, **kwargs: Any) -> JSON:
"str" # Optional. An array of tags that have been applied to
the database cluster.
],
"ui_connection": {
"host": "str", # Optional. The FQDN pointing to the
opensearch cluster's current primary node.
"password": "str", # Optional. The randomly generated
password for the default user.
"port": 0, # Optional. The port on which the opensearch
dashboard is listening.
"ssl": bool, # Optional. A boolean value indicating if the
connection should be made over SSL.
"uri": "str", # Optional. This is provided as a convenience
and should be able to be constructed by the other attributes.
"user": "str" # Optional. The default user for the
opensearch dashboard.
},
"users": [
{
"access_cert": "str", # Optional. Access certificate
Expand Down
Loading

0 comments on commit bff9278

Please sign in to comment.