Skip to content

Commit fe73738

Browse files
authored
Merge pull request #916 from Vernholio/DBaas-clusters-update
Added scale-up functionality for MySQL and PostgreSQL DBaaS clusters
2 parents 732eb47 + 9ba7c29 commit fe73738

File tree

1 file changed

+32
-2
lines changed

1 file changed

+32
-2
lines changed

openapi.yaml

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3859,6 +3859,19 @@ paths:
38593859
$ref: '#/components/schemas/DatabaseMySQLRequest/properties/allow_list'
38603860
updates:
38613861
$ref: '#/components/schemas/DatabaseMySQL/properties/updates'
3862+
type:
3863+
type: string
3864+
description: |
3865+
Request re-sizing of your cluster to a Linode Type with more disk space. For example, you could request a Linode Type that uses a higher plan.
3866+
3867+
* Needs to be a Linode Type with more disk space than your current Linode.
3868+
3869+
* Resizing to a larger Linode Type can accrue additional cost. Review the `price` output in the [Types List](/docs/api/linode-types/#types-list) operation for more information.
3870+
3871+
* You can't update the `allow_list` and set a new `type` in the same request.
3872+
3873+
* Any active updates to your cluster need to complete before you can request a resize. The reverse is also true: An active resizing needs to complete before you can perform any other update.
3874+
example: g6-standard-1
38623875
responses:
38633876
'200':
38643877
description: Managed Database updated successfully.
@@ -3879,7 +3892,8 @@ paths:
38793892
"203.0.113.1",
38803893
"192.0.1.0/24"
38813894
],
3882-
"updates" = {
3895+
"type": "g6-standard-1",
3896+
"updates": {
38833897
"frequency": "monthly",
38843898
"duration": 3,
38853899
"hour_of_day": 12,
@@ -3894,6 +3908,7 @@ paths:
38943908
--label example-db \
38953909
--allow_list 203.0.113.1 \
38963910
--allow_list 192.0.1.0/24 \
3911+
--type g6-standard-1 \
38973912
--updates.frequency monthly \
38983913
--updates.duration 3 \
38993914
--updates.hour_of_day 12 \
@@ -4643,6 +4658,19 @@ paths:
46434658
$ref: '#/components/schemas/DatabasePostgreSQLRequest/properties/allow_list'
46444659
updates:
46454660
$ref: '#/components/schemas/DatabasePostgreSQL/properties/updates'
4661+
type:
4662+
type: string
4663+
description: |
4664+
Request re-sizing of your cluster to a Linode Type with more disk space. For example, you could request a Linode Type that uses a higher plan.
4665+
4666+
* Needs to be a Linode Type with more disk space than your current Linode.
4667+
4668+
* Resizing to a larger Linode Type can accrue additional cost. Review the `price` output in the [Types List](/docs/api/linode-types/#types-list) operation for more information.
4669+
4670+
* You can't update the `allow_list` and set a new `type` in the same request.
4671+
4672+
* Any active updates to your cluster need to complete before you can request a resize. The reverse is also true: An active resizing needs to complete before you can perform any other update.
4673+
example: g6-standard-1
46464674
responses:
46474675
'200':
46484676
description: Managed Database updated successfully.
@@ -4663,7 +4691,8 @@ paths:
46634691
"203.0.113.1",
46644692
"192.0.1.0/24"
46654693
],
4666-
"updates" = {
4694+
"type": "g6-standard-1",
4695+
"updates": {
46674696
"frequency": "monthly",
46684697
"duration": 3,
46694698
"hour_of_day": 12,
@@ -4678,6 +4707,7 @@ paths:
46784707
--label example-db \
46794708
--allow_list 203.0.113.1 \
46804709
--allow_list 192.0.1.0/24 \
4710+
--type g6-standard-1 \
46814711
--updates.frequency monthly \
46824712
--updates.duration 3 \
46834713
--updates.hour_of_day 12 \

0 commit comments

Comments
 (0)