PrecheckAction¶
-
class
oci.fleet_software_update.models.PrecheckAction(**kwargs)¶ Bases:
oci.fleet_software_update.models.fsu_action.FsuActionPrecheck Exadata Fleet Update Action details.
Attributes
LIFECYCLE_STATE_ACCEPTEDstr(object=’’) -> str LIFECYCLE_STATE_CANCELEDstr(object=’’) -> str LIFECYCLE_STATE_CANCELINGstr(object=’’) -> str LIFECYCLE_STATE_DELETEDstr(object=’’) -> str LIFECYCLE_STATE_DELETINGstr(object=’’) -> str LIFECYCLE_STATE_FAILEDstr(object=’’) -> str LIFECYCLE_STATE_IN_PROGRESSstr(object=’’) -> str LIFECYCLE_STATE_NEEDS_ATTENTIONstr(object=’’) -> str LIFECYCLE_STATE_SUCCEEDEDstr(object=’’) -> str LIFECYCLE_STATE_UNKNOWNstr(object=’’) -> str LIFECYCLE_STATE_UPDATINGstr(object=’’) -> str LIFECYCLE_STATE_WAITINGstr(object=’’) -> str 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 FsuAction. defined_tagsGets the defined_tags of this FsuAction. display_nameGets the display_name of this FsuAction. freeform_tagsGets the freeform_tags of this FsuAction. fsu_cycle_id[Required] Gets the fsu_cycle_id of this PrecheckAction. id[Required] Gets the id of this FsuAction. lifecycle_detailsGets the lifecycle_details of this FsuAction. lifecycle_state[Required] Gets the lifecycle_state of this FsuAction. progressGets the progress of this PrecheckAction. related_fsu_action_idGets the related_fsu_action_id of this PrecheckAction. schedule_detailsGets the schedule_details of this PrecheckAction. system_tagsGets the system_tags of this FsuAction. time_created[Required] Gets the time_created of this FsuAction. time_finishedGets the time_finished of this FsuAction. time_startedGets the time_started of this FsuAction. time_updatedGets the time_updated of this FsuAction. type[Required] Gets the type of this FsuAction. Methods
__init__(**kwargs)Initializes a new PrecheckAction 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. -
LIFECYCLE_STATE_ACCEPTED= 'ACCEPTED'¶
-
LIFECYCLE_STATE_CANCELED= 'CANCELED'¶
-
LIFECYCLE_STATE_CANCELING= 'CANCELING'¶
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶
-
LIFECYCLE_STATE_IN_PROGRESS= 'IN_PROGRESS'¶
-
LIFECYCLE_STATE_NEEDS_ATTENTION= 'NEEDS_ATTENTION'¶
-
LIFECYCLE_STATE_SUCCEEDED= 'SUCCEEDED'¶
-
LIFECYCLE_STATE_UNKNOWN= 'UNKNOWN'¶
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶
-
LIFECYCLE_STATE_WAITING= 'WAITING'¶
-
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 PrecheckAction object with values from keyword arguments. The default value of the
typeattribute of this class isPRECHECKand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - id (str) – The value to assign to the id property of this PrecheckAction.
- display_name (str) – The value to assign to the display_name property of this PrecheckAction.
- compartment_id (str) – The value to assign to the compartment_id property of this PrecheckAction.
- type (str) – The value to assign to the type property of this PrecheckAction. Allowed values for this property are: “STAGE”, “PRECHECK”, “APPLY”, “ROLLBACK_AND_REMOVE_TARGET”, “CLEANUP”, “ROLLBACK_MAINTENANCE_CYCLE”
- time_created (datetime) – The value to assign to the time_created property of this PrecheckAction.
- time_started (datetime) – The value to assign to the time_started property of this PrecheckAction.
- time_finished (datetime) – The value to assign to the time_finished property of this PrecheckAction.
- time_updated (datetime) – The value to assign to the time_updated property of this PrecheckAction.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this PrecheckAction. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “WAITING”, “UPDATING”, “FAILED”, “NEEDS_ATTENTION”, “SUCCEEDED”, “CANCELING”, “CANCELED”, “UNKNOWN”, “DELETING”, “DELETED”
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this PrecheckAction.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this PrecheckAction.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this PrecheckAction.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this PrecheckAction.
- fsu_cycle_id (str) – The value to assign to the fsu_cycle_id property of this PrecheckAction.
- related_fsu_action_id (str) – The value to assign to the related_fsu_action_id property of this PrecheckAction.
- schedule_details (oci.fleet_software_update.models.ScheduleDetails) – The value to assign to the schedule_details property of this PrecheckAction.
- progress (oci.fleet_software_update.models.FsuActionProgressDetails) – The value to assign to the progress property of this PrecheckAction.
-
compartment_id¶ [Required] Gets the compartment_id of this FsuAction. Compartment Identifier.
Returns: The compartment_id of this FsuAction. Return type: str
Gets the defined_tags of this FsuAction. 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 FsuAction. Return type: dict(str, dict(str, object))
-
display_name¶ Gets the display_name of this FsuAction. Exadata Fleet Update Action display name.
Returns: The display_name of this FsuAction. Return type: str
Gets the freeform_tags of this FsuAction. 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 FsuAction. Return type: dict(str, str)
-
fsu_cycle_id¶ [Required] Gets the fsu_cycle_id of this PrecheckAction. OCID identifier for the Exadata Fleet Update Cycle the Action will be part of.
Returns: The fsu_cycle_id of this PrecheckAction. 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.
-
id¶ [Required] Gets the id of this FsuAction. OCID identifier for the Exadata Fleet Update Action.
Returns: The id of this FsuAction. Return type: str
-
lifecycle_details¶ Gets the lifecycle_details of this FsuAction. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
Returns: The lifecycle_details of this FsuAction. Return type: str
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this FsuAction. The current state of the Exadata Fleet Update Action.
Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “WAITING”, “UPDATING”, “FAILED”, “NEEDS_ATTENTION”, “SUCCEEDED”, “CANCELING”, “CANCELED”, “UNKNOWN”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this FsuAction. Return type: str
-
progress¶ Gets the progress of this PrecheckAction.
Returns: The progress of this PrecheckAction. Return type: oci.fleet_software_update.models.FsuActionProgressDetails
Gets the related_fsu_action_id of this PrecheckAction. OCID identifier for the Exadata Fleet Update Action.
Returns: The related_fsu_action_id of this PrecheckAction. Return type: str
-
schedule_details¶ Gets the schedule_details of this PrecheckAction.
Returns: The schedule_details of this PrecheckAction. Return type: oci.fleet_software_update.models.ScheduleDetails
Gets the system_tags of this FsuAction. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this FsuAction. Return type: dict(str, dict(str, object))
-
time_created¶ [Required] Gets the time_created of this FsuAction. The date and time the Action was created, as described in RFC 3339, section 14.29.
Returns: The time_created of this FsuAction. Return type: datetime
-
time_finished¶ Gets the time_finished of this FsuAction. The date and time the Action was finished, as described in RFC 3339.
Returns: The time_finished of this FsuAction. Return type: datetime
-
time_started¶ Gets the time_started of this FsuAction. The date and time the Action was started, as described in RFC 3339, section 14.29.
Returns: The time_started of this FsuAction. Return type: datetime
-
time_updated¶ Gets the time_updated of this FsuAction. The date and time the Action was last updated, as described in RFC 3339, section 14.29.
Returns: The time_updated of this FsuAction. Return type: datetime
-
type¶ [Required] Gets the type of this FsuAction. Type of Exadata Fleet Update Action.
Allowed values for this property are: “STAGE”, “PRECHECK”, “APPLY”, “ROLLBACK_AND_REMOVE_TARGET”, “CLEANUP”, “ROLLBACK_MAINTENANCE_CYCLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this FsuAction. Return type: str
-