Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.13 KB

ip_info.md

File metadata and controls

44 lines (32 loc) · 1.13 KB

ip_info

Get info about a Linode IP.

Examples

- name: Get info about an IP address
  linode.cloud.ip_info:
    address: 97.107.143.141

Parameters

Field Type Required Description
address str Required The IP address to operate on.

Return Values

  • ip - The IP in JSON serialized form.

    • Sample Response:
      {
        "address": "97.107.143.141",
        "gateway": "97.107.143.1",
        "linode_id": 123,
        "prefix": 24,
        "public": true,
        "rdns": "test.example.org",
        "region": "us-east",
        "subnet_mask": "255.255.255.0",
        "type": "ipv4"
      }
    • See the Linode API response documentation for a list of returned fields