PatchNameSelectionDetails¶
-
class
oci.fleet_apps_management.models.
PatchNameSelectionDetails
(**kwargs)¶ Bases:
oci.fleet_apps_management.models.patch_selection_details.PatchSelectionDetails
Patch Name Details. If you set the policy rule by selecting this option, provide a specific patch name.
Attributes
SELECTION_TYPE_PATCH_LEVEL
str(object=’’) -> str SELECTION_TYPE_PATCH_NAME
str(object=’’) -> str SELECTION_TYPE_PATCH_RELEASE_DATE
str(object=’’) -> str patch_name
[Required] Gets the patch_name of this PatchNameSelectionDetails. selection_type
[Required] Gets the selection_type of this PatchSelectionDetails. Methods
__init__
(**kwargs)Initializes a new PatchNameSelectionDetails 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 PatchNameSelectionDetails object with values from keyword arguments. The default value of the
selection_type
attribute of this class isPATCH_NAME
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 PatchNameSelectionDetails. Allowed values for this property are: “PATCH_LEVEL”, “PATCH_NAME”, “PATCH_RELEASE_DATE”
- patch_name (str) – The value to assign to the patch_name property of this PatchNameSelectionDetails.
-
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_name
¶ [Required] Gets the patch_name of this PatchNameSelectionDetails. Patch Name.
Returns: The patch_name of this PatchNameSelectionDetails. 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
-