UpdatablePackageSummary

class oci.os_management_hub.models.UpdatablePackageSummary(**kwargs)

Bases: PackageSummary

Provides summary information for a software package available for installation on a managed instance.

Attributes:

ADVISORY_SEVERITY_CRITICAL

A constant which can be used with the advisory_severity property of a UpdatablePackageSummary.

ADVISORY_SEVERITY_IMPORTANT

A constant which can be used with the advisory_severity property of a UpdatablePackageSummary.

ADVISORY_SEVERITY_LOW

A constant which can be used with the advisory_severity property of a UpdatablePackageSummary.

ADVISORY_SEVERITY_MODERATE

A constant which can be used with the advisory_severity property of a UpdatablePackageSummary.

ARCHITECTURE_AARCH64

A constant which can be used with the architecture property of a PackageSummary.

ARCHITECTURE_ALL

A constant which can be used with the architecture property of a PackageSummary.

ARCHITECTURE_AMD64

A constant which can be used with the architecture property of a PackageSummary.

ARCHITECTURE_ARM64

A constant which can be used with the architecture property of a PackageSummary.

ARCHITECTURE_I386

A constant which can be used with the architecture property of a PackageSummary.

ARCHITECTURE_I686

A constant which can be used with the architecture property of a PackageSummary.

ARCHITECTURE_NOARCH

A constant which can be used with the architecture property of a PackageSummary.

ARCHITECTURE_SRC

A constant which can be used with the architecture property of a PackageSummary.

ARCHITECTURE_X86_64

A constant which can be used with the architecture property of a PackageSummary.

PACKAGE_CLASSIFICATION_AVAILABLE

A constant which can be used with the package_classification property of a PackageSummary.

PACKAGE_CLASSIFICATION_INSTALLED

A constant which can be used with the package_classification property of a PackageSummary.

PACKAGE_CLASSIFICATION_UPDATABLE

A constant which can be used with the package_classification property of a PackageSummary.

UPDATE_TYPE_BUGFIX

A constant which can be used with the update_type property of a UpdatablePackageSummary.

UPDATE_TYPE_ENHANCEMENT

A constant which can be used with the update_type property of a UpdatablePackageSummary.

UPDATE_TYPE_OTHER

A constant which can be used with the update_type property of a UpdatablePackageSummary.

UPDATE_TYPE_SECURITY

A constant which can be used with the update_type property of a UpdatablePackageSummary.

advisory_severity

Gets the advisory_severity of this UpdatablePackageSummary.

architecture

Gets the architecture of this PackageSummary.

display_name

[Required] Gets the display_name of this PackageSummary.

errata

Gets the errata of this UpdatablePackageSummary.

installed_version

Gets the installed_version of this UpdatablePackageSummary.

name

[Required] Gets the name of this PackageSummary.

package_classification

[Required] Gets the package_classification of this PackageSummary.

related_cves

Gets the related_cves of this UpdatablePackageSummary.

software_sources

Gets the software_sources of this PackageSummary.

type

[Required] Gets the type of this PackageSummary.

update_type

[Required] Gets the update_type of this UpdatablePackageSummary.

version

[Required] Gets the version of this PackageSummary.

Methods:

__init__(**kwargs)

Initializes a new UpdatablePackageSummary object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

ADVISORY_SEVERITY_CRITICAL = 'CRITICAL'

A constant which can be used with the advisory_severity property of a UpdatablePackageSummary. This constant has a value of “CRITICAL”

ADVISORY_SEVERITY_IMPORTANT = 'IMPORTANT'

A constant which can be used with the advisory_severity property of a UpdatablePackageSummary. This constant has a value of “IMPORTANT”

ADVISORY_SEVERITY_LOW = 'LOW'

A constant which can be used with the advisory_severity property of a UpdatablePackageSummary. This constant has a value of “LOW”

ADVISORY_SEVERITY_MODERATE = 'MODERATE'

A constant which can be used with the advisory_severity property of a UpdatablePackageSummary. This constant has a value of “MODERATE”

ARCHITECTURE_AARCH64 = 'AARCH64'

A constant which can be used with the architecture property of a PackageSummary. This constant has a value of “AARCH64”

ARCHITECTURE_ALL = 'ALL'

A constant which can be used with the architecture property of a PackageSummary. This constant has a value of “ALL”

ARCHITECTURE_AMD64 = 'AMD64'

A constant which can be used with the architecture property of a PackageSummary. This constant has a value of “AMD64”

ARCHITECTURE_ARM64 = 'ARM64'

A constant which can be used with the architecture property of a PackageSummary. This constant has a value of “ARM64”

ARCHITECTURE_I386 = 'I386'

A constant which can be used with the architecture property of a PackageSummary. This constant has a value of “I386”

ARCHITECTURE_I686 = 'I686'

A constant which can be used with the architecture property of a PackageSummary. This constant has a value of “I686”

ARCHITECTURE_NOARCH = 'NOARCH'

