UpdatePackagesOnManagedInstanceDetails

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

Bases: object

Provides the information used to update software packages on a managed instance.

Attributes:

UPDATE_TYPES_ALL

A constant which can be used with the update_types property of a UpdatePackagesOnManagedInstanceDetails.

UPDATE_TYPES_BUGFIX

A constant which can be used with the update_types property of a UpdatePackagesOnManagedInstanceDetails.

UPDATE_TYPES_ENHANCEMENT

A constant which can be used with the update_types property of a UpdatePackagesOnManagedInstanceDetails.

UPDATE_TYPES_KSPLICE_KERNEL

A constant which can be used with the update_types property of a UpdatePackagesOnManagedInstanceDetails.

UPDATE_TYPES_KSPLICE_USERSPACE

A constant which can be used with the update_types property of a UpdatePackagesOnManagedInstanceDetails.

UPDATE_TYPES_OTHER

A constant which can be used with the update_types property of a UpdatePackagesOnManagedInstanceDetails.

UPDATE_TYPES_SECURITY

A constant which can be used with the update_types property of a UpdatePackagesOnManagedInstanceDetails.

package_names

Gets the package_names of this UpdatePackagesOnManagedInstanceDetails.

update_types

Gets the update_types of this UpdatePackagesOnManagedInstanceDetails.

work_request_details

Gets the work_request_details of this UpdatePackagesOnManagedInstanceDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdatePackagesOnManagedInstanceDetails object with values from keyword arguments.

UPDATE_TYPES_ALL = 'ALL'

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

UPDATE_TYPES_BUGFIX = 'BUGFIX'

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

UPDATE_TYPES_ENHANCEMENT = 'ENHANCEMENT'

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

UPDATE_TYPES_KSPLICE_KERNEL = 'KSPLICE_KERNEL'

A constant which can be used with the update_types property of a UpdatePackagesOnManagedInstanceDetails. This constant has a value of “KSPLICE_KERNEL”

UPDATE_TYPES_KSPLICE_USERSPACE = 'KSPLICE_USERSPACE'

A constant which can be used with the update_types property of a UpdatePackagesOnManagedInstanceDetails. This constant has a value of “KSPLICE_USERSPACE”

UPDATE_TYPES_OTHER = 'OTHER'

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

UPDATE_TYPES_SECURITY = 'SECURITY'

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

__init__(**kwargs)

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

Parameters
  • package_names (list[str]) – The value to assign to the package_names property of this UpdatePackagesOnManagedInstanceDetails.

  • update_types (list[str]) – The value to assign to the update_types property of this UpdatePackagesOnManagedInstanceDetails. Allowed values for items in this list are: “SECURITY”, “BUGFIX”, “ENHANCEMENT”, “OTHER”, “KSPLICE_KERNEL”, “KSPLICE_USERSPACE”, “ALL”

  • work_request_details (oci.os_management_hub.models.WorkRequestDetails) – The value to assign to the work_request_details property of this UpdatePackagesOnManagedInstanceDetails.

property package_names

Gets the package_names of this UpdatePackagesOnManagedInstanceDetails. The list of package names.

Returns

The package_names of this UpdatePackagesOnManagedInstanceDetails.

Return type

list[str]

property update_types

Gets the update_types of this UpdatePackagesOnManagedInstanceDetails. The types of updates to be applied.

Allowed values for items in this list are: “SECURITY”, “BUGFIX”, “ENHANCEMENT”, “OTHER”, “KSPLICE_KERNEL”, “KSPLICE_USERSPACE”, “ALL”

Returns

The update_types of this UpdatePackagesOnManagedInstanceDetails.

Return type

list[str]

property work_request_details

Gets the work_request_details of this UpdatePackagesOnManagedInstanceDetails.

Returns

The work_request_details of this UpdatePackagesOnManagedInstanceDetails.

Return type

oci.os_management_hub.models.WorkRequestDetails