Class VirtualMachinePatchStatus
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.VirtualMachinePatchStatus
-
public final class VirtualMachinePatchStatus extends Object
The status of virtual machine patch operations.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachinePatchStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AvailablePatchSummaryavailablePatchSummary()Get the availablePatchSummary property: The available patch summary of the latest assessment operation for the virtual machine.List<InstanceViewStatus>configurationStatuses()Get the configurationStatuses property: The enablement status of the specified patchMode.LastPatchInstallationSummarylastPatchInstallationSummary()Get the lastPatchInstallationSummary property: The installation summary of the latest installation operation for the virtual machine.voidvalidate()Validates the instance.VirtualMachinePatchStatuswithAvailablePatchSummary(AvailablePatchSummary availablePatchSummary)Set the availablePatchSummary property: The available patch summary of the latest assessment operation for the virtual machine.VirtualMachinePatchStatuswithLastPatchInstallationSummary(LastPatchInstallationSummary lastPatchInstallationSummary)Set the lastPatchInstallationSummary property: The installation summary of the latest installation operation for the virtual machine.
-
-
-
Method Detail
-
availablePatchSummary
public AvailablePatchSummary availablePatchSummary()
Get the availablePatchSummary property: The available patch summary of the latest assessment operation for the virtual machine.- Returns:
- the availablePatchSummary value.
-
withAvailablePatchSummary
public VirtualMachinePatchStatus withAvailablePatchSummary(AvailablePatchSummary availablePatchSummary)
Set the availablePatchSummary property: The available patch summary of the latest assessment operation for the virtual machine.- Parameters:
availablePatchSummary- the availablePatchSummary value to set.- Returns:
- the VirtualMachinePatchStatus object itself.
-
lastPatchInstallationSummary
public LastPatchInstallationSummary lastPatchInstallationSummary()
Get the lastPatchInstallationSummary property: The installation summary of the latest installation operation for the virtual machine.- Returns:
- the lastPatchInstallationSummary value.
-
withLastPatchInstallationSummary
public VirtualMachinePatchStatus withLastPatchInstallationSummary(LastPatchInstallationSummary lastPatchInstallationSummary)
Set the lastPatchInstallationSummary property: The installation summary of the latest installation operation for the virtual machine.- Parameters:
lastPatchInstallationSummary- the lastPatchInstallationSummary value to set.- Returns:
- the VirtualMachinePatchStatus object itself.
-
configurationStatuses
public List<InstanceViewStatus> configurationStatuses()
Get the configurationStatuses property: The enablement status of the specified patchMode.- Returns:
- the configurationStatuses value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-