Compartilhar via


ArmHybridComputeModelFactory.MachineAssessPatchesResult Method

Definition

Initializes a new instance of MachineAssessPatchesResult.

public static Azure.ResourceManager.HybridCompute.Models.MachineAssessPatchesResult MachineAssessPatchesResult (Azure.ResourceManager.HybridCompute.Models.MachineOperationStatus? status = default, Guid? assessmentActivityId = default, bool? isRebootPending = default, Azure.ResourceManager.HybridCompute.Models.AvailablePatchCountByClassification availablePatchCountByClassification = default, DateTimeOffset? startOn = default, DateTimeOffset? lastModifiedOn = default, Azure.ResourceManager.HybridCompute.Models.PatchOperationStartedBy? startedBy = default, Azure.ResourceManager.HybridCompute.Models.PatchServiceUsed? patchServiceUsed = default, Azure.ResourceManager.HybridCompute.Models.HybridComputeOSType? osType = default, Azure.ResponseError errorDetails = default);
static member MachineAssessPatchesResult : Nullable<Azure.ResourceManager.HybridCompute.Models.MachineOperationStatus> * Nullable<Guid> * Nullable<bool> * Azure.ResourceManager.HybridCompute.Models.AvailablePatchCountByClassification * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.HybridCompute.Models.PatchOperationStartedBy> * Nullable<Azure.ResourceManager.HybridCompute.Models.PatchServiceUsed> * Nullable<Azure.ResourceManager.HybridCompute.Models.HybridComputeOSType> * Azure.ResponseError -> Azure.ResourceManager.HybridCompute.Models.MachineAssessPatchesResult
Public Shared Function MachineAssessPatchesResult (Optional status As Nullable(Of MachineOperationStatus) = Nothing, Optional assessmentActivityId As Nullable(Of Guid) = Nothing, Optional isRebootPending As Nullable(Of Boolean) = Nothing, Optional availablePatchCountByClassification As AvailablePatchCountByClassification = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional startedBy As Nullable(Of PatchOperationStartedBy) = Nothing, Optional patchServiceUsed As Nullable(Of PatchServiceUsed) = Nothing, Optional osType As Nullable(Of HybridComputeOSType) = Nothing, Optional errorDetails As ResponseError = Nothing) As MachineAssessPatchesResult

Parameters

status
Nullable<MachineOperationStatus>

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

The activity ID of the operation that produced this result.

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

availablePatchCountByClassification
AvailablePatchCountByClassification

Summarization of patches available for installation on the machine by classification.

startOn
Nullable<DateTimeOffset>

The UTC timestamp when the operation began.

lastModifiedOn
Nullable<DateTimeOffset>

The UTC timestamp when the operation finished.

startedBy
Nullable<PatchOperationStartedBy>

Indicates if operation was triggered by user or by platform.

patchServiceUsed
Nullable<PatchServiceUsed>

Specifies the patch service used for the operation.

osType
Nullable<HybridComputeOSType>

The operating system type of the machine.

errorDetails
ResponseError

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

Returns

A new MachineAssessPatchesResult instance for mocking.

Applies to