FailedJobsRollbackDetails

class oci.fleet_software_update.models.FailedJobsRollbackDetails(**kwargs)

Bases: oci.fleet_software_update.models.rollback_details.RollbackDetails

FAILED_JOBS strategy rollback details. This strategy would only act-upon targets that had a failed job during patching.

Attributes

STRATEGY_FAILED_JOBS str(object=’’) -> str
STRATEGY_LIST_OF_TARGETS str(object=’’) -> str
strategy [Required] Gets the strategy of this RollbackDetails.

Methods

__init__(**kwargs) Initializes a new FailedJobsRollbackDetails 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.
STRATEGY_FAILED_JOBS = 'FAILED_JOBS'
STRATEGY_LIST_OF_TARGETS = 'LIST_OF_TARGETS'
__init__(**kwargs)

Initializes a new FailedJobsRollbackDetails object with values from keyword arguments. The default value of the strategy attribute of this class is FAILED_JOBS and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:strategy (str) – The value to assign to the strategy property of this FailedJobsRollbackDetails. Allowed values for this property are: “FAILED_JOBS”, “LIST_OF_TARGETS”
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.

strategy

[Required] Gets the strategy of this RollbackDetails. Rollback strategy to use. FAILED_JOBS: Rollback and remove targets which had a failure in their last job. LIST_OF_TARGETS: Rollback and remove a specific list of targets.

Allowed values for this property are: “FAILED_JOBS”, “LIST_OF_TARGETS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The strategy of this RollbackDetails.
Return type:str