Partilhar via


ArmComputeModelFactory.LastPatchInstallationSummary Method

Definition

Initializes a new instance of LastPatchInstallationSummary.

public static Azure.ResourceManager.Compute.Models.LastPatchInstallationSummary LastPatchInstallationSummary (Azure.ResourceManager.Compute.Models.PatchOperationStatus? status = default, string installationActivityId = default, bool? maintenanceWindowExceeded = default, int? notSelectedPatchCount = default, int? excludedPatchCount = default, int? pendingPatchCount = default, int? installedPatchCount = default, int? failedPatchCount = default, DateTimeOffset? startOn = default, DateTimeOffset? lastModifiedOn = default, Azure.ResourceManager.Compute.Models.ComputeApiError error = default);
static member LastPatchInstallationSummary : Nullable<Azure.ResourceManager.Compute.Models.PatchOperationStatus> * string * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.Compute.Models.ComputeApiError -> Azure.ResourceManager.Compute.Models.LastPatchInstallationSummary
Public Shared Function LastPatchInstallationSummary (Optional status As Nullable(Of PatchOperationStatus) = Nothing, Optional installationActivityId As String = Nothing, Optional maintenanceWindowExceeded As Nullable(Of Boolean) = Nothing, Optional notSelectedPatchCount As Nullable(Of Integer) = Nothing, Optional excludedPatchCount 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 startOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional error As ComputeApiError = Nothing) As LastPatchInstallationSummary

Parameters

status
Nullable<PatchOperationStatus>

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.".

installationActivityId
String

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

maintenanceWindowExceeded
Nullable<Boolean>

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

notSelectedPatchCount
Nullable<Int32>

The number of all available patches but not going to be installed because it didn't match a classification or inclusion list entry.

excludedPatchCount
Nullable<Int32>

The number of all available patches but excluded explicitly by a customer-specified exclusion list match.

pendingPatchCount
Nullable<Int32>

The number of all available patches expected to be installed over the course of the patch installation operation.

installedPatchCount
Nullable<Int32>

The count of patches that successfully installed.

failedPatchCount
Nullable<Int32>

The count of patches that failed installation.

startOn
Nullable<DateTimeOffset>

The UTC timestamp when the operation began.

lastModifiedOn
Nullable<DateTimeOffset>

The UTC timestamp when the operation began.

error
ComputeApiError

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

Returns

A new LastPatchInstallationSummary instance for mocking.

Applies to