PatchLevelSelectionDetails

class oci.fleet_apps_management.models.PatchLevelSelectionDetails(**kwargs)

Bases: oci.fleet_apps_management.models.patch_selection_details.PatchSelectionDetails

Patch 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

PATCH_LEVEL_LATEST A constant which can be used with the patch_level property of a PatchLevelSelectionDetails.
PATCH_LEVEL_LATEST_MINUS_ONE A constant which can be used with the patch_level property of a PatchLevelSelectionDetails.
PATCH_LEVEL_LATEST_MINUS_TWO A constant which can be used with the patch_level property of a PatchLevelSelectionDetails.
SELECTION_TYPE_PATCH_LEVEL str(object=’’) -> str
SELECTION_TYPE_PATCH_NAME str(object=’’) -> str
SELECTION_TYPE_PATCH_RELEASE_DATE str(object=’’) -> str
patch_level [Required] Gets the patch_level of this PatchLevelSelectionDetails.
selection_type [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'
SELECTION_TYPE_PATCH_NAME = 'PATCH_NAME'
SELECTION_TYPE_PATCH_RELEASE_DATE = 'PATCH_RELEASE_DATE'
__init__(**kwargs)

Initializes a new PatchLevelSelectionDetails object with values from keyword arguments. The default value of the selection_type attribute of this class is PATCH_LEVEL and 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.

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
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