A constant which can be used with the architecture property of a PackageSummary. This constant has a value of “NOARCH”

ARCHITECTURE_SRC = 'SRC'

A constant which can be used with the architecture property of a PackageSummary. This constant has a value of “SRC”

ARCHITECTURE_X86_64 = 'X86_64'

A constant which can be used with the architecture property of a PackageSummary. This constant has a value of “X86_64”

PACKAGE_CLASSIFICATION_AVAILABLE = 'AVAILABLE'

A constant which can be used with the package_classification property of a PackageSummary. This constant has a value of “AVAILABLE”

PACKAGE_CLASSIFICATION_INSTALLED = 'INSTALLED'

A constant which can be used with the package_classification property of a PackageSummary. This constant has a value of “INSTALLED”

PACKAGE_CLASSIFICATION_UPDATABLE = 'UPDATABLE'

A constant which can be used with the package_classification property of a PackageSummary. This constant has a value of “UPDATABLE”

UPDATE_TYPE_BUGFIX = 'BUGFIX'

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

UPDATE_TYPE_ENHANCEMENT = 'ENHANCEMENT'

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

UPDATE_TYPE_OTHER = 'OTHER'

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

UPDATE_TYPE_SECURITY = 'SECURITY'

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

__init__(**kwargs)

Initializes a new UpdatablePackageSummary object with values from keyword arguments. The default value of the package_classification attribute of this class is UPDATABLE and it should not be changed. 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 UpdatablePackageSummary.

  • name (str) – The value to assign to the name property of this UpdatablePackageSummary.

  • type (str) – The value to assign to the type property of this UpdatablePackageSummary.

  • version (str) – The value to assign to the version property of this UpdatablePackageSummary.

  • architecture (str) – The value to assign to the architecture property of this UpdatablePackageSummary. Allowed values for this property are: “X86_64”, “AARCH64”, “I686”, “NOARCH”, “SRC”, “I386”, “AMD64”, “ARM64”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • software_sources (list[oci.os_management_hub.models.SoftwareSourceDetails]) – The value to assign to the software_sources property of this UpdatablePackageSummary.

  • package_classification (str) – The value to assign to the package_classification property of this UpdatablePackageSummary. Allowed values for this property are: “INSTALLED”, “AVAILABLE”, “UPDATABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • installed_version (str) – The value to assign to the installed_version property of this UpdatablePackageSummary.

  • update_type (str) – The value to assign to the update_type property of this UpdatablePackageSummary. Allowed values for this property are: “SECURITY”, “BUGFIX”, “ENHANCEMENT”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • errata (list[str]) – The value to assign to the errata property of this UpdatablePackageSummary.

  • related_cves (list[str]) – The value to assign to the related_cves property of this UpdatablePackageSummary.

  • advisory_severity (str) – The value to assign to the advisory_severity property of this UpdatablePackageSummary. Allowed values for this property are: “LOW”, “MODERATE”, “IMPORTANT”, “CRITICAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property advisory_severity

Gets the advisory_severity of this UpdatablePackageSummary. The severity level of the security update. Only applicable when updateType is SECURITY.

Allowed values for this property are: “LOW”, “MODERATE”, “IMPORTANT”, “CRITICAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The advisory_severity of this UpdatablePackageSummary.

Return type

str

property architecture

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

Allowed values for this property are: “X86_64”, “AARCH64”, “I686”, “NOARCH”, “SRC”, “I386”, “AMD64”, “ARM64”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The architecture of this PackageSummary.

Return type

str

property display_name

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

Returns

The display_name of this PackageSummary.

Return type

str

property errata

Gets the errata of this UpdatablePackageSummary. List of errata applicable to this update.

Returns

The errata of this UpdatablePackageSummary.

Return type

list[str]

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property installed_version

Gets the installed_version of this UpdatablePackageSummary. The version of the package that is currently installed on the instance.

Returns

The installed_version of this UpdatablePackageSummary.

Return type

str

property name

[Required] Gets the name of this PackageSummary. Unique identifier for the package.

Returns

The name of this PackageSummary.

Return type

str

property package_classification

[Required] Gets the package_classification of this PackageSummary. Status of the software package.

Allowed values for this property are: “INSTALLED”, “AVAILABLE”, “UPDATABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The package_classification of this PackageSummary.

Return type

str

property related_cves

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

Returns

The related_cves of this UpdatablePackageSummary.

Return type

list[str]

property software_sources

Gets the software_sources of this PackageSummary. List of software sources that provide the software package.

Returns

The software_sources of this PackageSummary.

Return type

list[oci.os_management_hub.models.SoftwareSourceDetails]

property type

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

Returns

The type of this PackageSummary.

Return type

str

property update_type

[Required] Gets the update_type of this UpdatablePackageSummary. The type of update.

Allowed values for this property are: “SECURITY”, “BUGFIX”, “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 UpdatablePackageSummary.

Return type

str

property version

[Required] Gets the version of this PackageSummary. Version of the installed package.

Returns

The version of this PackageSummary.

Return type

str