PatchAction¶
-
class
oci.fusion_apps.models.
PatchAction
(**kwargs)¶ Bases:
oci.fusion_apps.models.action.Action
Monthly patch details.
Attributes
ACTION_TYPE_PATCH
str(object=’’) -> str ACTION_TYPE_QUARTERLY_UPGRADE
str(object=’’) -> str ACTION_TYPE_VERTEX
str(object=’’) -> str CATEGORY_MONTHLY
A constant which can be used with the category property of a PatchAction. CATEGORY_ONEOFF
A constant which can be used with the category property of a PatchAction. CATEGORY_WEEKLY
A constant which can be used with the category property of a PatchAction. MODE_COLD
A constant which can be used with the mode property of a PatchAction. MODE_HOT
A constant which can be used with the mode property of a PatchAction. STATE_ACCEPTED
str(object=’’) -> str STATE_CANCELED
str(object=’’) -> str STATE_FAILED
str(object=’’) -> str STATE_IN_PROGRESS
str(object=’’) -> str STATE_SUCCEEDED
str(object=’’) -> str action_type
[Required] Gets the action_type of this Action. artifact
Gets the artifact of this PatchAction. category
Gets the category of this PatchAction. description
[Required] Gets the description of this Action. mode
Gets the mode of this PatchAction. reference_key
Gets the reference_key of this Action. state
Gets the state of this Action. Methods
__init__
(**kwargs)Initializes a new PatchAction 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. -
ACTION_TYPE_PATCH
= 'PATCH'¶
-
ACTION_TYPE_QUARTERLY_UPGRADE
= 'QUARTERLY_UPGRADE'¶
-
ACTION_TYPE_VERTEX
= 'VERTEX'¶
-
CATEGORY_MONTHLY
= 'MONTHLY'¶ A constant which can be used with the category property of a PatchAction. This constant has a value of “MONTHLY”
-
CATEGORY_ONEOFF
= 'ONEOFF'¶ A constant which can be used with the category property of a PatchAction. This constant has a value of “ONEOFF”
-
CATEGORY_WEEKLY
= 'WEEKLY'¶ A constant which can be used with the category property of a PatchAction. This constant has a value of “WEEKLY”
-
MODE_COLD
= 'COLD'¶ A constant which can be used with the mode property of a PatchAction. This constant has a value of “COLD”
-
MODE_HOT
= 'HOT'¶ A constant which can be used with the mode property of a PatchAction. This constant has a value of “HOT”
-
STATE_ACCEPTED
= 'ACCEPTED'¶
-
STATE_CANCELED
= 'CANCELED'¶
-
STATE_FAILED
= 'FAILED'¶
-
STATE_IN_PROGRESS
= 'IN_PROGRESS'¶
-
STATE_SUCCEEDED
= 'SUCCEEDED'¶
-
__init__
(**kwargs)¶ Initializes a new PatchAction object with values from keyword arguments. The default value of the
action_type
attribute of this class isPATCH
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - reference_key (str) – The value to assign to the reference_key property of this PatchAction.
- action_type (str) – The value to assign to the action_type property of this PatchAction. Allowed values for this property are: “QUARTERLY_UPGRADE”, “PATCH”, “VERTEX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- state (str) – The value to assign to the state property of this PatchAction. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “SUCCEEDED”, “FAILED”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- description (str) – The value to assign to the description property of this PatchAction.
- mode (str) – The value to assign to the mode property of this PatchAction. Allowed values for this property are: “HOT”, “COLD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- category (str) – The value to assign to the category property of this PatchAction. Allowed values for this property are: “MONTHLY”, “WEEKLY”, “ONEOFF”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- artifact (str) – The value to assign to the artifact property of this PatchAction.
-
action_type
¶ [Required] Gets the action_type of this Action. Type of action
Allowed values for this property are: “QUARTERLY_UPGRADE”, “PATCH”, “VERTEX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The action_type of this Action. Return type: str
-
artifact
¶ Gets the artifact of this PatchAction. patch bundle name
Returns: The artifact of this PatchAction. Return type: str
-
category
¶ Gets the category of this PatchAction. patch artifact category
Allowed values for this property are: “MONTHLY”, “WEEKLY”, “ONEOFF”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The category of this PatchAction. Return type: str
-
description
¶ [Required] Gets the description of this Action. A string that describes the details of the action. It does not have to be unique, and you can change it. Avoid entering confidential information.
Returns: The description of this Action. Return type: str
-
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.
-
mode
¶ Gets the mode of this PatchAction. A string that describeds whether the change is applied hot or cold
Allowed values for this property are: “HOT”, “COLD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The mode of this PatchAction. Return type: str
-
reference_key
¶ Gets the reference_key of this Action. Unique identifier of the object that represents the action
Returns: The reference_key of this Action. Return type: str
-
state
¶ Gets the state of this Action. A string that describes whether the change is applied hot or cold
Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “SUCCEEDED”, “FAILED”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The state of this Action. Return type: str
-