Skip to content

Commit 3c24ae3

Browse files
authored
Merge pull request #816 from linode/release-4.157.0
Release 4.157.0
2 parents 516412f + 6c1c372 commit 3c24ae3

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

openapi.yaml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.1
22
info:
3-
version: 4.156.0
3+
version: 4.157.0
44

55
title: Linode API
66
description: |
@@ -8443,7 +8443,7 @@ paths:
84438443
post:
84448444
x-linode-grant: read_write
84458445
summary: Linode Rebuild
8446-
description: >
8446+
description: |
84478447
Rebuilds a Linode you have the `read_write` permission to modify.
84488448

84498449
A rebuild will first shut down the Linode, delete all disks and configs
@@ -8454,6 +8454,13 @@ paths:
84548454
* Requires a `root_pass` be supplied to use for the root User's Account.
84558455
* It is recommended to supply SSH keys for the root User using the
84568456
`authorized_keys` field.
8457+
8458+
You also have the option to resize the Linode to a different plan by including the `type` parameter with your request. Note that resizing involves migrating the Linode to a new hardware host, while rebuilding without resizing maintains the same hardware host. Resizing also requires significantly more time for completion of this command. The following additional conditions apply:
8459+
8460+
* The Linode must not have a pending migration.
8461+
* Your Account cannot have an outstanding balance.
8462+
* The Linode must not have more disk allocation than the new Type allows.
8463+
* In that situation, you must first delete or resize the disk to be smaller.
84578464
tags:
84588465
- Linode Instances
84598466
operationId: rebuildLinodeInstance
@@ -8474,6 +8481,13 @@ paths:
84748481
- root_pass
84758482
allOf:
84768483
- $ref: '#/components/schemas/LinodeRequest'
8484+
- type: object
8485+
properties:
8486+
type:
8487+
type: string
8488+
description: >
8489+
The ID of the [Linode Type](/docs/api/linode-types/#types-list) to resize to with this request.
8490+
example: g6-standard-2
84778491
responses:
84788492
'200':
84798493
description: Rebuild started.
@@ -8503,6 +8517,7 @@ paths:
85038517
"stackscript_data": {
85048518
"gh_username": "linode"
85058519
}
8520+
"type": "g6-standard-2"
85068521
}' \
85078522
https://api.linode.com/v4/linode/instances/123/rebuild
85088523
- lang: CLI
@@ -8515,7 +8530,8 @@ paths:
85158530
--authorized_users "secondaryUsername" \
85168531
--booted true \
85178532
--stackscript_id 10079 \
8518-
--stackscript_data '{"gh_username": "linode"}'
8533+
--stackscript_data '{"gh_username": "linode"}' \
8534+
--type "g6-standard-2"
85198535
/linode/instances/{linodeId}/rescue:
85208536
parameters:
85218537
- name: linodeId
@@ -8608,6 +8624,8 @@ paths:
86088624
* Your Account cannot have an outstanding balance.
86098625
* The Linode must not have more disk allocation than the new Type allows.
86108626
* In that situation, you must first delete or resize the disk to be smaller.
8627+
8628+
You can also resize a Linode when using the [Linode Rebuild](/docs/api/linode-instances/#linode-rebuild) command.
86118629
tags:
86128630
- Linode Instances
86138631
operationId: resizeLinodeInstance

0 commit comments

Comments
 (0)