共用方式為


VirtualMachineAssessPatchesResultInner Constructors

Definition

Overloads

VirtualMachineAssessPatchesResultInner()

Initializes a new instance of the VirtualMachineAssessPatchesResultInner class.

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

Initializes a new instance of the VirtualMachineAssessPatchesResultInner class.

VirtualMachineAssessPatchesResultInner()

Initializes a new instance of the VirtualMachineAssessPatchesResultInner class.

public VirtualMachineAssessPatchesResultInner ();
Public Sub New ()

Applies to

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

Initializes a new instance of the VirtualMachineAssessPatchesResultInner class.

public VirtualMachineAssessPatchesResultInner (Microsoft.Azure.Management.Compute.Fluent.Models.PatchOperationStatus 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.Fluent.Models.VirtualMachineSoftwarePatchProperties> patches = default, Microsoft.Azure.Management.Compute.Fluent.Models.ApiError error = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineAssessPatchesResultInner : Microsoft.Azure.Management.Compute.Fluent.Models.PatchOperationStatus * string * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<DateTime> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineSoftwarePatchProperties> * Microsoft.Azure.Management.Compute.Fluent.Models.ApiError -> Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineAssessPatchesResultInner
Public Sub New (Optional status As PatchOperationStatus = 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 patches As IList(Of VirtualMachineSoftwarePatchProperties) = Nothing, Optional error As ApiError = Nothing)

Parameters

status
PatchOperationStatus

The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Failed", "Succeeded", or "CompletedWithWarnings.". Possible values include: '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.

patches
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