{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-ip-loadbalancing-frontend-http-frontend-http-schema.json",
  "title": "ipLoadbalancing.frontendHttp.FrontendHttp",
  "description": "Frontend HTTP",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-ipLoadbalancing-openapi.yml#/components/schemas/ipLoadbalancing.frontendHttp.FrontendHttp",
  "type": "object",
  "properties": {
    "allowedSource": {
      "type": [
        "array",
        "null"
      ],
      "description": "Restrict IP Load Balancing access to these ip block. No restriction if null. You cannot specify allowedSource and deniedSource both at the same time",
      "items": {
        "$ref": "#/$defs/ipBlock"
      }
    },
    "dedicatedIpfo": {
      "type": [
        "array",
        "null"
      ],
      "description": "Only attach frontend on these ip. No restriction if null",
      "items": {
        "$ref": "#/$defs/ipBlock"
      }
    },
    "defaultFarmId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Default HTTP Farm of your frontend"
    },
    "defaultSslId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Default ssl served to your customer"
    },
    "deniedSource": {
      "type": [
        "array",
        "null"
      ],
      "description": "Deny IP Load Balancing access to these ip block. No restriction if null. You cannot specify allowedSource and deniedSource both at the same time",
      "items": {
        "$ref": "#/$defs/ipBlock"
      }
    },
    "disabled": {
      "type": "boolean",
      "description": "Disable frontend. Default: 'false'"
    },
    "displayName": {
      "type": [
        "string",
        "null"
      ],
      "description": "Human readable name for your frontend, this field is for you"
    },
    "forceSni": {
      "type": "boolean",
      "description": "block all SSL connection request without SNI. Default: 'false'"
    },
    "frontendId": {
      "type": "integer",
      "description": "Id of your frontend",
      "readOnly": true
    },
    "hsts": {
      "type": "boolean",
      "description": "HTTP Strict Transport Security. Default: 'false'"
    },
    "httpHeader": {
      "type": [
        "array",
        "null"
      ],
      "description": "Add header to your frontend. Useful variables admitted : %ci <=> client_ip, %cp <=> client_port",
      "items": {
        "type": "string"
      }
    },
    "port": {
      "type": "string",
      "description": "Listening port(s) on the server"
    },
    "redirectLocation": {
      "type": [
        "string",
        "null"
      ],
      "description": "HTTP redirection (Ex : http://www.ovh.com)"
    },
    "ssl": {
      "type": "boolean",
      "description": "SSL deciphering. Default: 'false'"
    },
    "vrackNetworkId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Internal Load Balancer identifier of the vRack private network attached to your frontend.",
      "readOnly": true
    },
    "vrackVrouterId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Virtual Router Identifier. 1-255",
      "readOnly": true
    },
    "zone": {
      "type": "string",
      "description": "Zone of you frontend"
    }
  },
  "$defs": {
    "ipBlock": {
      "type": "string",
      "description": "IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24)",
      "format": "ip-block"
    }
  }
}