Get the interface settings for a Linode instance.
| 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: Get the interface settings for an instance by label
linode.cloud.instance_interface_settings_info:
label: my-instance- name: Get the interface settings for an instance by ID
linode.cloud.instance_interface_settings_info:
id: 12345| Field | Type | Required | Description |
|---|---|---|---|
linode_id |
int |
Optional | The ID of the instance to retrieve the interface settings for. (Conflicts With: linode_label) |
linode_label |
str |
Optional | The label of the instance to retrieve the interface settings for. (Conflicts With: linode_id) |
-
settings- The returned settings.- Sample Response:
{ "default_route": { "ipv4_eligible_interface_ids": [ 123, 456 ], "ipv4_interface_id": 456, "ipv6_eligible_interface_ids": [ 123 ], "ipv6_interface_id": 123 }, "network_helper": true } - See the Linode API response documentation for a list of returned fields
- Sample Response: