Class VirtualMachineAssessPatchesResultInner
java.lang.Object
com.azure.resourcemanager.connectedvmware.fluent.models.VirtualMachineAssessPatchesResultInner
Describes the properties of an AssessPatches result.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the assessmentActivityId property: The activity ID of the operation that produced this result.Get the availablePatchCountByClassification property: Summarization of patches available for installation on the machine by classification.Get the errorDetails property: Error details.Get the lastModifiedDateTime property: The UTC timestamp when the operation finished.osType()
Get the osType property: The operating system type of the machine.Get the patchServiceUsed property: Specifies the patch service used for the operation.Get the rebootPending property: The overall reboot status of the VM.Get the startDateTime property: The UTC timestamp when the operation began.Get the startedBy property: Indicates if operation was triggered by user or by platform.status()
Get the status property: The overall success or failure status of the operation.void
validate()
Validates the instance.withAvailablePatchCountByClassification
(AvailablePatchCountByClassification availablePatchCountByClassification) Set the availablePatchCountByClassification property: Summarization of patches available for installation on the machine by classification.
-
Constructor Details
-
VirtualMachineAssessPatchesResultInner
public VirtualMachineAssessPatchesResultInner()
-
-
Method Details
-
status
Get the status property: 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.".- Returns:
- the status value.
-
assessmentActivityId
Get the assessmentActivityId property: The activity ID of the operation that produced this result.- Returns:
- the assessmentActivityId value.
-
rebootPending
Get the rebootPending property: 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.- Returns:
- the rebootPending value.
-
availablePatchCountByClassification
Get the availablePatchCountByClassification property: Summarization of patches available for installation on the machine by classification.- Returns:
- the availablePatchCountByClassification value.
-
withAvailablePatchCountByClassification
public VirtualMachineAssessPatchesResultInner withAvailablePatchCountByClassification(AvailablePatchCountByClassification availablePatchCountByClassification) Set the availablePatchCountByClassification property: Summarization of patches available for installation on the machine by classification.- Parameters:
availablePatchCountByClassification
- the availablePatchCountByClassification value to set.- Returns:
- the VirtualMachineAssessPatchesResultInner object itself.
-
startDateTime
Get the startDateTime property: The UTC timestamp when the operation began.- Returns:
- the startDateTime value.
-
lastModifiedDateTime
Get the lastModifiedDateTime property: The UTC timestamp when the operation finished.- Returns:
- the lastModifiedDateTime value.
-
startedBy
Get the startedBy property: Indicates if operation was triggered by user or by platform.- Returns:
- the startedBy value.
-
patchServiceUsed
Get the patchServiceUsed property: Specifies the patch service used for the operation.- Returns:
- the patchServiceUsed value.
-
osType
Get the osType property: The operating system type of the machine.- Returns:
- the osType value.
-
errorDetails
Get the errorDetails property: Error details.The errors that were encountered during execution of the operation. The details array contains the list of them.
- Returns:
- the errorDetails value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-