Aracılığıyla paylaş


VirtualMachineAssessPatchesResult Constructors

Definition

Overloads

VirtualMachineAssessPatchesResult()

Initializes a new instance of the VirtualMachineAssessPatchesResult class.

VirtualMachineAssessPatchesResult(String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<DateTime>, IList<VirtualMachineSoftwarePatchProperties>, ApiError)

Initializes a new instance of the VirtualMachineAssessPatchesResult class.

VirtualMachineAssessPatchesResult()

Initializes a new instance of the VirtualMachineAssessPatchesResult class.

public VirtualMachineAssessPatchesResult ();
Public Sub New ()

Applies to

VirtualMachineAssessPatchesResult(String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<DateTime>, IList<VirtualMachineSoftwarePatchProperties>, ApiError)

Initializes a new instance of the VirtualMachineAssessPatchesResult class.

public VirtualMachineAssessPatchesResult (string status = default, string assessmentActivityId = default, bool? rebootPending = default, int? criticalAndSecurityPatchCount = default, int? otherPatchCount = default, DateTime? startDateTime = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineSoftwarePatchProperties> availablePatches = default, Microsoft.Azure.Management.Compute.Models.ApiError error = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineAssessPatchesResult : string * string * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<DateTime> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineSoftwarePatchProperties> * Microsoft.Azure.Management.Compute.Models.ApiError -> Microsoft.Azure.Management.Compute.Models.VirtualMachineAssessPatchesResult
Public Sub New (Optional status As String = Nothing, Optional assessmentActivityId As String = Nothing, Optional rebootPending As Nullable(Of Boolean) = Nothing, Optional criticalAndSecurityPatchCount As Nullable(Of Integer) = Nothing, Optional otherPatchCount As Nullable(Of Integer) = Nothing, Optional startDateTime As Nullable(Of DateTime) = Nothing, Optional availablePatches As IList(Of VirtualMachineSoftwarePatchProperties) = 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 "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings.". Possible values include: 'Unknown', 'InProgress', 'Failed', 'Succeeded', 'CompletedWithWarnings'

assessmentActivityId
String

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

rebootPending
Nullable<Boolean>

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
Nullable<Int32>

The number of critical or security patches that have been detected as available and not yet installed.

otherPatchCount
Nullable<Int32>

The number of all available patches excluding critical and security.

startDateTime
Nullable<DateTime>

The UTC timestamp when the operation began.

availablePatches
IList<VirtualMachineSoftwarePatchProperties>

The list of patches that have been detected as available for installation.

error
ApiError

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

Applies to