settings
Creates, updates, deletes, gets or lists a settings resource.
Overview
| Name | settings |
| Type | Resource |
| Id | linode.managed.settings |
Fields
The following fields are returned by SELECT queries:
- get
The requested Linode's Managed settings.
| Name | Datatype | Description |
|---|---|---|
id | integer | Read-only The ID of the Linode these Settings are for. |
group | string | Read-only The group of the Linode these Settings are for. This is for display purposes only. (example: linodes) |
label | string | Read-only The label of the Linode these Settings are for. (example: linode123) |
ssh | object | The SSH settings for this Linode. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | linodeId | Returns the managed settings for a single Linode. This operation can only be accessed by the unrestricted users of an account. Learn more... Learn more... | |
update | replace | linodeId | Updates the managed settings for a Linode. This operation can only be accessed by the unrestricted users of an account. Learn more... Learn more... |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
linodeId | string | The Linode ID whose settings we are accessing. |
SELECT examples
- get
Returns the managed settings for a single Linode.
This operation can only be accessed by the unrestricted users of an account.
Learn more...
Learn more...
SELECT
id,
group,
label,
ssh
FROM linode.managed.settings
WHERE linodeId = '{{ linodeId }}' -- required
;
REPLACE examples
- update
Updates the managed settings for a Linode.
This operation can only be accessed by the unrestricted users of an account.
Learn more...
Learn more...
REPLACE linode.managed.settings
SET
ssh = '{{ ssh }}'
WHERE
linodeId = '{{ linodeId }}' --required
RETURNING
id,
group,
label,
ssh;