Class Inventory (1.1.0)

Inventory(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The inventory details of a VM.

Attributes

NameDescription
os_info .inventory.Inventory.OsInfo
Base level operating system information for the VM.
items Sequence[.inventory.Inventory.ItemsEntry]
Inventory items related to the VM keyed by an opaque unique identifier for each inventory item. The identifier is unique to each distinct and addressable inventory item and will change, when there is a new package version.

Classes

Item

Item(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A single piece of inventory on a VM.

ItemsEntry

ItemsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

OsInfo

OsInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Operating system information for the VM.

SoftwarePackage

SoftwarePackage(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Software package information of the operating system.

VersionedPackage

VersionedPackage(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Information related to the a standard versioned package. This includes package info for APT, Yum, Zypper, and Googet package managers.

WindowsQuickFixEngineeringPackage

WindowsQuickFixEngineeringPackage(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Information related to a Quick Fix Engineering package. Fields are taken from Windows QuickFixEngineering Interface and match the source names: https://docs.microsoft.com/en- us/windows/win32/cimwin32prov/win32-quickfixengineering

WindowsUpdatePackage

WindowsUpdatePackage(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Details related to a Windows Update package. Field data and names are taken from Windows Update API IUpdate Interface: https://docs.microsoft.com/en-us/windows/win32/api/_wua/ Descriptive fields like title, and description are localized based on the locale of the VM being updated.

ZypperPatch

ZypperPatch(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Details related to a Zypper Patch.