ServiceIPPatch#

pydantic model phalanx.models.kubernetes.ServiceIPPatch#

A model to validate a patch to assign an IP address to a Service.

Parameters:

data (Any)

Show JSON schema
{
   "title": "ServiceIPPatch",
   "description": "A model to validate a patch to assign an IP address to a Service.",
   "type": "object",
   "properties": {
      "spec": {
         "$ref": "#/$defs/ServiceIPSpecPatch"
      }
   },
   "$defs": {
      "ServiceIPSpecPatch": {
         "description": "A patch to a Service spec containing an IP address.",
         "properties": {
            "load_balancer_ip": {
               "format": "ipv4",
               "title": "Load Balancer Ip",
               "type": "string"
            }
         },
         "required": [
            "load_balancer_ip"
         ],
         "title": "ServiceIPSpecPatch",
         "type": "object"
      }
   },
   "required": [
      "spec"
   ]
}

Fields:
field spec: ServiceIPSpecPatch [Required]#

The spec containing the IP addess to patch.