FailedJobsRollbackDetails¶
- class oci.fleet_software_update.models.FailedJobsRollbackDetails(**kwargs)¶
Bases:
RollbackDetailsFAILED_JOBS strategy rollback details. This strategy would only act-upon targets that had a failed job during patching.
Attributes:
A constant which can be used with the strategy property of a RollbackDetails.
A constant which can be used with the strategy property of a RollbackDetails.
[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'¶
A constant which can be used with the strategy property of a RollbackDetails. This constant has a value of “FAILED_JOBS”
- STRATEGY_LIST_OF_TARGETS = 'LIST_OF_TARGETS'¶
A constant which can be used with the strategy property of a RollbackDetails. This constant has a value of “LIST_OF_TARGETS”
- __init__(**kwargs)¶
Initializes a new FailedJobsRollbackDetails object with values from keyword arguments. The default value of the
strategyattribute of this class isFAILED_JOBSand 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.
- property 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