You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.yaml
+89-45Lines changed: 89 additions & 45 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
openapi: 3.0.1
2
2
info:
3
-
version: 4.161.0
3
+
version: 4.162.0
4
4
5
5
title: Linode API
6
6
description: |
@@ -6007,6 +6007,8 @@ paths:
6007
6007
on all Linodes for new accounts created after November 5th, 2019. For more information,
6008
6008
see our guide on [Running a Mail Server](/docs/guides/running-a-mail-server/).
6009
6009
6010
+
**Important**: You must be an unrestricted User in order to add or modify tags on Linodes.
6011
+
6010
6012
Linodes can be created in a number of ways:
6011
6013
6012
6014
* Using a Linode Public Image distribution or a Private Image you created based on another Linode.
@@ -6051,9 +6053,6 @@ paths:
6051
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)).
6052
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)).
6053
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.
6054
-
6055
-
**Important**: You must be an unrestricted User in order to add or modify
6056
-
tags on Linodes.
6057
6056
tags:
6058
6057
- Linode Instances
6059
6058
operationId: createLinodeInstance
@@ -6644,6 +6643,16 @@ paths:
6644
6643
* Backups may not be restored across Regions.
6645
6644
* Only successfully completed Backups that are not undergoing maintenance can be restored.
6646
6645
* The Linode that the Backup is being restored to must not itself be in the process of creating a Backup.
When you restore a backup, the restored disk is assigned the same [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) as the original disk. In most cases, this is acceptable and does not cause issues. However, if you attempt to mount both the original disk and the corresponding restore disk at the same time (by assigning them both to devices in your Configuration Profile's **Block Device Assignment**), you will encounter a UUID "collision".
6649
+
6650
+
When this happens, the system selects, and mounts, only one of the disks at random. This is due to both disks sharing the same UUID, and your instance *may fail to boot* since it will not be clear which disk is root. If your system does boot, you will not see any immediate indication if you are booted into the restored disk or the original disk, and you will be unable to access both disks at the same time.
6651
+
6652
+
To avoid this, we recommend only restoring a backup to the same Compute Instance if you do not intend on mounting them at the same time or are comfortable modifying UUIDs. If you need access to files on both the original disk and the restored disk simultaneously (such as needing to copy files between them), we suggest either restoring the backup to a separate Compute Instance or [creating](/docs/api/linode-instances/#linode-create) a new Compute Instance with the desired `backup_id`.
6653
+
6654
+
To learn more about block device assignments and viewing your disks' UUIDs, see our guide on [Configuration Profiles](/docs/products/compute/compute-instances/guides/configuration-profiles/#block-device-assignment).
`CAA`: The value. For `issue` or `issuewild` tags, the domain of your certificate issuer. For the `iodef`
20344
20371
tag, a contact or submission URL (domain, http, https, or mailto). Requirements depend on the tag for this record:
20345
-
* `issue`: The domain of your certificate issuer. Must be a valid domain.
20372
+
* `issue`: The domain of your certificate issuer. Must include a valid domain. May include additional parameters separated with semicolons (`;`), for example: `www.example.com; foo=bar`
20346
20373
* `issuewild`: The domain of your wildcard certificate issuer. Must be a valid domain and must not start with an asterisk (`*`).
20347
20374
* `iodef`: Must be either (1) a valid domain, (2) a valid domain prepended with `http://` or `https://`, or (3) a valid email address prepended with `mailto:`.
20348
20375
@@ -20942,6 +20969,8 @@ components:
20942
20969
The inbound and outbound access rules to apply to the Firewall.
20943
20970
20944
20971
A Firewall may have up to 25 rules across its inbound and outbound rulesets.
20972
+
20973
+
Multiple rules are applied in order. If two rules conflict, the first rule takes precedence. For example, if the first rule accepts inbound traffic from an address, and the second rule drops inbound traffic the same address, the first rule applies and inbound traffic from that address is accepted.
20945
20974
properties:
20946
20975
inbound:
20947
20976
type: array
@@ -20998,41 +21027,49 @@ components:
20998
21027
- ICMP
20999
21028
- IPENCAP
21000
21029
description: >
21001
-
The type of network traffic to allow.
21030
+
The type of network traffic affected by this rule.
21002
21031
example: TCP
21003
21032
ports:
21004
21033
type: string
21034
+
nullable: true
21005
21035
description: |
21006
-
A string representing the port or ports on which traffic will be allowed:
21036
+
A string representing the port or ports affected by this rule:
21007
21037
21008
21038
- The string may be a single port, a range of ports, or a comma-separated list of single ports and port ranges. A space is permitted following each comma.
21009
21039
- A range of ports is inclusive of the start and end values for the range. The end value of the range must be greater than the start value.
21010
21040
- Ports must be within 1 and 65535, and may not contain any leading zeroes. For example, port "080" is not allowed.
21011
-
- Ports may not be specified if a rule's protocol is `ICMP` or `IPENCAP`.
21012
-
- At least one port must be specified if a rule's protocol is `TCP` or `UDP`.
21013
21041
- The ports string can have up to 15 *pieces*, where a single port is treated as one piece, and a port range is treated as two pieces. For example, the string "22-24, 80, 443" has four pieces.
21042
+
- If no ports are configured, all ports are affected.
21043
+
- Only allowed for the TCP and UDP protocols. Ports are not allowed for the ICMP and IPENCAP protocols.
21014
21044
example: '22-24, 80, 443'
21015
21045
addresses:
21016
21046
type: object
21017
-
description: >
21018
-
Allowed IPv4 or IPv6 addresses. A Rule can have up to 255 addresses
21019
-
or networks listed across its IPv4 and IPv6 arrays. A network and a single IP
21020
-
are treated as equivalent when accounting for this limit.
21047
+
description: |
21048
+
The IPv4 and/or IPv6 addresses affected by this rule. A Rule can have up to 255 total addresses or networks listed across its IPv4 and IPv6 arrays. A network and a single IP are treated as equivalent when accounting for this limit.
21049
+
21050
+
Must contain `ipv4`, `ipv6`, or both.
21021
21051
properties:
21022
21052
ipv4:
21023
-
description: A list of IPv4 addresses or networks. Must be in IP/mask format.
21053
+
description: |
21054
+
A list of IPv4 addresses or networks. Addresses must be in IP/mask format. Must not be an empty list.
21055
+
21056
+
If "0.0.0.0/0" is included in this list, all IPv4 addresses are affected by this rule.
21024
21057
type: array
21025
21058
items:
21026
21059
type: string
21027
21060
example:
21028
21061
- 192.0.2.0/24
21062
+
- 198.51.100.2/32
21029
21063
ipv6:
21030
-
description: A list of IPv6 addresses or networks. Must be in IP/mask format.
21064
+
description: |
21065
+
A list of IPv6 addresses or networks. Addresses must be in IP/mask format. Must not be an empty list.
21066
+
21067
+
If "::/0" is included in this list, all IPv6 addresses are affected by this rule.
21031
21068
type: array
21032
21069
items:
21033
21070
type: string
21034
21071
example:
21035
-
- 2001:DB8::/32
21072
+
- 2001:DB8::/128
21036
21073
action:
21037
21074
type: string
21038
21075
enum:
@@ -22582,13 +22619,16 @@ components:
22582
22619
description: |
22583
22620
The name of this interface.
22584
22621
22585
-
Required for `vlan` purpose interfaces. Must be an empty string or `null` for `public` purpose interfaces.
22622
+
For `vlan` purpose interfaces:
22623
+
* Required.
22624
+
* Must be unique among the Linode's interfaces (a Linode cannot be attached to the same VLAN multiple times).
22625
+
* May only consist of ASCII letters, numbers, and dashes (`-`).
22586
22626
22587
-
If the VLAN label is new, a VLAN is created. Up to 10 VLANs can be created in each data center region. To view your active VLANs, use the [VLANs List](/docs/api/networking/#vlans-list) endpoint.
22588
-
22589
-
May only consist of ASCII letters, numbers, and dashes (`-`).
22627
+
For `public` purpose interfaces:
22628
+
* In requests, must be an empty string (`""`) or `null` if included.
22629
+
* In responses, always returns `null`.
22590
22630
22591
-
Must be unique among the Linode's interfaces.
22631
+
If the VLAN label is new, a VLAN is created. Up to 10 VLANs can be created in each data center region. To view your active VLANs, use the [VLANs List](/docs/api/networking/#vlans-list) endpoint.
22592
22632
example: example-interface
22593
22633
ipam_address:
22594
22634
type: string
@@ -22597,11 +22637,15 @@ components:
22597
22637
description: |
22598
22638
This Network Interface's private IP address in Classless Inter-Domain Routing (CIDR) notation.
22599
22639
22600
-
Only used for `vlan` purpose interfaces. Must be an empty string or `null` for `public` purpose interfaces.
22640
+
For `vlan` purpose interfaces:
22641
+
* Must be unique among the Linode's interfaces to avoid conflicting addresses.
22642
+
* Should be unique among devices attached to the VLAN to avoid conflict.
22601
22643
22602
-
The Linode is configured to use this address for the associated interface upon reboot if Network Helper is enabled. If Network Helper is disabled, the address can be enabled with [manual static IP configuration](/docs/guides/manual-network-configuration/).
22644
+
For `public` purpose interfaces:
22645
+
* In requests, must be an empty string (`""`) or `null` if included.
22646
+
* In responses, always returns `null`.
22603
22647
22604
-
Must be unique among the Linode's interfaces.
22648
+
The Linode is configured to use this address for the associated interface upon reboot if Network Helper is enabled. If Network Helper is disabled, the address can be enabled with [manual static IP configuration](/docs/guides/manual-network-configuration/).
22605
22649
example: '10.0.0.1/24'
22606
22650
purpose:
22607
22651
type: string
@@ -22614,7 +22658,7 @@ components:
22614
22658
* `public`
22615
22659
* Only one `public` interface per Linode can be defined.
22616
22660
* The Linode's default public IPv4 address is assigned to the `public` interface.
22617
-
* A Linode must have a public interface in the first/eth0 position to be reachable via the public internet upon boot without additional system configuration. If no `public` interface is configured, the Linode is not directly reachable via the public internet. In this case, access can only be established via LISH or other Linodes connected to the same VLAN.
22661
+
* A Linode must have a public interface in the first/eth0 position to be reachable via the public internet upon boot without additional system configuration. If no `public` interface is configured, the Linode is not directly reachable via the public internet. In this case, access can only be established via [LISH](/docs/products/compute/compute-instances/guides/lish/) or other Linodes connected to the same VLAN.
22618
22662
22619
22663
* `vlan`
22620
22664
* Configuring a `vlan` purpose interface attaches this Linode to the VLAN with the specified `label`.
@@ -22631,9 +22675,9 @@ components:
22631
22675
22632
22676
Up to three interface objects can be entered in this array. The position in the array determines the interface to which the settings apply:
22633
22677
22634
-
- First/0: eth0
22635
-
- Second/1: eth1
22636
-
- Third/2: eth2
22678
+
- First [0]: eth0
22679
+
- Second [1]: eth1
22680
+
- Third [2]: eth2
22637
22681
22638
22682
When updating a Linode's interfaces, *each interface must be redefined*. An empty interfaces array results in a default public interface configuration only.
0 commit comments