PatchFsuCycle¶
-
class
oci.fleet_software_update.models.PatchFsuCycle(**kwargs)¶ Bases:
oci.fleet_software_update.models.fsu_cycle.FsuCyclePatch Exadata Fleet Update Cycle resource details.
Attributes
COLLECTION_TYPE_DBstr(object=’’) -> str COLLECTION_TYPE_EXADB_STACKstr(object=’’) -> str COLLECTION_TYPE_GIstr(object=’’) -> str COLLECTION_TYPE_GUEST_OSstr(object=’’) -> str LAST_COMPLETED_ACTION_APPLYstr(object=’’) -> str LAST_COMPLETED_ACTION_CLEANUPstr(object=’’) -> str LAST_COMPLETED_ACTION_PRECHECK_APPLYstr(object=’’) -> str LAST_COMPLETED_ACTION_PRECHECK_STAGEstr(object=’’) -> str LAST_COMPLETED_ACTION_ROLLBACK_AND_REMOVE_TARGETstr(object=’’) -> str LAST_COMPLETED_ACTION_ROLLBACK_MAINTENANCE_CYCLEstr(object=’’) -> str LAST_COMPLETED_ACTION_STAGEstr(object=’’) -> str LIFECYCLE_STATE_ACTIVEstr(object=’’) -> str LIFECYCLE_STATE_CREATINGstr(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_UPDATINGstr(object=’’) -> str ROLLBACK_CYCLE_STATE_ABLE_TO_EXECUTEstr(object=’’) -> str ROLLBACK_CYCLE_STATE_FAILEDstr(object=’’) -> str ROLLBACK_CYCLE_STATE_IN_PROGRESSstr(object=’’) -> str ROLLBACK_CYCLE_STATE_NEEDS_ATTENTIONstr(object=’’) -> str ROLLBACK_CYCLE_STATE_SUCCEEDEDstr(object=’’) -> str TYPE_PATCHstr(object=’’) -> str TYPE_UPGRADEstr(object=’’) -> str apply_action_scheduleGets the apply_action_schedule of this FsuCycle. batching_strategyGets the batching_strategy of this FsuCycle. collection_typeGets the collection_type of this FsuCycle. compartment_id[Required] Gets the compartment_id of this FsuCycle. defined_tagsGets the defined_tags of this FsuCycle. diagnostics_collectionGets the diagnostics_collection of this FsuCycle. display_nameGets the display_name of this FsuCycle. executing_fsu_action_idGets the executing_fsu_action_id of this FsuCycle. freeform_tagsGets the freeform_tags of this FsuCycle. fsu_collection_id[Required] Gets the fsu_collection_id of this FsuCycle. goal_version_detailsGets the goal_version_details of this FsuCycle. id[Required] Gets the id of this FsuCycle. is_ignore_missing_patchesGets the is_ignore_missing_patches of this PatchFsuCycle. is_ignore_patchesGets the is_ignore_patches of this PatchFsuCycle. is_keep_placementGets the is_keep_placement of this PatchFsuCycle. last_completed_actionGets the last_completed_action of this FsuCycle. last_completed_action_idGets the last_completed_action_id of this FsuCycle. lifecycle_detailsGets the lifecycle_details of this FsuCycle. lifecycle_state[Required] Gets the lifecycle_state of this FsuCycle. max_drain_timeout_in_secondsGets the max_drain_timeout_in_seconds of this PatchFsuCycle. next_action_to_executeGets the next_action_to_execute of this FsuCycle. rollback_cycle_stateGets the rollback_cycle_state of this FsuCycle. stage_action_scheduleGets the stage_action_schedule of this FsuCycle. system_tagsGets the system_tags of this FsuCycle. time_created[Required] Gets the time_created of this FsuCycle. time_finishedGets the time_finished of this FsuCycle. time_updatedGets the time_updated of this FsuCycle. type[Required] Gets the type of this FsuCycle. Methods
__init__(**kwargs)Initializes a new PatchFsuCycle 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. -
COLLECTION_TYPE_DB= 'DB'¶
-
COLLECTION_TYPE_EXADB_STACK= 'EXADB_STACK'¶
-
COLLECTION_TYPE_GI= 'GI'¶
-
COLLECTION_TYPE_GUEST_OS= 'GUEST_OS'¶
-
LAST_COMPLETED_ACTION_APPLY= 'APPLY'¶
-
LAST_COMPLETED_ACTION_CLEANUP= 'CLEANUP'¶
-
LAST_COMPLETED_ACTION_PRECHECK_APPLY= 'PRECHECK_APPLY'¶
-
LAST_COMPLETED_ACTION_PRECHECK_STAGE= 'PRECHECK_STAGE'¶
-
LAST_COMPLETED_ACTION_ROLLBACK_AND_REMOVE_TARGET= 'ROLLBACK_AND_REMOVE_TARGET'¶
-
LAST_COMPLETED_ACTION_ROLLBACK_MAINTENANCE_CYCLE= 'ROLLBACK_MAINTENANCE_CYCLE'¶
-
LAST_COMPLETED_ACTION_STAGE= 'STAGE'¶
-
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶
-
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_UPDATING= 'UPDATING'¶
-
ROLLBACK_CYCLE_STATE_ABLE_TO_EXECUTE= 'ABLE_TO_EXECUTE'¶
-
ROLLBACK_CYCLE_STATE_FAILED= 'FAILED'¶
-
ROLLBACK_CYCLE_STATE_IN_PROGRESS= 'IN_PROGRESS'¶
-
ROLLBACK_CYCLE_STATE_NEEDS_ATTENTION= 'NEEDS_ATTENTION'¶
-
ROLLBACK_CYCLE_STATE_SUCCEEDED= 'SUCCEEDED'¶
-
TYPE_PATCH= 'PATCH'¶
-
TYPE_UPGRADE= 'UPGRADE'¶
-
__init__(**kwargs)¶ Initializes a new PatchFsuCycle object with values from keyword arguments. The default value of the
typeattribute of this class isPATCHand 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 PatchFsuCycle.
- display_name (str) – The value to assign to the display_name property of this PatchFsuCycle.
- compartment_id (str) – The value to assign to the compartment_id property of this PatchFsuCycle.
- type (str) – The value to assign to the type property of this PatchFsuCycle. Allowed values for this property are: “PATCH”, “UPGRADE”
- fsu_collection_id (str) – The value to assign to the fsu_collection_id property of this PatchFsuCycle.
- collection_type (str) – The value to assign to the collection_type property of this PatchFsuCycle. Allowed values for this property are: “DB”, “GI”, “GUEST_OS”, “EXADB_STACK”
- executing_fsu_action_id (str) – The value to assign to the executing_fsu_action_id property of this PatchFsuCycle.
- next_action_to_execute (list[oci.fleet_software_update.models.NextActionToExecuteDetails]) – The value to assign to the next_action_to_execute property of this PatchFsuCycle.
- last_completed_action_id (str) – The value to assign to the last_completed_action_id property of this PatchFsuCycle.
- rollback_cycle_state (str) – The value to assign to the rollback_cycle_state property of this PatchFsuCycle. Allowed values for this property are: “ABLE_TO_EXECUTE”, “IN_PROGRESS”, “FAILED”, “NEEDS_ATTENTION”, “SUCCEEDED”
- last_completed_action (str) – The value to assign to the last_completed_action property of this PatchFsuCycle. Allowed values for this property are: “STAGE”, “PRECHECK_STAGE”, “PRECHECK_APPLY”, “APPLY”, “ROLLBACK_AND_REMOVE_TARGET”, “CLEANUP”, “ROLLBACK_MAINTENANCE_CYCLE”
- goal_version_details (oci.fleet_software_update.models.FsuGoalVersionDetails) – The value to assign to the goal_version_details property of this PatchFsuCycle.
- batching_strategy (oci.fleet_software_update.models.BatchingStrategyDetails) – The value to assign to the batching_strategy property of this PatchFsuCycle.
- stage_action_schedule (oci.fleet_software_update.models.ScheduleDetails) – The value to assign to the stage_action_schedule property of this PatchFsuCycle.
- apply_action_schedule (oci.fleet_software_update.models.ScheduleDetails) – The value to assign to the apply_action_schedule property of this PatchFsuCycle.
- diagnostics_collection (oci.fleet_software_update.models.DiagnosticsCollectionDetails) – The value to assign to the diagnostics_collection property of this PatchFsuCycle.
- time_created (datetime) – The value to assign to the time_created property of this PatchFsuCycle.
- time_updated (datetime) – The value to assign to the time_updated property of this PatchFsuCycle.
- time_finished (datetime) – The value to assign to the time_finished property of this PatchFsuCycle.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this PatchFsuCycle. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “IN_PROGRESS”, “FAILED”, “NEEDS_ATTENTION”, “SUCCEEDED”, “DELETING”, “DELETED”
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this PatchFsuCycle.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this PatchFsuCycle.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this PatchFsuCycle.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this PatchFsuCycle.
- is_ignore_patches (bool) – The value to assign to the is_ignore_patches property of this PatchFsuCycle.
- is_ignore_missing_patches (list[str]) – The value to assign to the is_ignore_missing_patches property of this PatchFsuCycle.
- max_drain_timeout_in_seconds (int) – The value to assign to the max_drain_timeout_in_seconds property of this PatchFsuCycle.
- is_keep_placement (bool) – The value to assign to the is_keep_placement property of this PatchFsuCycle.
-
apply_action_schedule¶ Gets the apply_action_schedule of this FsuCycle.
Returns: The apply_action_schedule of this FsuCycle. Return type: oci.fleet_software_update.models.ScheduleDetails
-
batching_strategy¶ Gets the batching_strategy of this FsuCycle.
Returns: The batching_strategy of this FsuCycle. Return type: oci.fleet_software_update.models.BatchingStrategyDetails
-
collection_type¶ Gets the collection_type of this FsuCycle. Type of the Exadata Fleet Update Collection being updated by this Exadata Fleet Update Cycle.
Allowed values for this property are: “DB”, “GI”, “GUEST_OS”, “EXADB_STACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The collection_type of this FsuCycle. Return type: str
-
compartment_id¶ [Required] Gets the compartment_id of this FsuCycle. The OCID of the Compartment.
Returns: The compartment_id of this FsuCycle. Return type: str
Gets the defined_tags of this FsuCycle. 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 FsuCycle. Return type: dict(str, dict(str, object))
-
diagnostics_collection¶ Gets the diagnostics_collection of this FsuCycle.
Returns: The diagnostics_collection of this FsuCycle. Return type: oci.fleet_software_update.models.DiagnosticsCollectionDetails
-
display_name¶ Gets the display_name of this FsuCycle. The user-friendly name for the Exadata Fleet Update Cycle.
Returns: The display_name of this FsuCycle. Return type: str
-
executing_fsu_action_id¶ Gets the executing_fsu_action_id of this FsuCycle. The OCID of the Exadata Fleet Update Action that is currently in progress, if applicable.
Returns: The executing_fsu_action_id of this FsuCycle. Return type: str
Gets the freeform_tags of this FsuCycle. 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 FsuCycle. Return type: dict(str, str)
-
fsu_collection_id¶ [Required] Gets the fsu_collection_id of this FsuCycle. The OCID of the Exadata Fleet Update Collection being updated by this Exadata Fleet Update Cycle.
Returns: The fsu_collection_id of this FsuCycle. 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.
-
goal_version_details¶ Gets the goal_version_details of this FsuCycle.
Returns: The goal_version_details of this FsuCycle. Return type: oci.fleet_software_update.models.FsuGoalVersionDetails
-
id¶ [Required] Gets the id of this FsuCycle. The OCID of the Exadata Fleet Update Cycle.
Returns: The id of this FsuCycle. Return type: str
-
is_ignore_missing_patches¶ Gets the is_ignore_missing_patches of this PatchFsuCycle. List of identifiers of patches to ignore. This attribute will be ignored for Exadata Image (Guest OS) maintenance update.
Returns: The is_ignore_missing_patches of this PatchFsuCycle. Return type: list[str]
-
is_ignore_patches¶ Gets the is_ignore_patches of this PatchFsuCycle. Ignore patch conflicts or missing patches between the source and goal homes. This attribute will be ignored for Exadata Image (Guest OS) maintenance update.
Returns: The is_ignore_patches of this PatchFsuCycle. Return type: bool
-
is_keep_placement¶ Gets the is_keep_placement of this PatchFsuCycle. Ensure that database services are online on the same VMs before and after the maintenance update.
Returns: The is_keep_placement of this PatchFsuCycle. Return type: bool
-
last_completed_action¶ Gets the last_completed_action of this FsuCycle. The latest Action type that was completed in the Exadata Fleet Update Cycle. No value would indicate that the Cycle has not completed any Action yet.
Allowed values for this property are: “STAGE”, “PRECHECK_STAGE”, “PRECHECK_APPLY”, “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 last_completed_action of this FsuCycle. Return type: str
-
last_completed_action_id¶ Gets the last_completed_action_id of this FsuCycle. The OCID of the latest Action in the Exadata Fleet Update Cycle.
Returns: The last_completed_action_id of this FsuCycle. Return type: str
-
lifecycle_details¶ Gets the lifecycle_details of this FsuCycle. 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 FsuCycle. Return type: str
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this FsuCycle. The current state of the Exadata Fleet Update Cycle.
Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “IN_PROGRESS”, “FAILED”, “NEEDS_ATTENTION”, “SUCCEEDED”, “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 FsuCycle. Return type: str
-
max_drain_timeout_in_seconds¶ Gets the max_drain_timeout_in_seconds of this PatchFsuCycle. Timeout for session draining for database services specified in seconds.
Returns: The max_drain_timeout_in_seconds of this PatchFsuCycle. Return type: int
-
next_action_to_execute¶ Gets the next_action_to_execute of this FsuCycle. All possible Exadata Fleet Update Actions will be listed. The first element is the suggested Exadata Fleet Update Action.
Returns: The next_action_to_execute of this FsuCycle. Return type: list[oci.fleet_software_update.models.NextActionToExecuteDetails]
-
rollback_cycle_state¶ Gets the rollback_cycle_state of this FsuCycle. Current rollback cycle state if rollback maintenance cycle action has been attempted. No value would indicate that the Cycle has not run a rollback maintenance cycle action before.
Allowed values for this property are: “ABLE_TO_EXECUTE”, “IN_PROGRESS”, “FAILED”, “NEEDS_ATTENTION”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The rollback_cycle_state of this FsuCycle. Return type: str
-
stage_action_schedule¶ Gets the stage_action_schedule of this FsuCycle.
Returns: The stage_action_schedule of this FsuCycle. Return type: oci.fleet_software_update.models.ScheduleDetails
Gets the system_tags of this FsuCycle. 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 FsuCycle. Return type: dict(str, dict(str, object))
-
time_created¶ [Required] Gets the time_created of this FsuCycle. The date and time the Exadata Fleet Update Cycle was created, as described in RFC 3339, section 14.29.
Returns: The time_created of this FsuCycle. Return type: datetime
-
time_finished¶ Gets the time_finished of this FsuCycle. The date and time the Exadata Fleet Update Cycle was finished, as described in RFC 3339.
Returns: The time_finished of this FsuCycle. Return type: datetime
-
time_updated¶ Gets the time_updated of this FsuCycle. The date and time the Exadata Fleet Update Cycle was updated, as described in RFC 3339, section 14.29.
Returns: The time_updated of this FsuCycle. Return type: datetime
-
type¶ [Required] Gets the type of this FsuCycle. Type of Exadata Fleet Update Cycle.
Allowed values for this property are: “PATCH”, “UPGRADE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this FsuCycle. Return type: str
-