Skip to content

Commit 441357c

Browse files
committed
Added scale-up functionality for MySQL and PostgreSQL DBaaS clusters
1 parent 16a02f9 commit 441357c

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

openapi.yaml

Lines changed: 30 additions & 0 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 higher plan by specifying a larger [Linode Type](/docs/api/linode-types/#types-list).
3866+
3867+
* Needs to be a higher plan than your current Linode Type.
3868+
3869+
* You can't resize from a shared CPU Linode Type to a dedicated CPU, and vice-versa.
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,6 +3892,7 @@ paths:
38793892
"203.0.113.1",
38803893
"192.0.1.0/24"
38813894
],
3895+
"type": "g6-standard-1",
38823896
"updates" = {
38833897
"frequency": "monthly",
38843898
"duration": 3,
@@ -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 higher plan by specifying a larger [Linode Type](/docs/api/linode-types/#types-list).
4665+
4666+
* Needs to be a higher plan than your current Linode Type.
4667+
4668+
* You can't resize from a shared CPU Linode Type to a dedicated CPU, and vice-versa.
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,6 +4691,7 @@ paths:
46634691
"203.0.113.1",
46644692
"192.0.1.0/24"
46654693
],
4694+
"type": "g6-standard-1",
46664695
"updates" = {
46674696
"frequency": "monthly",
46684697
"duration": 3,
@@ -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)