Leaseweb · Schema

loadBalancerDetails

CompanyCloudInfrastructure-as-a-ServiceBare MetalDedicated ServersObject StorageDNSHosting

Properties

Name Type Description
id string The load balancer unique identifier
type object
resources object
reference stringnull The identifying name set to the load balancer
state object
startedAt stringnull Date and time when the load balancer was started for the first time, right after launching it
region object
configuration object
privateNetwork object
contract object
ips array
View JSON Schema on GitHub

JSON Schema

leaseweb-load-balancer-details-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/leaseweb/main/json-schema/leaseweb-load-balancer-details-schema.json",
  "title": "loadBalancerDetails",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/leaseweb-publiccloud-openapi.yml#/components/schemas/loadBalancerDetails",
  "properties": {
    "id": {
      "description": "The load balancer unique identifier",
      "format": "uuid",
      "type": "string"
    },
    "type": {
      "$ref": "#/$defs/typeName"
    },
    "resources": {
      "$ref": "#/$defs/resources"
    },
    "reference": {
      "description": "The identifying name set to the load balancer",
      "type": [
        "string",
        "null"
      ]
    },
    "state": {
      "$ref": "#/$defs/state"
    },
    "startedAt": {
      "description": "Date and time when the load balancer was started for the first time, right after launching it",
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    },
    "region": {
      "$ref": "#/$defs/regionName"
    },
    "configuration": {
      "$ref": "#/$defs/loadBalancerConfiguration"
    },
    "privateNetwork": {
      "$ref": "#/$defs/privateNetwork"
    },
    "contract": {
      "$ref": "#/$defs/instanceContractDetails"
    },
    "ips": {
      "items": {
        "$ref": "#/$defs/ipDetails"
      },
      "type": "array"
    }
  },
  "required": [
    "configuration",
    "contract",
    "id",
    "ips",
    "privateNetwork",
    "reference",
    "region",
    "resources",
    "startedAt",
    "state",
    "type"
  ],
  "type": "object",
  "$defs": {
    "balance": {
      "description": "Algorithm to be used for load balancer",
      "enum": [
        "roundrobin",
        "leastconn",
        "source"
      ],
      "type": "string"
    },
    "billingFrequency": {
      "description": "The billing frequency (in months) of the instance. Used only when contract type is MONTHLY",
      "enum": [
        1,
        3,
        6,
        12
      ],
      "type": "integer"
    },
    "contractState": {
      "enum": [
        "ACTIVE",
        "DELETE_SCHEDULED",
        "PENDING",
        "INACTIVE",
        "CANCELLED"
      ],
      "type": "string"
    },
    "contractTerm": {
      "description": "Contract commitment. Used only when contract type is MONTHLY",
      "enum": [
        0,
        1,
        3,
        6,
        12,
        24,
        36
      ],
      "type": "integer"
    },
    "contractType": {
      "description": "Select HOURLY for billing based on hourly usage, else MONTHLY for billing per month usage",
      "enum": [
        "HOURLY",
        "MONTHLY"
      ],
      "type": "string"
    },
    "cpu": {
      "description": "Number of cores",
      "properties": {
        "value": {
          "type": "integer"
        },
        "unit": {
          "type": "string"
        }
      },
      "required": [
        "unit",
        "value"
      ],
      "title": "cpu",
      "type": "object"
    },
    "ddos": {
      "properties": {
        "detectionProfile": {
          "type": "string"
        },
        "protectionType": {
          "type": "string"
        }
      },
      "required": [
        "detectionProfile",
        "protectionType"
      ],
      "title": "ddos",
      "type": [
        "object",
        "null"
      ]
    },
    "instanceContract": {
      "properties": {
        "billingFrequency": {
          "$ref": "#/$defs/billingFrequency"
        },
        "term": {
          "$ref": "#/$defs/contractTerm"
        },
        "type": {
          "$ref": "#/$defs/contractType"
        }
      },
      "required": [
        "billingFrequency",
        "term",
        "type"
      ],
      "type": "object"
    },
    "instanceContractDetails": {
      "allOf": [
        {
          "$ref": "#/$defs/instanceContract"
        },
        {
          "properties": {
            "endsAt": {
              "description": "End date is null for hourly instances",
              "format": "date-time",
              "type": [
                "string",
                "null"
              ]
            },
            "startsAt": {
              "description": "Date when the contract is starting",
              "format": "date-time",
              "type": "string"
            },
            "state": {
              "$ref": "#/$defs/contractState"
            },
            "id": {
              "description": "Contract id is empty for hourly instances",
              "type": "string"
            },
            "sla": {
              "type": "string"
            },
            "controlPanel": {
              "type": [
                "string",
                "null"
              ]
            },
            "inModification": {
              "type": "boolean"
            }
          },
          "required": [
            "controlPanel",
            "endsAt",
            "id",
            "inModification",
            "sla",
            "startsAt",
            "state"
          ],
          "type": "object"
        }
      ]
    },
    "ip": {
      "properties": {
        "ip": {
          "description": "Ip Address",
          "type": "string"
        },
        "prefixLength": {
          "description": "The number of leading bits in the IP address",
          "type": "string"
        },
        "version": {
          "$ref": "#/$defs/ipVersion"
        },
        "nullRouted": {
          "description": "Whether or not the IP has been nulled",
          "type": "boolean"
        },
        "mainIp": {
          "type": "boolean"
        },
        "networkType": {
          "$ref": "#/$defs/networkType"
        },
        "reverseLookup": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "ip",
        "mainIp",
        "networkType",
        "nullRouted",
        "prefixLength",
        "reverseLookup",
        "version"
      ],
      "title": "ip",
      "type": "object"
    },
    "ipDetails": {
      "allOf": [
        {
          "$ref": "#/$defs/ip"
        },
        {
          "properties": {
            "ddos": {
              "$ref": "#/$defs/ddos"
            }
          },
          "required": [
            "ddos"
          ],
          "title": "ipDetails",
          "type": "object"
        }
      ]
    },
    "ipVersion": {
      "description": "Ip version",
      "enum": [
        4,
        6
      ],
      "type": "integer"
    },
    "loadBalancerConfiguration": {
      "description": "Different configuration assigned for the load balancer",
      "properties": {
        "stickySession": {
          "$ref": "#/$defs/stickySession"
        },
        "balance": {
          "$ref": "#/$defs/balance"
        },
        "xForwardedFor": {
          "description": "Is xForwardedFor header enabled or not",
          "type": "boolean"
        },
        "idleTimeOut": {
          "description": "Time to close the connection if load balancer is idle",
          "type": "integer"
        }
      },
      "required": [
        "balance",
        "idleTimeOut",
        "stickySession",
        "xForwardedFor"
      ],
      "title": "loadBalancerConfiguration",
      "type": [
        "object",
        "null"
      ]
    },
    "memory": {
      "description": "Total memory in GiB",
      "properties": {
        "value": {
          "type": "number"
        },
        "unit": {
          "type": "string"
        }
      },
      "required": [
        "unit",
        "value"
      ],
      "title": "memory",
      "type": "object"
    },
    "networkSpeed": {
      "description": "Network speed in Gbps",
      "properties": {
        "value": {
          "type": "integer"
        },
        "unit": {
          "type": "string"
        }
      },
      "required": [
        "unit",
        "value"
      ],
      "title": "networkSpeed",
      "type": "object"
    },
    "networkType": {
      "enum": [
        "INTERNAL",
        "PUBLIC"
      ],
      "type": "string"
    },
    "privateNetwork": {
      "properties": {
        "privateNetworkId": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "subnet": {
          "type": "string"
        }
      },
      "required": [
        "privateNetworkId",
        "status",
        "subnet"
      ],
      "title": "privateNetwork",
      "type": [
        "object",
        "null"
      ]
    },
    "regionName": {
      "description": "region name",
      "enum": [
        "eu-west-3",
        "us-east-1",
        "eu-central-1",
        "ap-southeast-1",
        "us-west-1",
        "eu-west-2",
        "ca-central-1",
        "ap-northeast-1"
      ],
      "title": "regionName",
      "type": "string"
    },
    "resources": {
      "description": "Available resources",
      "properties": {
        "cpu": {
          "$ref": "#/$defs/cpu"
        },
        "memory": {
          "$ref": "#/$defs/memory"
        },
        "publicNetworkSpeed": {
          "$ref": "#/$defs/networkSpeed"
        },
        "privateNetworkSpeed": {
          "$ref": "#/$defs/networkSpeed"
        }
      },
      "required": [
        "cpu",
        "memory",
        "privateNetworkSpeed",
        "publicNetworkSpeed"
      ],
      "type": "object"
    },
    "state": {
      "description": "The current state",
      "enum": [
        "CREATING",
        "DESTROYED",
        "DESTROYING",
        "FAILED",
        "RUNNING",
        "STARTING",
        "STOPPED",
        "STOPPING",
        "UNKNOWN"
      ],
      "type": "string"
    },
    "stickySession": {
      "properties": {
        "enabled": {
          "description": "If sticky session is enabled or not",
          "type": "boolean"
        },
        "maxLifeTime": {
          "description": "Time that the Load Balancer routes the requests from one requester to the same target instance",
          "type": "integer"
        }
      },
      "required": [
        "enabled",
        "maxLifeTime"
      ],
      "title": "stickySession",
      "type": [
        "object",
        "null"
      ]
    },
    "typeName": {
      "description": "Instance/Load balancer type",
      "enum": [
        "lsw.m3.large",
        "lsw.m3.xlarge",
        "lsw.m3.2xlarge",
        "lsw.m4.large",
        "lsw.m4.xlarge",
        "lsw.m4.2xlarge",
        "lsw.m4.4xlarge",
        "lsw.m5.large",
        "lsw.m5.xlarge",
        "lsw.m5.2xlarge",
        "lsw.m5.4xlarge",
        "lsw.m5a.large",
        "lsw.m5a.xlarge",
        "lsw.m5a.2xlarge",
        "lsw.m5a.4xlarge",
        "lsw.m5a.8xlarge",
        "lsw.m5a.12xlarge",
        "lsw.m6a.large",
        "lsw.m6a.xlarge",
        "lsw.m6a.2xlarge",
        "lsw.m6a.4xlarge",
        "lsw.m6a.8xlarge",
        "lsw.m6a.12xlarge",
        "lsw.m6a.16xlarge",
        "lsw.m6a.24xlarge",
        "lsw.c3.large",
        "lsw.c3.xlarge",
        "lsw.c3.2xlarge",
        "lsw.c3.4xlarge",
        "lsw.c4.large",
        "lsw.c4.xlarge",
        "lsw.c4.2xlarge",
        "lsw.c4.4xlarge",
        "lsw.c5.large",
        "lsw.c5.xlarge",
        "lsw.c5.2xlarge",
        "lsw.c5.4xlarge",
        "lsw.c5a.large",
        "lsw.c5a.xlarge",
        "lsw.c5a.2xlarge",
        "lsw.c5a.4xlarge",
        "lsw.c5a.9xlarge",
        "lsw.c5a.12xlarge",
        "lsw.c6a.large",
        "lsw.c6a.xlarge",
        "lsw.c6a.2xlarge",
        "lsw.c6a.4xlarge",
        "lsw.c6a.8xlarge",
        "lsw.c6a.12xlarge",
        "lsw.c6a.16xlarge",
        "lsw.c6a.24xlarge",
        "lsw.r3.large",
        "lsw.r3.xlarge",
        "lsw.r3.2xlarge",
        "lsw.r4.large",
        "lsw.r4.xlarge",
        "lsw.r4.2xlarge",
        "lsw.r5.large",
        "lsw.r5.xlarge",
        "lsw.r5.2xlarge",
        "lsw.r5a.large",
        "lsw.r5a.xlarge",
        "lsw.r5a.2xlarge",
        "lsw.r5a.4xlarge",
        "lsw.r5a.8xlarge",
        "lsw.r5a.12xlarge",
        "lsw.r6a.large",
        "lsw.r6a.xlarge",
        "lsw.r6a.2xlarge",
        "lsw.r6a.4xlarge",
        "lsw.r6a.8xlarge",
        "lsw.r6a.12xlarge",
        "lsw.r6a.16xlarge",
        "lsw.r6a.24xlarge",
        "lsw.g6.xlarge",
        "lsw.g6.2xlarge",
        "lsw.g6.4xlarge",
        "lsw.g6.8xlarge",
        "lsw.g6.12xlarge",
        "lsw.g6.16xlarge",
        "lsw.g6.18xlarge",
        "lsw.g6.24xlarge",
        "lsw.gr6.4xlarge",
        "lsw.gr6.8xlarge"
      ],
      "title": "typeName",
      "type": "string"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/leaseweb-load-balancer-details"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.