ComponentProperties¶
-
class
oci.fleet_apps_management.models.
ComponentProperties
(**kwargs)¶ Bases:
object
The properties of the component.
Attributes
ACTION_ON_FAILURE_ABORT
A constant which can be used with the action_on_failure property of a ComponentProperties. ACTION_ON_FAILURE_CONTINUE
A constant which can be used with the action_on_failure property of a ComponentProperties. ACTION_ON_FAILURE_ROLLBACK
A constant which can be used with the action_on_failure property of a ComponentProperties. action_on_failure
[Required] Gets the action_on_failure of this ComponentProperties. condition
Gets the condition of this ComponentProperties. notification_preferences
Gets the notification_preferences of this ComponentProperties. pause_details
Gets the pause_details of this ComponentProperties. run_on
Gets the run_on of this ComponentProperties. Methods
__init__
(**kwargs)Initializes a new ComponentProperties object with values from keyword arguments. -
ACTION_ON_FAILURE_ABORT
= 'ABORT'¶ A constant which can be used with the action_on_failure property of a ComponentProperties. This constant has a value of “ABORT”
-
ACTION_ON_FAILURE_CONTINUE
= 'CONTINUE'¶ A constant which can be used with the action_on_failure property of a ComponentProperties. This constant has a value of “CONTINUE”
-
ACTION_ON_FAILURE_ROLLBACK
= 'ROLLBACK'¶ A constant which can be used with the action_on_failure property of a ComponentProperties. This constant has a value of “ROLLBACK”
-
__init__
(**kwargs)¶ Initializes a new ComponentProperties object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - run_on (str) – The value to assign to the run_on property of this ComponentProperties.
- condition (str) – The value to assign to the condition property of this ComponentProperties.
- action_on_failure (str) – The value to assign to the action_on_failure property of this ComponentProperties. Allowed values for this property are: “ABORT”, “CONTINUE”, “ROLLBACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- pause_details (oci.fleet_apps_management.models.PauseDetails) – The value to assign to the pause_details property of this ComponentProperties.
- notification_preferences (oci.fleet_apps_management.models.TaskNotificationPreferences) – The value to assign to the notification_preferences property of this ComponentProperties.
-
action_on_failure
¶ [Required] Gets the action_on_failure of this ComponentProperties. The action to be taken in case of a failure.
Allowed values for this property are: “ABORT”, “CONTINUE”, “ROLLBACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The action_on_failure of this ComponentProperties. Return type: str
-
condition
¶ Gets the condition of this ComponentProperties. Build control flow conditions that determine the relevance of the task execution.
Returns: The condition of this ComponentProperties. Return type: str
-
notification_preferences
¶ Gets the notification_preferences of this ComponentProperties.
Returns: The notification_preferences of this ComponentProperties. Return type: oci.fleet_apps_management.models.TaskNotificationPreferences
-
pause_details
¶ Gets the pause_details of this ComponentProperties.
Returns: The pause_details of this ComponentProperties. Return type: oci.fleet_apps_management.models.PauseDetails
-
run_on
¶ Gets the run_on of this ComponentProperties. The runOn condition for the task/group/container. Build task execution conditions if applicable to product and product-specific components. This condition is relevant when handling product stack workflows. Example: target.product.name = Oracle WebLogic Server OR target.product.name = Oracle HTTP Server
Returns: The run_on of this ComponentProperties. Return type: str
-