UpdatePackagesOnDynamicSetDetails

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

Bases: object

Provides the information used to update software packages on a dynamic set.

Attributes:

UPDATE_TYPES_ALL

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

UPDATE_TYPES_BUGFIX

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

UPDATE_TYPES_ENHANCEMENT

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

UPDATE_TYPES_KSPLICE_KERNEL

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

UPDATE_TYPES_KSPLICE_USERSPACE

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

UPDATE_TYPES_OTHER

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

UPDATE_TYPES_SECURITY

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

managed_instances

Gets the managed_instances of this UpdatePackagesOnDynamicSetDetails.

update_types

Gets the update_types of this UpdatePackagesOnDynamicSetDetails.

work_request_details

Gets the work_request_details of this UpdatePackagesOnDynamicSetDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdatePackagesOnDynamicSetDetails object with values from keyword arguments.

UPDATE_TYPES_ALL = 'ALL'

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

UPDATE_TYPES_BUGFIX = 'BUGFIX'

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

UPDATE_TYPES_ENHANCEMENT = 'ENHANCEMENT'

A constant which can be used with the update_types property of a UpdatePackagesOnDynamicSetDetails. 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 UpdatePackagesOnDynamicSetDetails. 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 UpdatePackagesOnDynamicSetDetails. 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 UpdatePackagesOnDynamicSetDetails. This constant has a value of “OTHER”

UPDATE_TYPES_SECURITY = 'SECURITY'

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

__init__(**kwargs)

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

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

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

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

property managed_instances

Gets the managed_instances of this UpdatePackagesOnDynamicSetDetails. The list of managed instance OCIDs to be attached/detached.

Returns

The managed_instances of this UpdatePackagesOnDynamicSetDetails.

Return type

list[str]

property update_types

Gets the update_types of this UpdatePackagesOnDynamicSetDetails. 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 UpdatePackagesOnDynamicSetDetails.

Return type

list[str]

property work_request_details

Gets the work_request_details of this UpdatePackagesOnDynamicSetDetails.

Returns

The work_request_details of this UpdatePackagesOnDynamicSetDetails.

Return type

oci.os_management_hub.models.WorkRequestDetails