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.

notification_preferences

Gets the notification_preferences of this ComponentProperties.

pause_details

Gets the pause_details of this ComponentProperties.

pre_condition

Gets the pre_condition 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 (oci.fleet_apps_management.models.RunOnDetails) – The value to assign to the run_on property of this ComponentProperties.

  • pre_condition (str) – The value to assign to the pre_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.

property 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

property notification_preferences

Gets the notification_preferences of this ComponentProperties.

Returns

The notification_preferences of this ComponentProperties.

Return type

oci.fleet_apps_management.models.TaskNotificationPreferences

property pause_details

Gets the pause_details of this ComponentProperties.

Returns

The pause_details of this ComponentProperties.

Return type

oci.fleet_apps_management.models.PauseDetails

property pre_condition

Gets the pre_condition of this ComponentProperties. Build control flow conditions that determine the relevance of the task execution.

Returns

The pre_condition of this ComponentProperties.

Return type

str

property run_on

Gets the run_on of this ComponentProperties.

Returns

The run_on of this ComponentProperties.

Return type

oci.fleet_apps_management.models.RunOnDetails