{
  "description": "ContainerResizePolicy represents resource resize policy for the container.",
  "properties": {
    "resourceName": {
      "description": "Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.",
      "type": [
        "string",
        "null"
      ]
    },
    "restartPolicy": {
      "description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "resourceName",
    "restartPolicy"
  ],
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "$id": "https://kubernetes.io/api/containerresizepolicy/v1"
}