AvailableUpdateSummary

class oci.os_management.models.AvailableUpdateSummary(**kwargs)

Bases: object

An update available for a managed instance

Attributes

UPDATE_TYPE_BUG A constant which can be used with the update_type property of a AvailableUpdateSummary.
UPDATE_TYPE_ENHANCEMENT A constant which can be used with the update_type property of a AvailableUpdateSummary.
UPDATE_TYPE_OTHER A constant which can be used with the update_type property of a AvailableUpdateSummary.
UPDATE_TYPE_SECURITY A constant which can be used with the update_type property of a AvailableUpdateSummary.
architecture Gets the architecture of this AvailableUpdateSummary.
available_version [Required] Gets the available_version of this AvailableUpdateSummary.
display_name [Required] Gets the display_name of this AvailableUpdateSummary.
errata Gets the errata of this AvailableUpdateSummary.
installed_version [Required] Gets the installed_version of this AvailableUpdateSummary.
name [Required] Gets the name of this AvailableUpdateSummary.
related_cves Gets the related_cves of this AvailableUpdateSummary.
software_sources Gets the software_sources of this AvailableUpdateSummary.
type [Required] Gets the type of this AvailableUpdateSummary.
update_type Gets the update_type of this AvailableUpdateSummary.

Methods

__init__(**kwargs) Initializes a new AvailableUpdateSummary object with values from keyword arguments.
UPDATE_TYPE_BUG = 'BUG'

A constant which can be used with the update_type property of a AvailableUpdateSummary. This constant has a value of “BUG”

UPDATE_TYPE_ENHANCEMENT = 'ENHANCEMENT'

A constant which can be used with the update_type property of a AvailableUpdateSummary. This constant has a value of “ENHANCEMENT”

UPDATE_TYPE_OTHER = 'OTHER'

A constant which can be used with the update_type property of a AvailableUpdateSummary. This constant has a value of “OTHER”

UPDATE_TYPE_SECURITY = 'SECURITY'

A constant which can be used with the update_type property of a AvailableUpdateSummary. This constant has a value of “SECURITY”

__init__(**kwargs)

Initializes a new AvailableUpdateSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this AvailableUpdateSummary.
  • name (str) – The value to assign to the name property of this AvailableUpdateSummary.
  • update_type (str) – The value to assign to the update_type property of this AvailableUpdateSummary. Allowed values for this property are: “SECURITY”, “BUG”, “ENHANCEMENT”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • type (str) – The value to assign to the type property of this AvailableUpdateSummary.
  • installed_version (str) – The value to assign to the installed_version property of this AvailableUpdateSummary.
  • available_version (str) – The value to assign to the available_version property of this AvailableUpdateSummary.
  • architecture (str) – The value to assign to the architecture property of this AvailableUpdateSummary.
  • errata (list[oci.os_management.models.Id]) – The value to assign to the errata property of this AvailableUpdateSummary.
  • related_cves (list[str]) – The value to assign to the related_cves property of this AvailableUpdateSummary.
  • software_sources (list[oci.os_management.models.SoftwareSourceId]) – The value to assign to the software_sources property of this AvailableUpdateSummary.
architecture

Gets the architecture of this AvailableUpdateSummary. The architecture for which this package was built

Returns:The architecture of this AvailableUpdateSummary.
Return type:str
available_version

[Required] Gets the available_version of this AvailableUpdateSummary. Version of the package available for update

Returns:The available_version of this AvailableUpdateSummary.
Return type:str
display_name

[Required] Gets the display_name of this AvailableUpdateSummary. Package name

Returns:The display_name of this AvailableUpdateSummary.
Return type:str
errata

Gets the errata of this AvailableUpdateSummary. List of errata containing this update

Returns:The errata of this AvailableUpdateSummary.
Return type:list[oci.os_management.models.Id]
installed_version

[Required] Gets the installed_version of this AvailableUpdateSummary. Version of the installed package

Returns:The installed_version of this AvailableUpdateSummary.
Return type:str
name

[Required] Gets the name of this AvailableUpdateSummary. Unique identifier for the package available for update. NOTE - This is not an OCID

Returns:The name of this AvailableUpdateSummary.
Return type:str
related_cves

Gets the related_cves of this AvailableUpdateSummary. List of CVEs applicable to this erratum

Returns:The related_cves of this AvailableUpdateSummary.
Return type:list[str]
software_sources

Gets the software_sources of this AvailableUpdateSummary. list of software sources that provide the software package

Returns:The software_sources of this AvailableUpdateSummary.
Return type:list[oci.os_management.models.SoftwareSourceId]
type

[Required] Gets the type of this AvailableUpdateSummary. Type of the package

Returns:The type of this AvailableUpdateSummary.
Return type:str
update_type

Gets the update_type of this AvailableUpdateSummary. The purpose of this update.

Allowed values for this property are: “SECURITY”, “BUG”, “ENHANCEMENT”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The update_type of this AvailableUpdateSummary.
Return type:str