OsPatchDetails¶
-
class
oci.bds.models.
OsPatchDetails
(**kwargs)¶ Bases:
object
Details of an os patch.
Attributes
PATCH_TYPE_CUSTOM
A constant which can be used with the patch_type property of a OsPatchDetails. PATCH_TYPE_EMERGENT
A constant which can be used with the patch_type property of a OsPatchDetails. PATCH_TYPE_REGULAR
A constant which can be used with the patch_type property of a OsPatchDetails. min_bds_version
[Required] Gets the min_bds_version of this OsPatchDetails. min_compatible_odh_version_map
[Required] Gets the min_compatible_odh_version_map of this OsPatchDetails. os_patch_version
[Required] Gets the os_patch_version of this OsPatchDetails. patch_type
[Required] Gets the patch_type of this OsPatchDetails. release_date
[Required] Gets the release_date of this OsPatchDetails. target_packages
[Required] Gets the target_packages of this OsPatchDetails. Methods
__init__
(**kwargs)Initializes a new OsPatchDetails object with values from keyword arguments. -
PATCH_TYPE_CUSTOM
= 'CUSTOM'¶ A constant which can be used with the patch_type property of a OsPatchDetails. This constant has a value of “CUSTOM”
-
PATCH_TYPE_EMERGENT
= 'EMERGENT'¶ A constant which can be used with the patch_type property of a OsPatchDetails. This constant has a value of “EMERGENT”
-
PATCH_TYPE_REGULAR
= 'REGULAR'¶ A constant which can be used with the patch_type property of a OsPatchDetails. This constant has a value of “REGULAR”
-
__init__
(**kwargs)¶ Initializes a new OsPatchDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - os_patch_version (str) – The value to assign to the os_patch_version property of this OsPatchDetails.
- min_bds_version (str) – The value to assign to the min_bds_version property of this OsPatchDetails.
- min_compatible_odh_version_map (dict(str, str)) – The value to assign to the min_compatible_odh_version_map property of this OsPatchDetails.
- target_packages (list[oci.bds.models.OsPatchPackageSummary]) – The value to assign to the target_packages property of this OsPatchDetails.
- release_date (datetime) – The value to assign to the release_date property of this OsPatchDetails.
- patch_type (str) – The value to assign to the patch_type property of this OsPatchDetails. Allowed values for this property are: “REGULAR”, “CUSTOM”, “EMERGENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
min_bds_version
¶ [Required] Gets the min_bds_version of this OsPatchDetails. Minimum BDS version required to install current OS patch.
Returns: The min_bds_version of this OsPatchDetails. Return type: str
-
min_compatible_odh_version_map
¶ [Required] Gets the min_compatible_odh_version_map of this OsPatchDetails. Map of major ODH version to minimum ODH version required to install current OS patch. e.g. {ODH0.9: 0.9.1}
Returns: The min_compatible_odh_version_map of this OsPatchDetails. Return type: dict(str, str)
-
os_patch_version
¶ [Required] Gets the os_patch_version of this OsPatchDetails. Version of the os patch.
Returns: The os_patch_version of this OsPatchDetails. Return type: str
-
patch_type
¶ [Required] Gets the patch_type of this OsPatchDetails. Type of a specific os patch. REGULAR means standard released os patches. CUSTOM means os patches with some customizations. EMERGENT means os patches with some emergency fixes that should be prioritized.
Allowed values for this property are: “REGULAR”, “CUSTOM”, “EMERGENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The patch_type of this OsPatchDetails. Return type: str
-
release_date
¶ [Required] Gets the release_date of this OsPatchDetails. Released date of the OS patch.
Returns: The release_date of this OsPatchDetails. Return type: datetime
-
target_packages
¶ [Required] Gets the target_packages of this OsPatchDetails. List of summaries of individual target packages.
Returns: The target_packages of this OsPatchDetails. Return type: list[oci.bds.models.OsPatchPackageSummary]
-