VirtualMachineSoftwarePatchProperties Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. VirtualMachineSoftwarePatchProperties
- com.
Implements
public final class VirtualMachineSoftwarePatchProperties
implements JsonSerializable<VirtualMachineSoftwarePatchProperties>
Describes the properties of a Virtual Machine software patch.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineSoftwarePatchProperties() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
activityId()
Get the activity |
Patch |
assessmentState()
Get the assessment |
List<String> |
classifications()
Get the classifications property: The classification(s) of the patch as provided by the patch publisher. |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
String |
kbId()
Get the kb |
Offset |
lastModifiedDateTime()
Get the last |
String |
name()
Get the name property: The friendly name of the patch. |
String |
patchId()
Get the patch |
Offset |
publishedDate()
Get the published |
VMGuest |
rebootBehavior()
Get the reboot |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
version()
Get the version property: The version number of the patch. |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineSoftwarePatchProperties
public VirtualMachineSoftwarePatchProperties()
Creates an instance of VirtualMachineSoftwarePatchProperties class.
Method Details
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:
assessmentState
public PatchAssessmentState assessmentState()
Get the assessmentState property: Describes the availability of a given patch.
Returns:
classifications
public List
Get the classifications property: The classification(s) of the patch as provided by the patch publisher.
Returns:
fromJson
public static VirtualMachineSoftwarePatchProperties fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineSoftwarePatchProperties from the JsonReader.
Parameters:
Returns:
Throws:
kbId
public String kbId()
Get the kbId property: The KBID of the patch. Only applies to Windows patches.
Returns:
lastModifiedDateTime
public OffsetDateTime lastModifiedDateTime()
Get the lastModifiedDateTime property: The UTC timestamp of the last update to this patch record.
Returns:
name
public String name()
Get the name property: The friendly name of the patch.
Returns:
patchId
public String patchId()
Get the patchId property: A unique identifier for the patch.
Returns:
publishedDate
public OffsetDateTime publishedDate()
Get the publishedDate property: The UTC timestamp when the repository published this patch.
Returns:
rebootBehavior
public VMGuestPatchRebootBehavior rebootBehavior()
Get the rebootBehavior property: Describes the reboot requirements of the patch.
Returns:
toJson
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: The version number of the patch. This property applies only to Linux patches.
Returns:
Applies to
Azure SDK for Java