Skip to main content

settings

Creates, updates, deletes, gets or lists a settings resource.

Overview

Namesettings
TypeResource
Idlinode.managed.settings

Fields

The following fields are returned by SELECT queries:

The requested Linode's Managed settings.

NameDatatypeDescription
idintegerRead-only The ID of the Linode these Settings are for.
groupstringRead-only The group of the Linode these Settings are for. This is for display purposes only. (example: linodes)
labelstringRead-only The label of the Linode these Settings are for. (example: linode123)
sshobjectThe SSH settings for this Linode.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlinodeIdReturns the managed settings for a single Linode.

This operation can only be accessed by the unrestricted users of an account.

Learn more...

Learn more...
updatereplacelinodeIdUpdates 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.

NameDatatypeDescription
linodeIdstringThe Linode ID whose settings we are accessing.

SELECT examples

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

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;