public sealed class UpgradeOccurrence : IMessage<UpgradeOccurrence>, IEquatable<UpgradeOccurrence>, IDeepCloneable<UpgradeOccurrence>, IBufferMessage, IMessage
Reference documentation and code samples for the Grafeas v1 API class UpgradeOccurrence.
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.
Implements
IMessageUpgradeOccurrence, IEquatableUpgradeOccurrence, IDeepCloneableUpgradeOccurrence, IBufferMessage, IMessageNamespace
Grafeas.V1Assembly
Grafeas.V1.dll
Constructors
UpgradeOccurrence()
public UpgradeOccurrence()
UpgradeOccurrence(UpgradeOccurrence)
public UpgradeOccurrence(UpgradeOccurrence other)
Parameter | |
---|---|
Name | Description |
other |
UpgradeOccurrence |
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 | |
---|---|
Type | Description |
UpgradeDistribution |
Package
public string Package { get; set; }
Required for non-Windows OS. The package this Upgrade is for.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Version |
WindowsUpdate
public WindowsUpdate WindowsUpdate { get; set; }
Required for Windows OS. Represents the metadata about the Windows update.
Property Value | |
---|---|
Type | Description |
WindowsUpdate |