Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 2.51 KB

File metadata and controls

62 lines (46 loc) · 2.51 KB

instance_interface_settings_info

Get the interface settings for a Linode instance.

Minimum Required Fields

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.

Examples

- 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

Parameters

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)

Return Values

  • 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