{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-ip-loadbalancing-ip-with-iam-schema.json",
  "title": "ipLoadbalancing.IpWithIAM",
  "description": "Your IP load balancing",
  "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.IpWithIAM",
  "type": "object",
  "properties": {
    "displayName": {
      "type": [
        "string",
        "null"
      ],
      "description": "Set the name displayed in ManagerV6 for your iplb (max 50 chars)"
    },
    "iam": {
      "allOf": [
        {
          "$ref": "#/$defs/iam.ResourceMetadata"
        }
      ],
      "description": "IAM resource metadata",
      "nullable": true,
      "readOnly": true
    },
    "ipLoadbalancing": {
      "allOf": [
        {
          "$ref": "#/$defs/ip"
        }
      ],
      "description": "Your IP load balancing",
      "readOnly": true
    },
    "ipv4": {
      "allOf": [
        {
          "$ref": "#/$defs/ipv4"
        }
      ],
      "description": "The IPV4 associated to your IP load balancing",
      "nullable": true,
      "readOnly": true
    },
    "ipv6": {
      "allOf": [
        {
          "$ref": "#/$defs/ipv6"
        }
      ],
      "description": "The IPV6 associated to your IP load balancing",
      "nullable": true,
      "readOnly": true
    },
    "metricsToken": {
      "type": [
        "string",
        "null"
      ],
      "description": "The metrics token associated with your IP load balancing",
      "readOnly": true
    },
    "offer": {
      "type": "string",
      "description": "The offer of your IP load balancing",
      "readOnly": true
    },
    "orderableZone": {
      "type": "array",
      "description": "Available additional zone for your Load Balancer",
      "items": {
        "$ref": "#/$defs/ipLoadbalancing.OrderableZone"
      },
      "readOnly": true
    },
    "serviceName": {
      "type": "string",
      "description": "The internal name of your IP load balancing",
      "readOnly": true
    },
    "sslConfiguration": {
      "allOf": [
        {
          "$ref": "#/$defs/ipLoadbalancing.SslConfigurationEnum"
        }
      ],
      "description": "Modern oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and Java 8. Intermediate oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android 2.3, Java 7. Intermediate if null.",
      "nullable": true
    },
    "state": {
      "allOf": [
        {
          "$ref": "#/$defs/ipLoadbalancing.IpStateEnum"
        }
      ],
      "description": "Current state of your IP",
      "readOnly": true
    },
    "vrackEligibility": {
      "type": "boolean",
      "description": "Vrack eligibility",
      "readOnly": true
    },
    "vrackName": {
      "type": [
        "string",
        "null"
      ],
      "description": "Name of the vRack on which the current Load Balancer is attached to, as it is named on vRack product",
      "readOnly": true
    },
    "zone": {
      "type": "array",
      "description": "Location where your service is",
      "items": {
        "type": "string"
      },
      "readOnly": true
    }
  },
  "$defs": {
    "iam.ResourceMetadata": {
      "type": "object",
      "description": "IAM resource metadata embedded in services models",
      "properties": {
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Resource display name",
          "readOnly": true
        },
        "id": {
          "type": "string",
          "description": "Unique identifier of the resource",
          "format": "uuid",
          "readOnly": true
        },
        "state": {
          "allOf": [
            {
              "$ref": "#/$defs/iam.ResourceMetadata.StateEnum"
            }
          ],
          "description": "Resource state",
          "nullable": true,
          "readOnly": true
        },
        "tags": {
          "type": [
            "object",
            "null"
          ],
          "description": "Resource tags. Tags that were internally computed are prefixed with ovh:",
          "additionalProperties": {
            "type": "string"
          },
          "readOnly": true
        },
        "urn": {
          "type": "string",
          "description": "Unique resource name used in policies",
          "readOnly": true
        }
      }
    },
    "iam.ResourceMetadata.StateEnum": {
      "type": "string",
      "description": "Resource state",
      "enum": [
        "EXPIRED",
        "IN_CREATION",
        "OK",
        "SUSPENDED"
      ]
    },
    "ip": {
      "type": "string",
      "description": "IP address (e.g., 192.0.2.0)",
      "format": "ipv4"
    },
    "ipLoadbalancing.IpStateEnum": {
      "type": "string",
      "description": "Possible values for load balancing IP state",
      "enum": [
        "blacklisted",
        "deleted",
        "free",
        "ok",
        "quarantined",
        "suspended"
      ]
    },
    "ipLoadbalancing.OrderableZone": {
      "type": "object",
      "description": "Available additional zone to order for a Load Balancer",
      "properties": {
        "name": {
          "type": "string",
          "description": "The zone three letter code"
        },
        "planCode": {
          "type": "string",
          "description": "The billing planCode for this zone"
        }
      }
    },
    "ipLoadbalancing.SslConfigurationEnum": {
      "type": "string",
      "description": "Possible values for ssl ciphers",
      "enum": [
        "intermediate",
        "modern"
      ]
    },
    "ipv4": {
      "type": "string",
      "description": "IPv4 address (e.g., 192.0.2.0)",
      "format": "ipv4"
    },
    "ipv6": {
      "type": "string",
      "description": "IPv6 address (e.g., 2001:41d0:1:1994::1)",
      "format": "ipv6"
    }
  }
}