Skip to content

Commit

Permalink
[bot] Updated client based on openapi-604eca4/clientgen (#240)
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 Oct 16, 2023
1 parent e34812c commit 7b31055
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DO_OPENAPI_COMMIT_SHA.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ff8c689
604eca4
32 changes: 30 additions & 2 deletions src/pydo/aio/operations/_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -71042,6 +71042,10 @@ async def list_clusters(
"status": "str", # Optional. A string representing the
current status of the database cluster. Known values are: "creating",
"online", "resizing", "migrating", and "forking".
"storage_size_mib": 0, # Optional. Additional storage added
to the cluster, in MiB. If null, no additional storage is added to the
cluster, beyond what is provided as a base amount from the 'size' and any
previously added additional storage.
"tags": [
"str" # Optional. An array of tags that have been
applied to the database cluster.
Expand Down Expand Up @@ -71322,6 +71326,10 @@ async def create_cluster(
"status": "str", # Optional. A string representing the current status of the
database cluster. Known values are: "creating", "online", "resizing",
"migrating", and "forking".
"storage_size_mib": 0, # Optional. Additional storage added to the cluster,
in MiB. If null, no additional storage is added to the cluster, beyond what is
provided as a base amount from the 'size' and any previously added additional
storage.
"tags": [
"str" # Optional. An array of tags that have been applied to the
database cluster.
Expand Down Expand Up @@ -71476,6 +71484,10 @@ async def create_cluster(
"status": "str", # Optional. A string representing the current
status of the database cluster. Known values are: "creating", "online",
"resizing", "migrating", and "forking".
"storage_size_mib": 0, # Optional. Additional storage added to the
cluster, in MiB. If null, no additional storage is added to the cluster,
beyond what is provided as a base amount from the 'size' and any previously
added additional storage.
"tags": [
"str" # Optional. An array of tags that have been applied to
the database cluster.
Expand Down Expand Up @@ -71680,6 +71692,10 @@ async def create_cluster(
"status": "str", # Optional. A string representing the current
status of the database cluster. Known values are: "creating", "online",
"resizing", "migrating", and "forking".
"storage_size_mib": 0, # Optional. Additional storage added to the
cluster, in MiB. If null, no additional storage is added to the cluster,
beyond what is provided as a base amount from the 'size' and any previously
added additional storage.
"tags": [
"str" # Optional. An array of tags that have been applied to
the database cluster.
Expand Down Expand Up @@ -71882,6 +71898,10 @@ async def create_cluster(self, body: Union[JSON, IO], **kwargs: Any) -> JSON:
"status": "str", # Optional. A string representing the current
status of the database cluster. Known values are: "creating", "online",
"resizing", "migrating", and "forking".
"storage_size_mib": 0, # Optional. Additional storage added to the
cluster, in MiB. If null, no additional storage is added to the cluster,
beyond what is provided as a base amount from the 'size' and any previously
added additional storage.
"tags": [
"str" # Optional. An array of tags that have been applied to
the database cluster.
Expand Down Expand Up @@ -72158,6 +72178,10 @@ async def get_cluster(self, database_cluster_uuid: str, **kwargs: Any) -> JSON:
"status": "str", # Optional. A string representing the current
status of the database cluster. Known values are: "creating", "online",
"resizing", "migrating", and "forking".
"storage_size_mib": 0, # Optional. Additional storage added to the
cluster, in MiB. If null, no additional storage is added to the cluster,
beyond what is provided as a base amount from the 'size' and any previously
added additional storage.
"tags": [
"str" # Optional. An array of tags that have been applied to
the database cluster.
Expand Down Expand Up @@ -73535,8 +73559,12 @@ async def update_cluster_size(
"num_nodes": 0, # The number of nodes in the database cluster. Valid values
are are 1-3. In addition to the primary node, up to two standby nodes may be
added for highly available configurations. Required.
"size": "str" # A slug identifier representing desired the size of the nodes
in the database cluster. Required.
"size": "str", # A slug identifier representing desired the size of the
nodes in the database cluster. Required.
"storage_size_mib": 0 # Optional. Additional storage added to the cluster,
in MiB. If null, no additional storage is added to the cluster, beyond what is
provided as a base amount from the 'size' and any previously added additional
storage.
}

# response body for status code(s): 404
Expand Down
32 changes: 30 additions & 2 deletions src/pydo/operations/_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -77823,6 +77823,10 @@ def list_clusters(self, *, tag_name: Optional[str] = None, **kwargs: Any) -> JSO
"status": "str", # Optional. A string representing the
current status of the database cluster. Known values are: "creating",
"online", "resizing", "migrating", and "forking".
"storage_size_mib": 0, # Optional. Additional storage added
to the cluster, in MiB. If null, no additional storage is added to the
cluster, beyond what is provided as a base amount from the 'size' and any
previously added additional storage.
"tags": [
"str" # Optional. An array of tags that have been
applied to the database cluster.
Expand Down Expand Up @@ -78103,6 +78107,10 @@ def create_cluster(
"status": "str", # Optional. A string representing the current status of the
database cluster. Known values are: "creating", "online", "resizing",
"migrating", and "forking".
"storage_size_mib": 0, # Optional. Additional storage added to the cluster,
in MiB. If null, no additional storage is added to the cluster, beyond what is
provided as a base amount from the 'size' and any previously added additional
storage.
"tags": [
"str" # Optional. An array of tags that have been applied to the
database cluster.
Expand Down Expand Up @@ -78257,6 +78265,10 @@ def create_cluster(
"status": "str", # Optional. A string representing the current
status of the database cluster. Known values are: "creating", "online",
"resizing", "migrating", and "forking".
"storage_size_mib": 0, # Optional. Additional storage added to the
cluster, in MiB. If null, no additional storage is added to the cluster,
beyond what is provided as a base amount from the 'size' and any previously
added additional storage.
"tags": [
"str" # Optional. An array of tags that have been applied to
the database cluster.
Expand Down Expand Up @@ -78461,6 +78473,10 @@ def create_cluster(
"status": "str", # Optional. A string representing the current
status of the database cluster. Known values are: "creating", "online",
"resizing", "migrating", and "forking".
"storage_size_mib": 0, # Optional. Additional storage added to the
cluster, in MiB. If null, no additional storage is added to the cluster,
beyond what is provided as a base amount from the 'size' and any previously
added additional storage.
"tags": [
"str" # Optional. An array of tags that have been applied to
the database cluster.
Expand Down Expand Up @@ -78663,6 +78679,10 @@ def create_cluster(self, body: Union[JSON, IO], **kwargs: Any) -> JSON:
"status": "str", # Optional. A string representing the current
status of the database cluster. Known values are: "creating", "online",
"resizing", "migrating", and "forking".
"storage_size_mib": 0, # Optional. Additional storage added to the
cluster, in MiB. If null, no additional storage is added to the cluster,
beyond what is provided as a base amount from the 'size' and any previously
added additional storage.
"tags": [
"str" # Optional. An array of tags that have been applied to
the database cluster.
Expand Down Expand Up @@ -78939,6 +78959,10 @@ def get_cluster(self, database_cluster_uuid: str, **kwargs: Any) -> JSON:
"status": "str", # Optional. A string representing the current
status of the database cluster. Known values are: "creating", "online",
"resizing", "migrating", and "forking".
"storage_size_mib": 0, # Optional. Additional storage added to the
cluster, in MiB. If null, no additional storage is added to the cluster,
beyond what is provided as a base amount from the 'size' and any previously
added additional storage.
"tags": [
"str" # Optional. An array of tags that have been applied to
the database cluster.
Expand Down Expand Up @@ -80314,8 +80338,12 @@ def update_cluster_size(
"num_nodes": 0, # The number of nodes in the database cluster. Valid values
are are 1-3. In addition to the primary node, up to two standby nodes may be
added for highly available configurations. Required.
"size": "str" # A slug identifier representing desired the size of the nodes
in the database cluster. Required.
"size": "str", # A slug identifier representing desired the size of the
nodes in the database cluster. Required.
"storage_size_mib": 0 # Optional. Additional storage added to the cluster,
in MiB. If null, no additional storage is added to the cluster, beyond what is
provided as a base amount from the 'size' and any previously added additional
storage.
}

# response body for status code(s): 404
Expand Down

0 comments on commit 7b31055

Please sign in to comment.