VirtualMachineSoftwarePatchProperties Class

Describes the properties of a Virtual Machine software patch.

Constructor

VirtualMachineSoftwarePatchProperties(*args: Any, **kwargs: Any)

Variables

Name Description
patch_id
str

A unique identifier for the patch.

name
str

The friendly name of the patch.

version
str

The version number of the patch. This property applies only to Linux patches.

kb_id
str

The KBID of the patch. Only applies to Windows patches.

classifications

The classification(s) of the patch as provided by the patch publisher.

reboot_behavior

Describes the reboot requirements of the patch. Known values are: "Unknown", "NeverReboots", "AlwaysRequiresReboot", and "CanRequestReboot".

activity_id
str

The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.

published_date

The UTC timestamp when the repository published this patch.

last_modified_date_time

The UTC timestamp of the last update to this patch record.

assessment_state

Describes the availability of a given patch. Known values are: "Unknown" and "Available".

Attributes

activity_id

The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.

activity_id: str | None

assessment_state

"Unknown" and "Available".

assessment_state: str | _models.PatchAssessmentState | None

classifications

The classification(s) of the patch as provided by the patch publisher.

classifications: list[str] | None

kb_id

The KBID of the patch. Only applies to Windows patches.

kb_id: str | None

last_modified_date_time

The UTC timestamp of the last update to this patch record.

last_modified_date_time: datetime | None

name

The friendly name of the patch.

name: str | None

patch_id

A unique identifier for the patch.

patch_id: str | None

published_date

The UTC timestamp when the repository published this patch.

published_date: datetime | None

reboot_behavior

"Unknown", "NeverReboots", "AlwaysRequiresReboot", and "CanRequestReboot".

reboot_behavior: str | _models.VMGuestPatchRebootBehavior | None

version

The version number of the patch. This property applies only to Linux patches.

version: str | None