Returns information related to your Account settings.
| Field | Type | Required | Description |
|---|---|---|---|
api_token |
str |
Required | The Linode account personal access token. It is necessary to run the module. It can be exposed by the environment variable LINODE_API_TOKEN instead. See details in Usage. |
- name: Retrieve
linode.cloud.account_settings:
state: present| Field | Type | Required | Description |
|---|---|---|---|
state |
str |
Required | The state of Account Settings. (Choices: present) |
backups_enabled |
bool |
Optional | Account-wide backups default. If true, all Linodes created will automatically be enrolled in the Backups service. If false, Linodes will not be enrolled by default, but may still be enrolled on creation or later. |
longview_subscription |
str |
Optional | The Longview Pro tier you are currently subscribed to. The value must be a Longview subscription ID or null for Longview Free. |
network_helper |
bool |
Optional | Enables network helper across all users by default for new Linodes and Linode Configs. |
maintenance_policy |
str |
Optional | The Slug of the maintenance policy associated with the account. NOTE: This field is under v4beta. (Choices: linode/migrate, linode/power_off_on) |
-
account_settings- Account Settings in JSON serialized form.- Sample Response:
{ "backups_enabled": true, "interfaces_for_new_linodes": "linode_only", "longview_subscription": "longview-3", "managed": true, "network_helper": false, "object_storage": "active", "maintenance_policy": "linode/migrate" } - See the Linode API response documentation for a list of returned fields
- Sample Response: