你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualMachineAssessPatchesResult interface

描述 AssessmentPatches 结果的属性。

属性

assessmentActivityId

生成此结果的操作的活动 ID。 它用于跨 CRP 和扩展日志进行关联。 注意:此属性不会被序列化。 它只能由服务器填充。

availablePatches

已检测到可供安装的修补程序列表。 注意:此属性不会被序列化。 它只能由服务器填充。

criticalAndSecurityPatchCount

已检测到可用但尚未安装的关键或安全修补程序的数量。 注意:此属性不会被序列化。 它只能由服务器填充。

error

执行操作期间遇到的错误。 details 数组包含它们的列表。 注意:此属性不会被序列化。 它只能由服务器填充。

otherPatchCount

所有可用修补程序的数量,不包括关键修补程序和安全性。 注意:此属性不会被序列化。 它只能由服务器填充。

rebootPending

VM 的总体重启状态。 如果部分安装的修补程序需要重新启动才能完成安装,但尚未重新启动,则为 true。 注意:此属性不会被序列化。 它只能由服务器填充。

startDateTime

操作开始时的 UTC 时间戳。 注意:此属性不会被序列化。 它只能由服务器填充。

status

操作的总体成功或失败状态。 在操作完成之前,它将保持“InProgress”。 此时,它将变为“Unknown”、“Failed”、“Succeeded”或“CompletedWithWarnings”。注意:此属性不会被序列化。 它只能由服务器填充。

属性详细信息

assessmentActivityId

生成此结果的操作的活动 ID。 它用于跨 CRP 和扩展日志进行关联。 注意:此属性不会被序列化。 它只能由服务器填充。

assessmentActivityId?: string

属性值

string

availablePatches

已检测到可供安装的修补程序列表。 注意:此属性不会被序列化。 它只能由服务器填充。

availablePatches?: VirtualMachineSoftwarePatchProperties[]

属性值

criticalAndSecurityPatchCount

已检测到可用但尚未安装的关键或安全修补程序的数量。 注意:此属性不会被序列化。 它只能由服务器填充。

criticalAndSecurityPatchCount?: number

属性值

number

error

执行操作期间遇到的错误。 details 数组包含它们的列表。 注意:此属性不会被序列化。 它只能由服务器填充。

error?: ApiError

属性值

otherPatchCount

所有可用修补程序的数量,不包括关键修补程序和安全性。 注意:此属性不会被序列化。 它只能由服务器填充。

otherPatchCount?: number

属性值

number

rebootPending

VM 的总体重启状态。 如果部分安装的修补程序需要重新启动才能完成安装,但尚未重新启动,则为 true。 注意:此属性不会被序列化。 它只能由服务器填充。

rebootPending?: boolean

属性值

boolean

startDateTime

操作开始时的 UTC 时间戳。 注意:此属性不会被序列化。 它只能由服务器填充。

startDateTime?: Date

属性值

Date

status

操作的总体成功或失败状态。 在操作完成之前,它将保持“InProgress”。 此时,它将变为“Unknown”、“Failed”、“Succeeded”或“CompletedWithWarnings”。注意:此属性不会被序列化。 它只能由服务器填充。

status?: string

属性值

string