OsPatchPackageSummary

class oci.bds.models.OsPatchPackageSummary(**kwargs)

Bases: object

Summary of a package contained in a os patch.

Attributes

UPDATE_TYPE_INSTALL A constant which can be used with the update_type property of a OsPatchPackageSummary.
UPDATE_TYPE_REMOVE A constant which can be used with the update_type property of a OsPatchPackageSummary.
UPDATE_TYPE_UPDATE A constant which can be used with the update_type property of a OsPatchPackageSummary.
package_name [Required] Gets the package_name of this OsPatchPackageSummary.
related_cv_es [Required] Gets the related_cv_es of this OsPatchPackageSummary.
target_version Gets the target_version of this OsPatchPackageSummary.
update_type [Required] Gets the update_type of this OsPatchPackageSummary.

Methods

__init__(**kwargs) Initializes a new OsPatchPackageSummary object with values from keyword arguments.
UPDATE_TYPE_INSTALL = 'INSTALL'

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

UPDATE_TYPE_REMOVE = 'REMOVE'

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

UPDATE_TYPE_UPDATE = 'UPDATE'

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

__init__(**kwargs)

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

Parameters:
  • package_name (str) – The value to assign to the package_name property of this OsPatchPackageSummary.
  • target_version (str) – The value to assign to the target_version property of this OsPatchPackageSummary.
  • update_type (str) – The value to assign to the update_type property of this OsPatchPackageSummary. Allowed values for this property are: “INSTALL”, “REMOVE”, “UPDATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • related_cv_es (list[str]) – The value to assign to the related_cv_es property of this OsPatchPackageSummary.
package_name

[Required] Gets the package_name of this OsPatchPackageSummary. The package’s name.

Returns:The package_name of this OsPatchPackageSummary.
Return type:str
related_cv_es

[Required] Gets the related_cv_es of this OsPatchPackageSummary. Related CVEs of the package update.

Returns:The related_cv_es of this OsPatchPackageSummary.
Return type:list[str]
target_version

Gets the target_version of this OsPatchPackageSummary. The target version of the package.

Returns:The target_version of this OsPatchPackageSummary.
Return type:str
update_type

[Required] Gets the update_type of this OsPatchPackageSummary. The action that current package will be executed on the cluster.

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

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