{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-horizon-view-pool-schema.json",
  "title": "horizonView.Pool",
  "description": "All informations about access point",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-horizonView-openapi.yml#/components/schemas/horizonView.Pool",
  "type": "object",
  "properties": {
    "accessPointId": {
      "type": "integer",
      "description": "Pool id",
      "readOnly": true
    },
    "dhcpNetmask": {
      "allOf": [
        {
          "$ref": "#/$defs/ip"
        }
      ],
      "description": "DHCP netmask in this port group",
      "readOnly": true
    },
    "dhcpNetwork": {
      "allOf": [
        {
          "$ref": "#/$defs/ip"
        }
      ],
      "description": "DHCP network in this port group",
      "readOnly": true
    },
    "externalUrl": {
      "type": "string",
      "description": "External url of your access point",
      "readOnly": true
    },
    "intercoNextHop": {
      "allOf": [
        {
          "$ref": "#/$defs/ip"
        }
      ],
      "description": "Next hop IP to reach virtual desktops network for public Access Point",
      "nullable": true,
      "readOnly": true
    },
    "intercoPrivateNextHop": {
      "allOf": [
        {
          "$ref": "#/$defs/ip"
        }
      ],
      "description": "Next hop IP to reach virtual desktops network for private Access Point",
      "nullable": true,
      "readOnly": true
    },
    "portGroupId": {
      "type": "string",
      "description": "Port group id",
      "readOnly": true
    },
    "state": {
      "allOf": [
        {
          "$ref": "#/$defs/horizonView.StateEnum"
        }
      ],
      "description": "Network state",
      "readOnly": true
    },
    "twoFA": {
      "type": "boolean",
      "description": "Two factor authentication",
      "readOnly": true
    },
    "type": {
      "allOf": [
        {
          "$ref": "#/$defs/horizonView.PoolType"
        }
      ],
      "description": "Pool type",
      "readOnly": true
    }
  },
  "$defs": {
    "horizonView.PoolType": {
      "type": "string",
      "description": "Pool type the customer can deploy",
      "enum": [
        "hybridPool",
        "privatePool",
        "publicPool"
      ]
    },
    "horizonView.StateEnum": {
      "type": "string",
      "description": "All states a dedicated horizon  can be in",
      "enum": [
        "available",
        "creating",
        "delivered",
        "disabled",
        "error",
        "reserved"
      ]
    },
    "ip": {
      "type": "string",
      "description": "IP address (e.g., 192.0.2.0)",
      "format": "ipv4"
    }
  }
}