Delen via


ArmComputeModelFactory.VirtualMachinePatchStatus Method

Definition

Initializes a new instance of VirtualMachinePatchStatus.

public static Azure.ResourceManager.Compute.Models.VirtualMachinePatchStatus VirtualMachinePatchStatus (Azure.ResourceManager.Compute.Models.AvailablePatchSummary availablePatchSummary = default, Azure.ResourceManager.Compute.Models.LastPatchInstallationSummary lastPatchInstallationSummary = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.InstanceViewStatus> configurationStatuses = default);
static member VirtualMachinePatchStatus : Azure.ResourceManager.Compute.Models.AvailablePatchSummary * Azure.ResourceManager.Compute.Models.LastPatchInstallationSummary * seq<Azure.ResourceManager.Compute.Models.InstanceViewStatus> -> Azure.ResourceManager.Compute.Models.VirtualMachinePatchStatus
Public Shared Function VirtualMachinePatchStatus (Optional availablePatchSummary As AvailablePatchSummary = Nothing, Optional lastPatchInstallationSummary As LastPatchInstallationSummary = Nothing, Optional configurationStatuses As IEnumerable(Of InstanceViewStatus) = Nothing) As VirtualMachinePatchStatus

Parameters

availablePatchSummary
AvailablePatchSummary

The available patch summary of the latest assessment operation for the virtual machine.

lastPatchInstallationSummary
LastPatchInstallationSummary

The installation summary of the latest installation operation for the virtual machine.

configurationStatuses
IEnumerable<InstanceViewStatus>

The enablement status of the specified patchMode.

Returns

A new VirtualMachinePatchStatus instance for mocking.

Applies to