Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.27 KB

ip_info.md

File metadata and controls

49 lines (37 loc) · 1.27 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",
        "vpc_nat_1_1": {
          "vpc_id": 242,
          "subnet_id": 194,
          "address": "139.144.244.36",
        }
      }
    • See the Linode API response documentation for a list of returned fields