{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-virtual-machines/json-schema/microsoft-azure-virtual-machines-virtual-machine-assess-patches-result-schema.json",
  "title": "VirtualMachineAssessPatchesResult",
  "description": "Describes the properties of an AssessPatches result.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-virtual-machines-virtual-machines-api-openapi.yml#/components/schemas/VirtualMachineAssessPatchesResult",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "readOnly": true,
      "description": "The overall success or failure status of the operation.",
      "enum": [
        "Unknown",
        "InProgress",
        "Failed",
        "Succeeded",
        "CompletedWithWarnings"
      ]
    },
    "assessmentActivityId": {
      "type": "string",
      "readOnly": true,
      "description": "The activity ID of the operation."
    },
    "rebootPending": {
      "type": "boolean",
      "readOnly": true,
      "description": "The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred."
    },
    "criticalAndSecurityPatchCount": {
      "type": "integer",
      "format": "int32",
      "readOnly": true,
      "description": "The number of critical or security patches detected."
    },
    "otherPatchCount": {
      "type": "integer",
      "format": "int32",
      "readOnly": true,
      "description": "The number of all available patches excluding critical and security."
    },
    "startDateTime": {
      "type": "string",
      "format": "date-time",
      "readOnly": true,
      "description": "The UTC timestamp when the operation began."
    }
  }
}