PatchLevelSelectionDetails¶
- class oci.fleet_apps_management.models.PatchLevelSelectionDetails(**kwargs)¶
Bases:
PatchSelectionDetailsPatch Level Details. If you set the policy rule by selecting this option and provide the Patch level as Latest, Fleet Application Management calculates the compliance status of the product in the following ways: - Reports the patch process as compliant for the software identified or targets discovered at the Latest and Latest-1 version. - Reports the patch process as noncompliant for the software identified or targets discovered at the Latest-2 version.
Attributes:
A constant which can be used with the patch_level property of a PatchLevelSelectionDetails.
A constant which can be used with the patch_level property of a PatchLevelSelectionDetails.
A constant which can be used with the patch_level property of a PatchLevelSelectionDetails.
A constant which can be used with the selection_type property of a PatchSelectionDetails.
A constant which can be used with the selection_type property of a PatchSelectionDetails.
A constant which can be used with the selection_type property of a PatchSelectionDetails.
[Required] Gets the patch_level of this PatchLevelSelectionDetails.
[Required] Gets the selection_type of this PatchSelectionDetails.
Methods:
__init__(**kwargs)Initializes a new PatchLevelSelectionDetails object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- PATCH_LEVEL_LATEST = 'LATEST'¶
A constant which can be used with the patch_level property of a PatchLevelSelectionDetails. This constant has a value of “LATEST”
- PATCH_LEVEL_LATEST_MINUS_ONE = 'LATEST_MINUS_ONE'¶
A constant which can be used with the patch_level property of a PatchLevelSelectionDetails. This constant has a value of “LATEST_MINUS_ONE”
- PATCH_LEVEL_LATEST_MINUS_TWO = 'LATEST_MINUS_TWO'¶
A constant which can be used with the patch_level property of a PatchLevelSelectionDetails. This constant has a value of “LATEST_MINUS_TWO”
- SELECTION_TYPE_PATCH_LEVEL = 'PATCH_LEVEL'¶
A constant which can be used with the selection_type property of a PatchSelectionDetails. This constant has a value of “PATCH_LEVEL”
- SELECTION_TYPE_PATCH_NAME = 'PATCH_NAME'¶
A constant which can be used with the selection_type property of a PatchSelectionDetails. This constant has a value of “PATCH_NAME”
- SELECTION_TYPE_PATCH_RELEASE_DATE = 'PATCH_RELEASE_DATE'¶
A constant which can be used with the selection_type property of a PatchSelectionDetails. This constant has a value of “PATCH_RELEASE_DATE”
- __init__(**kwargs)¶
Initializes a new PatchLevelSelectionDetails object with values from keyword arguments. The default value of the
selection_typeattribute of this class isPATCH_LEVELand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
selection_type (str) – The value to assign to the selection_type property of this PatchLevelSelectionDetails. Allowed values for this property are: “PATCH_LEVEL”, “PATCH_NAME”, “PATCH_RELEASE_DATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
patch_level (str) – The value to assign to the patch_level property of this PatchLevelSelectionDetails. Allowed values for this property are: “LATEST”, “LATEST_MINUS_ONE”, “LATEST_MINUS_TWO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property patch_level¶
[Required] Gets the patch_level of this PatchLevelSelectionDetails. Patch Name.
Allowed values for this property are: “LATEST”, “LATEST_MINUS_ONE”, “LATEST_MINUS_TWO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The patch_level of this PatchLevelSelectionDetails.
- Return type
str
- property selection_type¶
[Required] Gets the selection_type of this PatchSelectionDetails. Selection type for the Patch.
Allowed values for this property are: “PATCH_LEVEL”, “PATCH_NAME”, “PATCH_RELEASE_DATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The selection_type of this PatchSelectionDetails.
- Return type
str