{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "AgentPoolUpgradeSettings",
  "type": "object",
  "description": "Settings for upgrading an agentpool.",
  "properties": {
    "maxSurge": {
      "type": "string",
      "description": "The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. 5) or a percentage (e.g. 50%). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade."
    },
    "drainTimeoutInMinutes": {
      "type": "integer",
      "description": "The amount of time (in minutes) to wait on eviction of pods and graceful termination per node."
    },
    "nodeSoakDurationInMinutes": {
      "type": "integer",
      "description": "The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to the next node."
    }
  }
}