Class UpgradeOccurrence (2.4.0)

public sealed class UpgradeOccurrence : IMessage<UpgradeOccurrence>, IEquatable<UpgradeOccurrence>, IDeepCloneable<UpgradeOccurrence>, IBufferMessage, IMessage

An Upgrade Occurrence represents that a specific resource_url could install a specific upgrade. This presence is supplied via local sources (i.e. it is present in the mirror and the running system has noticed its availability). For Windows, both distribution and windows_update contain information for the Windows update.

Inheritance

Object > UpgradeOccurrence

Namespace

Grafeas.V1

Assembly

Grafeas.V1.dll

Constructors

UpgradeOccurrence()

public UpgradeOccurrence()

UpgradeOccurrence(UpgradeOccurrence)

public UpgradeOccurrence(UpgradeOccurrence other)
Parameter
NameDescription
otherUpgradeOccurrence

Properties

Distribution

public UpgradeDistribution Distribution { get; set; }

Metadata about the upgrade for available for the specific operating system for the resource_url. This allows efficient filtering, as well as making it easier to use the occurrence.

Property Value
TypeDescription
UpgradeDistribution

Package

public string Package { get; set; }

Required for non-Windows OS. The package this Upgrade is for.

Property Value
TypeDescription
String

ParsedVersion

public Version ParsedVersion { get; set; }

Required for non-Windows OS. The version of the package in a machine + human readable form.

Property Value
TypeDescription
Version

WindowsUpdate

public WindowsUpdate WindowsUpdate { get; set; }

Required for Windows OS. Represents the metadata about the Windows update.

Property Value
TypeDescription
WindowsUpdate