ArmComputeModelFactory.AvailablePatchSummary Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of AvailablePatchSummary.
public static Azure.ResourceManager.Compute.Models.AvailablePatchSummary AvailablePatchSummary (Azure.ResourceManager.Compute.Models.PatchOperationStatus? status = default, string assessmentActivityId = default, bool? rebootPending = default, int? criticalAndSecurityPatchCount = default, int? otherPatchCount = default, DateTimeOffset? startOn = default, DateTimeOffset? lastModifiedOn = default, Azure.ResourceManager.Compute.Models.ComputeApiError error = default);
static member AvailablePatchSummary : Nullable<Azure.ResourceManager.Compute.Models.PatchOperationStatus> * string * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.Compute.Models.ComputeApiError -> Azure.ResourceManager.Compute.Models.AvailablePatchSummary
Public Shared Function AvailablePatchSummary (Optional status As Nullable(Of 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 startOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional error As ComputeApiError = Nothing) As AvailablePatchSummary
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.".
- assessmentActivityId
- String
The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.
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.
The number of critical or security patches that have been detected as available and not yet installed.
The number of all available patches excluding critical and security.
- 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 AvailablePatchSummary instance for mocking.
Applies to
Azure SDK for .NET