Skip to content

Commit 3b2aa40

Browse files
authored
Merge pull request #855 from linode/release-4.163.0
Release 4.163.0
2 parents 5b4358b + 4c795d2 commit 3b2aa40

File tree

1 file changed

+27
-12
lines changed

1 file changed

+27
-12
lines changed

openapi.yaml

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.1
22
info:
3-
version: 4.162.0
3+
version: 4.163.0
44

55
title: Linode API
66
description: |
@@ -6022,6 +6022,11 @@ paths:
60226022
* You may also supply a list of usernames via the `authorized_users` field.
60236023
* These users must have an SSH Key associated with your Profile first. See SSH Key Add ([POST /profile/sshkeys](/docs/api/profile/#ssh-key-add)) for more information.
60246024

6025+
* Using cloud-init with [Metadata](/docs/products/compute/compute-instances/guides/metadata/).
6026+
* Automate system configuration and software installation by providing a base-64 encoded [cloud-config](/docs/products/compute/compute-instances/guides/metadata-cloud-config/) file.
6027+
* Requires a compatible Image. You can determine compatible Images by checking for `cloud-init` under `capabilities` when using Images List ([GET /images](/docs/api/images/#images-list)).
6028+
* Requires a compatible Region. You can determine compatible Regions by checking for `Metadata` under `capabilities` when using Regions List ([GET /regions](/docs/api/regions/#regions-list)).
6029+
60256030
* Using a StackScript.
60266031
* See StackScripts List ([GET /linode/stackscripts](/docs/api/stackscripts/#stackscripts-list)) for
60276032
a list of available StackScripts.
@@ -6047,12 +6052,6 @@ paths:
60476052
* See Linode Boot ([POST /linode/instances/{linodeId}/boot](/docs/api/linode-instances/#linode-boot)).
60486053
* Disks and Configs must be created manually.
60496054
* This is only recommended for advanced use cases.
6050-
6051-
* **BETA** Using cloud-init with [Metadata](/docs/products/compute/compute-instances/guides/metadata/).
6052-
* Automate system configuration and software installation by providing a base-64 encoded [cloud-config](/docs/products/compute/compute-instances/guides/metadata-cloud-config/) file.
6053-
* Requires a compatible Image. You can determine compatible Images by checking for `cloud-init` under `capabilities` when using Images List ([GET /images](/docs/api/images/#images-list)).
6054-
* Requires a compatible Region. You can determine compatible Regions by checking for `Metadata` under `capabilities` when using Regions List ([GET /regions](/docs/api/regions/#regions-list)).
6055-
* This feature is in beta and is currently limited to certain Regions and distributions. Please be aware that this feature may receive breaking updates in the future. This notice will be removed when this feature is out of beta.
60566055
tags:
60576056
- Linode Instances
60586057
operationId: createLinodeInstance
@@ -6201,7 +6200,7 @@ paths:
62016200
--authorized_keys "ssh-rsa AAAA_valid_public_ssh_key_123456785== user@their-computer" \
62026201
--authorized_users "myUser" \
62036202
--authorized_users "secondaryUser" \
6204-
--metadata.user_data "I2Nsb3VkLWNvbmZpZw==)"
6203+
--metadata.user_data "I2Nsb3VkLWNvbmZpZw=="
62056204
/linode/instances/{linodeId}:
62066205
parameters:
62076206
- name: linodeId
@@ -6797,6 +6796,8 @@ paths:
67976796
returned by this endpoint.
67986797

67996798
Any [tags](/docs/api/tags/#tags-list) existing on the source Linode will be cloned to the target Linode.
6799+
6800+
Linodes utilizing Metadata (`"has_user_data": true`) must be cloned to a new Linode with `metadata.user_data` included with the clone request.
68006801
tags:
68016802
- Linode Instances
68026803
operationId: cloneLinodeInstance
@@ -6924,6 +6925,8 @@ paths:
69246925

69256926
* Can only be provided when cloning to a new Linode.
69266927
example: true
6928+
metadata:
6929+
$ref: '#/components/schemas/LinodeRequest/properties/metadata'
69276930
responses:
69286931
'200':
69296932
description: Clone started.
@@ -6947,7 +6950,10 @@ paths:
69476950
"backups_enabled": true,
69486951
"disks": [25674],
69496952
"configs": [23456],
6950-
"private_ip": true
6953+
"private_ip": true,
6954+
"metadata": {
6955+
"user_data": "I2Nsb3VkLWNvbmZpZw=="
6956+
}
69516957
}' \
69526958
https://api.linode.com/v4/linode/instances/123/clone
69536959
- lang: CLI
@@ -6960,7 +6966,8 @@ paths:
69606966
--backups_enabled true \
69616967
--disks 25674 \
69626968
--configs 23456 \
6963-
--private_ip true
6969+
--private_ip true \
6970+
--metadata.user_data I2Nsb3VkLWNvbmZpZw==
69646971
/linode/instances/{linodeId}/configs:
69656972
parameters:
69666973
- name: linodeId
@@ -8481,6 +8488,7 @@ paths:
84818488
* Requires a `root_pass` be supplied to use for the root User's Account.
84828489
* It is recommended to supply SSH keys for the root User using the
84838490
`authorized_keys` field.
8491+
* Linodes utilizing Metadata (`"has_user_data": true`) should include `metadata.user_data` in the rebuild request to continue using the service.
84848492

84858493
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:
84868494

@@ -8544,7 +8552,10 @@ paths:
85448552
"stackscript_data": {
85458553
"gh_username": "linode"
85468554
}
8547-
"type": "g6-standard-2"
8555+
"type": "g6-standard-2",
8556+
"metadata": {
8557+
"user_data": "I2Nsb3VkLWNvbmZpZw=="
8558+
}
85488559
}' \
85498560
https://api.linode.com/v4/linode/instances/123/rebuild
85508561
- lang: CLI
@@ -8558,7 +8569,8 @@ paths:
85588569
--booted true \
85598570
--stackscript_id 10079 \
85608571
--stackscript_data '{"gh_username": "linode"}' \
8561-
--type "g6-standard-2"
8572+
--type "g6-standard-2" \
8573+
--metadata.userdata "I2Nsb3VkLWNvbmZpZw=="
85628574
/linode/instances/{linodeId}/rescue:
85638575
parameters:
85648576
- name: linodeId
@@ -12423,6 +12435,7 @@ paths:
1242312435
* All Linodes involved must have at least one public IPv4 address after assignment.
1242412436
* Linodes may have no more than one assigned private IPv4 address.
1242512437
* Linodes may have no more than one assigned IPv6 range.
12438+
* Shared IP addresses cannot be swapped between Linodes.
1242612439

1242712440
[Open a Support Ticket](/docs/api/support/#support-ticket-open) to request additional IPv4 addresses or IPv6 ranges beyond standard account limits.
1242812441

@@ -22729,6 +22742,8 @@ components:
2272922742
description: |
2273022743
Base64-encoded [cloud-config](/docs/products/compute/compute-instances/guides/metadata-cloud-config/) data.
2273122744

22745+
Cannot be modified after provisioning. To update, use either the [Linode Clone](/docs/api/linode-instances/#linode-clone) or [Linode Rebuild](/docs/api/linode-instances/#linode-rebuild) commands.
22746+
2273222747
Must not be included when cloning to an existing Linode.
2273322748

2273422749
Unencoded data must not exceed 65535 bytes, or about 16kb encoded.

0 commit comments

Comments
 (0)