PatchReleaseDateSelectionDetails¶
-
class
oci.fleet_apps_management.models.
PatchReleaseDateSelectionDetails
(**kwargs)¶ Bases:
oci.fleet_apps_management.models.patch_selection_details.PatchSelectionDetails
Days since patch release date details. If you set the policy rule by selecting this option and entering the number of days since release, Fleet Application Management calculates the number of days passed after the release date and reports the product as noncompliant if the days exceed the number provided in Days since release
Attributes
SELECTION_TYPE_PATCH_LEVEL
str(object=’’) -> str SELECTION_TYPE_PATCH_NAME
str(object=’’) -> str SELECTION_TYPE_PATCH_RELEASE_DATE
str(object=’’) -> str days_since_release
[Required] Gets the days_since_release of this PatchReleaseDateSelectionDetails. selection_type
[Required] Gets the selection_type of this PatchSelectionDetails. Methods
__init__
(**kwargs)Initializes a new PatchReleaseDateSelectionDetails 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. -
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 PatchReleaseDateSelectionDetails object with values from keyword arguments. The default value of the
selection_type
attribute of this class isPATCH_RELEASE_DATE
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 PatchReleaseDateSelectionDetails. Allowed values for this property are: “PATCH_LEVEL”, “PATCH_NAME”, “PATCH_RELEASE_DATE”
- days_since_release (int) – The value to assign to the days_since_release property of this PatchReleaseDateSelectionDetails.
-
days_since_release
¶ [Required] Gets the days_since_release of this PatchReleaseDateSelectionDetails. Days passed since patch release.
Returns: The days_since_release of this PatchReleaseDateSelectionDetails. Return type: int
-
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.
-
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
-