VirtualMachineAssessPatchesResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.connectedvmware.fluent.models.VirtualMachineAssessPatchesResultInner

public final class VirtualMachineAssessPatchesResultInner

Describes the properties of an AssessPatches result.

Constructor Summary

Constructor Description
VirtualMachineAssessPatchesResultInner()

Method Summary

Modifier and Type Method and Description
String assessmentActivityId()

Get the assessmentActivityId property: The activity ID of the operation that produced this result.

AvailablePatchCountByClassification availablePatchCountByClassification()

Get the availablePatchCountByClassification property: Summarization of patches available for installation on the machine by classification.

ErrorDetail errorDetails()

Get the errorDetails property: Error details.

OffsetDateTime lastModifiedDateTime()

Get the lastModifiedDateTime property: The UTC timestamp when the operation finished.

OsTypeUM osType()

Get the osType property: The operating system type of the machine.

PatchServiceUsed patchServiceUsed()

Get the patchServiceUsed property: Specifies the patch service used for the operation.

Boolean rebootPending()

Get the rebootPending property: The overall reboot status of the VM.

OffsetDateTime startDateTime()

Get the startDateTime property: The UTC timestamp when the operation began.

PatchOperationStartedBy startedBy()

Get the startedBy property: Indicates if operation was triggered by user or by platform.

PatchOperationStatus status()

Get the status property: The overall success or failure status of the operation.

void validate()

Validates the instance.

VirtualMachineAssessPatchesResultInner withAvailablePatchCountByClassification(AvailablePatchCountByClassification availablePatchCountByClassification)

Set the availablePatchCountByClassification property: Summarization of patches available for installation on the machine by classification.

Methods inherited from java.lang.Object

Constructor Details

VirtualMachineAssessPatchesResultInner

public VirtualMachineAssessPatchesResultInner()

Method Details

assessmentActivityId

public String assessmentActivityId()

Get the assessmentActivityId property: The activity ID of the operation that produced this result.

Returns:

the assessmentActivityId value.

availablePatchCountByClassification

public AvailablePatchCountByClassification availablePatchCountByClassification()

Get the availablePatchCountByClassification property: Summarization of patches available for installation on the machine by classification.

Returns:

the availablePatchCountByClassification value.

errorDetails

public ErrorDetail 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.

lastModifiedDateTime

public OffsetDateTime lastModifiedDateTime()

Get the lastModifiedDateTime property: The UTC timestamp when the operation finished.

Returns:

the lastModifiedDateTime value.

osType

public OsTypeUM osType()

Get the osType property: The operating system type of the machine.

Returns:

the osType value.

patchServiceUsed

public PatchServiceUsed patchServiceUsed()

Get the patchServiceUsed property: Specifies the patch service used for the operation.

Returns:

the patchServiceUsed value.

rebootPending

public Boolean 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.

startDateTime

public OffsetDateTime startDateTime()

Get the startDateTime property: The UTC timestamp when the operation began.

Returns:

the startDateTime value.

startedBy

public PatchOperationStartedBy startedBy()

Get the startedBy property: Indicates if operation was triggered by user or by platform.

Returns:

the startedBy value.

status

public PatchOperationStatus 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.

validate

public void validate()

Validates the instance.

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.

Applies to