CreateRollbackActionDetails¶
- class oci.fleet_software_update.models.CreateRollbackActionDetails(**kwargs)¶
Bases:
CreateFsuActionDetailsRollback Exadata Fleet Update Action creation details. This action will attempt to rollback the specified Targets according to strategy to the source target version prior to patching in this Exadata Fleet Update Cycle and remove them from the Collection.
Attributes:
A constant which can be used with the type property of a CreateFsuActionDetails.
A constant which can be used with the type property of a CreateFsuActionDetails.
A constant which can be used with the type property of a CreateFsuActionDetails.
A constant which can be used with the type property of a CreateFsuActionDetails.
A constant which can be used with the type property of a CreateFsuActionDetails.
A constant which can be used with the type property of a CreateFsuActionDetails.
[Required] Gets the compartment_id of this CreateFsuActionDetails.
Gets the defined_tags of this CreateFsuActionDetails.
[Required] Gets the details of this CreateRollbackActionDetails.
Gets the display_name of this CreateFsuActionDetails.
Gets the freeform_tags of this CreateFsuActionDetails.
[Required] Gets the fsu_cycle_id of this CreateRollbackActionDetails.
Gets the schedule_details of this CreateRollbackActionDetails.
[Required] Gets the type of this CreateFsuActionDetails.
Methods:
__init__(**kwargs)Initializes a new CreateRollbackActionDetails 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.
- TYPE_APPLY = 'APPLY'¶
A constant which can be used with the type property of a CreateFsuActionDetails. This constant has a value of “APPLY”
- TYPE_CLEANUP = 'CLEANUP'¶
A constant which can be used with the type property of a CreateFsuActionDetails. This constant has a value of “CLEANUP”
- TYPE_PRECHECK = 'PRECHECK'¶
A constant which can be used with the type property of a CreateFsuActionDetails. This constant has a value of “PRECHECK”
- TYPE_ROLLBACK_AND_REMOVE_TARGET = 'ROLLBACK_AND_REMOVE_TARGET'¶
A constant which can be used with the type property of a CreateFsuActionDetails. This constant has a value of “ROLLBACK_AND_REMOVE_TARGET”
- TYPE_ROLLBACK_MAINTENANCE_CYCLE = 'ROLLBACK_MAINTENANCE_CYCLE'¶
A constant which can be used with the type property of a CreateFsuActionDetails. This constant has a value of “ROLLBACK_MAINTENANCE_CYCLE”
- TYPE_STAGE = 'STAGE'¶
A constant which can be used with the type property of a CreateFsuActionDetails. This constant has a value of “STAGE”
- __init__(**kwargs)¶
Initializes a new CreateRollbackActionDetails object with values from keyword arguments. The default value of the
typeattribute of this class isROLLBACK_AND_REMOVE_TARGETand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
display_name (str) – The value to assign to the display_name property of this CreateRollbackActionDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateRollbackActionDetails.
type (str) – The value to assign to the type property of this CreateRollbackActionDetails. Allowed values for this property are: “STAGE”, “PRECHECK”, “APPLY”, “ROLLBACK_AND_REMOVE_TARGET”, “CLEANUP”, “ROLLBACK_MAINTENANCE_CYCLE”
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateRollbackActionDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateRollbackActionDetails.
fsu_cycle_id (str) – The value to assign to the fsu_cycle_id property of this CreateRollbackActionDetails.
details (oci.fleet_software_update.models.RollbackDetails) – The value to assign to the details property of this CreateRollbackActionDetails.
schedule_details (oci.fleet_software_update.models.CreateScheduleDetails) – The value to assign to the schedule_details property of this CreateRollbackActionDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateFsuActionDetails. Compartment Identifier.
- Returns
The compartment_id of this CreateFsuActionDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateFsuActionDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this CreateFsuActionDetails.
- Return type
dict(str, dict(str, object))
- property details¶
[Required] Gets the details of this CreateRollbackActionDetails.
- Returns
The details of this CreateRollbackActionDetails.
- Return type
- property display_name¶
Gets the display_name of this CreateFsuActionDetails. Exadata Fleet Update Action display name.
- Returns
The display_name of this CreateFsuActionDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateFsuActionDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this CreateFsuActionDetails.
- Return type
dict(str, str)
- property fsu_cycle_id¶
[Required] Gets the fsu_cycle_id of this CreateRollbackActionDetails. OCID identifier for the Exadata Fleet Update Cycle the Action will be part of.
- Returns
The fsu_cycle_id of this CreateRollbackActionDetails.
- 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.
- property schedule_details¶
Gets the schedule_details of this CreateRollbackActionDetails.
- Returns
The schedule_details of this CreateRollbackActionDetails.
- Return type
- property type¶
[Required] Gets the type of this CreateFsuActionDetails. Type of Exadata Fleet Update Action.
Allowed values for this property are: “STAGE”, “PRECHECK”, “APPLY”, “ROLLBACK_AND_REMOVE_TARGET”, “CLEANUP”, “ROLLBACK_MAINTENANCE_CYCLE”
- Returns
The type of this CreateFsuActionDetails.
- Return type
str