使用英语阅读

通过


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

VirtualMachineInstallPatchesResult 构造函数

定义

重载

VirtualMachineInstallPatchesResult()

初始化 VirtualMachineInstallPatchesResult 类的新实例。

public VirtualMachineInstallPatchesResult ();

适用于

Azure SDK for .NET Legacy
产品 版本
Azure SDK for .NET Legacy

VirtualMachineInstallPatchesResult(String, String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, IList<PatchInstallationDetail>, Nullable<DateTime>, ApiError)

初始化 VirtualMachineInstallPatchesResult 类的新实例。

public VirtualMachineInstallPatchesResult (string status = default, string installationActivityId = default, string rebootStatus = default, bool? maintenanceWindowExceeded = default, int? excludedPatchCount = default, int? notSelectedPatchCount = default, int? pendingPatchCount = default, int? installedPatchCount = default, int? failedPatchCount = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.PatchInstallationDetail> patches = default, DateTime? startDateTime = default, Microsoft.Azure.Management.Compute.Models.ApiError error = default);

参数

status
String

操作的总体成功或失败状态。 在操作完成之前,它将保持“InProgress”。 此时,它将变为“Failed”、“Succeeded”、“Unknown”或“CompletedWithWarnings”。 可能的值包括:“Unknown”、“InProgress”、“Failed”、“Succeeded”、“CompletedWithWarnings”

installationActivityId
String

生成此结果的操作的活动 ID。 它用于跨 CRP 和扩展日志进行关联。

rebootStatus
String

完成操作后 VM 的重启状态。 可能的值包括:“Unknown”、“NotNeeded”、“Required”、“Started”、“Failed”、“Completed”

maintenanceWindowExceeded
Nullable<Boolean>

操作是否在完成其所有预期操作之前用完了时间。

excludedPatchCount
Nullable<Int32>

由于用户阻止其安装而未安装的修补程序数。

notSelectedPatchCount
Nullable<Int32>

检测到可安装但不符合操作条件的修补程序数。

pendingPatchCount
Nullable<Int32>

标识为符合安装条件但无法安装的修补程序数。 通常,当 maintenanceWindowExceeded == true 时会发生这种情况。

installedPatchCount
Nullable<Int32>

已成功安装的修补程序数。

failedPatchCount
Nullable<Int32>

由于某些问题而无法安装的修补程序数。 有关详细信息,请参阅错误。

patches
IList<PatchInstallationDetail>

操作期间安装的修补程序。

startDateTime
Nullable<DateTime>

操作开始时的 UTC 时间戳。

error
ApiError

执行操作期间遇到的错误。 详细信息数组包含它们的列表。

适用于

Azure SDK for .NET Legacy
产品 版本
Azure SDK for .NET Legacy