linode · Schema

Subnet

Properties

Name Type Description
id integer The unique ID of this subnet.
label string The label for this subnet.
ipv4 string The IPv4 CIDR range for this subnet.
linodes array Linodes assigned to this subnet.
created string When this subnet was created.
updated string When this subnet was last updated.
View JSON Schema on GitHub

JSON Schema

linode-subnet-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Subnet",
  "title": "Subnet",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The unique ID of this subnet."
    },
    "label": {
      "type": "string",
      "description": "The label for this subnet."
    },
    "ipv4": {
      "type": "string",
      "description": "The IPv4 CIDR range for this subnet."
    },
    "linodes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The Linode ID."
          },
          "interfaces": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "active": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      },
      "description": "Linodes assigned to this subnet."
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "description": "When this subnet was created."
    },
    "updated": {
      "type": "string",
      "format": "date-time",
      "description": "When this subnet was last updated."
    }
  }
}