{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/VirtualMachineInstallPatchesParameters",
  "title": "VirtualMachineInstallPatchesParameters",
  "type": "object",
  "description": "Input for InstallPatches as directly received by the API.",
  "required": [
    "rebootSetting"
  ],
  "properties": {
    "maximumDuration": {
      "type": "string",
      "description": "Specifies the maximum amount of time that the operation will run. It must be an ISO 8601-compliant duration string such as PT4H (4 hours)."
    },
    "rebootSetting": {
      "type": "string",
      "description": "Defines when it is acceptable to reboot a VM during a software update operation.",
      "enum": [
        "IfRequired",
        "NeverReboot",
        "AlwaysReboot"
      ]
    }
  }
}