Class VirtualMachineSoftwarePatchProperties
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.VirtualMachineSoftwarePatchProperties
-
public final class VirtualMachineSoftwarePatchProperties extends Object
Describes the properties of a Virtual Machine software patch.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineSoftwarePatchProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringactivityId()Get the activityId property: The activity ID of the operation that produced this result.PatchAssessmentStateassessmentState()Get the assessmentState property: Describes the availability of a given patch.List<String>classifications()Get the classifications property: The classification(s) of the patch as provided by the patch publisher.StringkbId()Get the kbId property: The KBID of the patch.OffsetDateTimelastModifiedDateTime()Get the lastModifiedDateTime property: The UTC timestamp of the last update to this patch record.Stringname()Get the name property: The friendly name of the patch.StringpatchId()Get the patchId property: A unique identifier for the patch.OffsetDateTimepublishedDate()Get the publishedDate property: The UTC timestamp when the repository published this patch.VMGuestPatchRebootBehaviorrebootBehavior()Get the rebootBehavior property: Describes the reboot requirements of the patch.voidvalidate()Validates the instance.Stringversion()Get the version property: The version number of the patch.
-
-
-
Method Detail
-
patchId
public String patchId()
Get the patchId property: A unique identifier for the patch.- Returns:
- the patchId value.
-
name
public String name()
Get the name property: The friendly name of the patch.- Returns:
- the name value.
-
version
public String version()
Get the version property: The version number of the patch. This property applies only to Linux patches.- Returns:
- the version value.
-
kbId
public String kbId()
Get the kbId property: The KBID of the patch. Only applies to Windows patches.- Returns:
- the kbId value.
-
classifications
public List<String> classifications()
Get the classifications property: The classification(s) of the patch as provided by the patch publisher.- Returns:
- the classifications value.
-
rebootBehavior
public VMGuestPatchRebootBehavior rebootBehavior()
Get the rebootBehavior property: Describes the reboot requirements of the patch.- Returns:
- the rebootBehavior value.
-
activityId
public String activityId()
Get the activityId property: The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.- Returns:
- the activityId value.
-
publishedDate
public OffsetDateTime publishedDate()
Get the publishedDate property: The UTC timestamp when the repository published this patch.- Returns:
- the publishedDate value.
-
lastModifiedDateTime
public OffsetDateTime lastModifiedDateTime()
Get the lastModifiedDateTime property: The UTC timestamp of the last update to this patch record.- Returns:
- the lastModifiedDateTime value.
-
assessmentState
public PatchAssessmentState assessmentState()
Get the assessmentState property: Describes the availability of a given patch.- Returns:
- the assessmentState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-