CreateApplyActionDetails¶
-
class
oci.fleet_software_update.models.CreateApplyActionDetails(**kwargs)¶ Bases:
oci.fleet_software_update.models.create_fsu_action_details.CreateFsuActionDetailsApply Exadata Fleet Update Action creation details.
Attributes
TYPE_APPLYstr(object=’’) -> str TYPE_CLEANUPstr(object=’’) -> str TYPE_PRECHECKstr(object=’’) -> str TYPE_ROLLBACK_AND_REMOVE_TARGETstr(object=’’) -> str TYPE_ROLLBACK_MAINTENANCE_CYCLEstr(object=’’) -> str TYPE_STAGEstr(object=’’) -> str compartment_id[Required] Gets the compartment_id of this CreateFsuActionDetails. defined_tagsGets the defined_tags of this CreateFsuActionDetails. display_nameGets the display_name of this CreateFsuActionDetails. freeform_tagsGets the freeform_tags of this CreateFsuActionDetails. fsu_cycle_id[Required] Gets the fsu_cycle_id of this CreateApplyActionDetails. schedule_detailsGets the schedule_details of this CreateApplyActionDetails. type[Required] Gets the type of this CreateFsuActionDetails. Methods
__init__(**kwargs)Initializes a new CreateApplyActionDetails 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'¶
-
TYPE_CLEANUP= 'CLEANUP'¶
-
TYPE_PRECHECK= 'PRECHECK'¶
-
TYPE_ROLLBACK_AND_REMOVE_TARGET= 'ROLLBACK_AND_REMOVE_TARGET'¶
-
TYPE_ROLLBACK_MAINTENANCE_CYCLE= 'ROLLBACK_MAINTENANCE_CYCLE'¶
-
TYPE_STAGE= 'STAGE'¶
-
__init__(**kwargs)¶ Initializes a new CreateApplyActionDetails object with values from keyword arguments. The default value of the
typeattribute of this class isAPPLYand 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 CreateApplyActionDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateApplyActionDetails.
- type (str) – The value to assign to the type property of this CreateApplyActionDetails. 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 CreateApplyActionDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateApplyActionDetails.
- fsu_cycle_id (str) – The value to assign to the fsu_cycle_id property of this CreateApplyActionDetails.
- schedule_details (oci.fleet_software_update.models.CreateScheduleDetails) – The value to assign to the schedule_details property of this CreateApplyActionDetails.
-
compartment_id¶ [Required] Gets the compartment_id of this CreateFsuActionDetails. Compartment Identifier.
Returns: The compartment_id of this CreateFsuActionDetails. Return type: str
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))
-
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
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)
-
fsu_cycle_id¶ [Required] Gets the fsu_cycle_id of this CreateApplyActionDetails. OCID identifier for the Exadata Fleet Update Cycle the Action will be part of.
Returns: The fsu_cycle_id of this CreateApplyActionDetails. 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.
-
schedule_details¶ Gets the schedule_details of this CreateApplyActionDetails.
Returns: The schedule_details of this CreateApplyActionDetails. Return type: oci.fleet_software_update.models.CreateScheduleDetails
-
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
-