Skip to content

Commit 8d45abd

Browse files
committed
Added Metadata service
1 parent 7883ee6 commit 8d45abd

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

openapi.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6826,6 +6826,10 @@ paths:
68266826
* Disks and Configs must be created manually.
68276827
* This is only recommended for advanced use cases.
68286828

6829+
* **BETA** Using cloud-init with [Metadata](/docs/products/compute/compute-instances/guides/metadata/).
6830+
* Automate system configuration and software installation by providing a base-64 encoded [cloud-config](/docs/products/compute/compute-instances/guides/metadata-cloud-config/) file.
6831+
* 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.
6832+
68296833
**Important**: You must be an unrestricted User in order to add or modify
68306834
tags on Linodes.
68316835
tags:
@@ -22207,6 +22211,17 @@ components:
2220722211

2220822212
The "+order_by" and "+order" operators are not available for [filtering](/docs/api/#filtering-and-sorting) on this key.
2220922213
example: available
22214+
capabilities:
22215+
type: array
22216+
readOnly: true
22217+
items:
22218+
type: object
22219+
description: A list of capabilities of this Image.
22220+
properties:
22221+
cloud-init:
22222+
type: boolean
22223+
example: false
22224+
description: Whether this Image supports cloud-init with [Metadata](/docs/products/compute/compute-instances/guides/metadata/). Only applies to public Images.
2221022225
Invoice:
2221122226
type: object
2221222227
description: Account Invoice object
@@ -23388,6 +23403,22 @@ components:
2338823403
If it is deployed from an Image or a Backup and you wish it to remain `offline`
2338923404
after deployment, set this to `false`.
2339023405
default: true
23406+
metadata:
23407+
type: object
23408+
writeOnly: true
23409+
description: |
23410+
An object containing user-defined data relevant to the creation of Linodes.
23411+
properties:
23412+
user_data:
23413+
type: string
23414+
format: byte
23415+
description: |
23416+
Base64-encoded [cloud-config](/docs/products/compute/compute-instances/guides/metadata-cloud-config/) data.
23417+
23418+
Must not be included when cloing to an existing Linode.
23419+
23420+
Unencoded data must not exceed 65535 bytes, or about 16kb encoded.
23421+
example: I2Nsb3VkLWNvbmZpZwpwYWNrYWdlX3VwZGF0ZTogdHJ1ZQpwYWNrYWdlX3VwZ3JhZGU6IHRydWU=
2339123422
LinodeStats:
2339223423
type: object
2339323424
description: >

0 commit comments

Comments
 (0)