Skip to content

Release 4.157.0 #816

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

Merged
merged 4 commits into from
Jun 27, 2023
Merged
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
24 changes: 21 additions & 3 deletions openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.1
info:
version: 4.156.0
version: 4.157.0

title: Linode API
description: |
Expand Down Expand Up @@ -8443,7 +8443,7 @@ paths:
post:
x-linode-grant: read_write
summary: Linode Rebuild
description: >
description: |
Rebuilds a Linode you have the `read_write` permission to modify.

A rebuild will first shut down the Linode, delete all disks and configs
Expand All @@ -8454,6 +8454,13 @@ paths:
* Requires a `root_pass` be supplied to use for the root User's Account.
* It is recommended to supply SSH keys for the root User using the
`authorized_keys` field.

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:

* The Linode must not have a pending migration.
* Your Account cannot have an outstanding balance.
* The Linode must not have more disk allocation than the new Type allows.
* In that situation, you must first delete or resize the disk to be smaller.
tags:
- Linode Instances
operationId: rebuildLinodeInstance
Expand All @@ -8474,6 +8481,13 @@ paths:
- root_pass
allOf:
- $ref: '#/components/schemas/LinodeRequest'
- type: object
properties:
type:
type: string
description: >
The ID of the [Linode Type](/docs/api/linode-types/#types-list) to resize to with this request.
example: g6-standard-2
responses:
'200':
description: Rebuild started.
Expand Down Expand Up @@ -8503,6 +8517,7 @@ paths:
"stackscript_data": {
"gh_username": "linode"
}
"type": "g6-standard-2"
}' \
https://api.linode.com/v4/linode/instances/123/rebuild
- lang: CLI
Expand All @@ -8515,7 +8530,8 @@ paths:
--authorized_users "secondaryUsername" \
--booted true \
--stackscript_id 10079 \
--stackscript_data '{"gh_username": "linode"}'
--stackscript_data '{"gh_username": "linode"}' \
--type "g6-standard-2"
/linode/instances/{linodeId}/rescue:
parameters:
- name: linodeId
Expand Down Expand Up @@ -8608,6 +8624,8 @@ paths:
* Your Account cannot have an outstanding balance.
* The Linode must not have more disk allocation than the new Type allows.
* In that situation, you must first delete or resize the disk to be smaller.

You can also resize a Linode when using the [Linode Rebuild](/docs/api/linode-instances/#linode-rebuild) command.
tags:
- Linode Instances
operationId: resizeLinodeInstance
Expand Down