Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bot] Add support for scalable storage: Re-Generated From digitalocean/openapi@604eca4 #240

Merged
merged 1 commit into from
Oct 16, 2023
Merged
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 @@
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
Loading