共用方式為


VirtualMachineInstallPatchesResult Constructors

Definition

Overloads

VirtualMachineInstallPatchesResult()

Initializes a new instance of the VirtualMachineInstallPatchesResult class.

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

Initializes a new instance of the VirtualMachineInstallPatchesResult class.

VirtualMachineInstallPatchesResult()

Initializes a new instance of the VirtualMachineInstallPatchesResult class.

public VirtualMachineInstallPatchesResult ();
Public Sub New ()

Applies to

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

Initializes a new instance of the VirtualMachineInstallPatchesResult class.

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);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineInstallPatchesResult : string * string * string * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.PatchInstallationDetail> * Nullable<DateTime> * Microsoft.Azure.Management.Compute.Models.ApiError -> Microsoft.Azure.Management.Compute.Models.VirtualMachineInstallPatchesResult
Public Sub New (Optional status As String = Nothing, Optional installationActivityId As String = Nothing, Optional rebootStatus As String = Nothing, Optional maintenanceWindowExceeded As Nullable(Of Boolean) = Nothing, Optional excludedPatchCount As Nullable(Of Integer) = Nothing, Optional notSelectedPatchCount As Nullable(Of Integer) = Nothing, Optional pendingPatchCount As Nullable(Of Integer) = Nothing, Optional installedPatchCount As Nullable(Of Integer) = Nothing, Optional failedPatchCount As Nullable(Of Integer) = Nothing, Optional patches As IList(Of PatchInstallationDetail) = Nothing, Optional startDateTime As Nullable(Of DateTime) = Nothing, Optional error As ApiError = Nothing)

Parameters

status
String

The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Failed", "Succeeded", "Unknown" or "CompletedWithWarnings.". Possible values include: 'Unknown', 'InProgress', 'Failed', 'Succeeded', 'CompletedWithWarnings'

installationActivityId
String

The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.

rebootStatus
String

The reboot state of the VM following completion of the operation. Possible values include: 'Unknown', 'NotNeeded', 'Required', 'Started', 'Failed', 'Completed'

maintenanceWindowExceeded
Nullable<Boolean>

Whether the operation ran out of time before it completed all its intended actions.

excludedPatchCount
Nullable<Int32>

The number of patches that were not installed due to the user blocking their installation.

notSelectedPatchCount
Nullable<Int32>

The number of patches that were detected as available for install, but did not meet the operation's criteria.

pendingPatchCount
Nullable<Int32>

The number of patches that were identified as meeting the installation criteria, but were not able to be installed. Typically this happens when maintenanceWindowExceeded == true.

installedPatchCount
Nullable<Int32>

The number of patches successfully installed.

failedPatchCount
Nullable<Int32>

The number of patches that could not be installed due to some issue. See errors for details.

patches
IList<PatchInstallationDetail>

The patches that were installed during the operation.

startDateTime
Nullable<DateTime>

The UTC timestamp when the operation began.

error
ApiError

The errors that were encountered during execution of the operation. The details array contains the list of them.

Applies to