UpdateAllPackagesOnManagedInstancesInCompartmentDetails¶
-
class
oci.os_management_hub.models.
UpdateAllPackagesOnManagedInstancesInCompartmentDetails
(**kwargs)¶ Bases:
object
Provides the information used to update all packages of a specified type on managed instances within the specified compartment.
Attributes
UPDATE_TYPES_ALL
A constant which can be used with the update_types property of a UpdateAllPackagesOnManagedInstancesInCompartmentDetails. UPDATE_TYPES_BUGFIX
A constant which can be used with the update_types property of a UpdateAllPackagesOnManagedInstancesInCompartmentDetails. UPDATE_TYPES_ENHANCEMENT
A constant which can be used with the update_types property of a UpdateAllPackagesOnManagedInstancesInCompartmentDetails. UPDATE_TYPES_KSPLICE_KERNEL
A constant which can be used with the update_types property of a UpdateAllPackagesOnManagedInstancesInCompartmentDetails. UPDATE_TYPES_KSPLICE_USERSPACE
A constant which can be used with the update_types property of a UpdateAllPackagesOnManagedInstancesInCompartmentDetails. UPDATE_TYPES_OTHER
A constant which can be used with the update_types property of a UpdateAllPackagesOnManagedInstancesInCompartmentDetails. UPDATE_TYPES_SECURITY
A constant which can be used with the update_types property of a UpdateAllPackagesOnManagedInstancesInCompartmentDetails. compartment_id
[Required] Gets the compartment_id of this UpdateAllPackagesOnManagedInstancesInCompartmentDetails. update_types
Gets the update_types of this UpdateAllPackagesOnManagedInstancesInCompartmentDetails. work_request_details
Gets the work_request_details of this UpdateAllPackagesOnManagedInstancesInCompartmentDetails. Methods
__init__
(**kwargs)Initializes a new UpdateAllPackagesOnManagedInstancesInCompartmentDetails object with values from keyword arguments. -
UPDATE_TYPES_ALL
= 'ALL'¶ A constant which can be used with the update_types property of a UpdateAllPackagesOnManagedInstancesInCompartmentDetails. This constant has a value of “ALL”
-
UPDATE_TYPES_BUGFIX
= 'BUGFIX'¶ A constant which can be used with the update_types property of a UpdateAllPackagesOnManagedInstancesInCompartmentDetails. This constant has a value of “BUGFIX”
-
UPDATE_TYPES_ENHANCEMENT
= 'ENHANCEMENT'¶ A constant which can be used with the update_types property of a UpdateAllPackagesOnManagedInstancesInCompartmentDetails. 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 UpdateAllPackagesOnManagedInstancesInCompartmentDetails. 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 UpdateAllPackagesOnManagedInstancesInCompartmentDetails. 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 UpdateAllPackagesOnManagedInstancesInCompartmentDetails. This constant has a value of “OTHER”
-
UPDATE_TYPES_SECURITY
= 'SECURITY'¶ A constant which can be used with the update_types property of a UpdateAllPackagesOnManagedInstancesInCompartmentDetails. This constant has a value of “SECURITY”
-
__init__
(**kwargs)¶ Initializes a new UpdateAllPackagesOnManagedInstancesInCompartmentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this UpdateAllPackagesOnManagedInstancesInCompartmentDetails.
- update_types (list[str]) – The value to assign to the update_types property of this UpdateAllPackagesOnManagedInstancesInCompartmentDetails. 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 UpdateAllPackagesOnManagedInstancesInCompartmentDetails.
-
compartment_id
¶ [Required] Gets the compartment_id of this UpdateAllPackagesOnManagedInstancesInCompartmentDetails. The OCID of the compartment.
Returns: The compartment_id of this UpdateAllPackagesOnManagedInstancesInCompartmentDetails. Return type: str
-
update_types
¶ Gets the update_types of this UpdateAllPackagesOnManagedInstancesInCompartmentDetails. 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 UpdateAllPackagesOnManagedInstancesInCompartmentDetails. Return type: list[str]
-
work_request_details
¶ Gets the work_request_details of this UpdateAllPackagesOnManagedInstancesInCompartmentDetails.
Returns: The work_request_details of this UpdateAllPackagesOnManagedInstancesInCompartmentDetails. Return type: oci.os_management_hub.models.WorkRequestDetails
-