PatchFsuCycle¶
-
class
oci.fleet_software_update.models.
PatchFsuCycle
(**kwargs)¶ Bases:
oci.fleet_software_update.models.fsu_cycle.FsuCycle
Patch Exadata Fleet Update Cycle resource details.
Attributes
COLLECTION_TYPE_DB
str(object=’’) -> str COLLECTION_TYPE_GI
str(object=’’) -> str LAST_COMPLETED_ACTION_APPLY
str(object=’’) -> str LAST_COMPLETED_ACTION_CLEANUP
str(object=’’) -> str LAST_COMPLETED_ACTION_PRECHECK_APPLY
str(object=’’) -> str LAST_COMPLETED_ACTION_PRECHECK_STAGE
str(object=’’) -> str LAST_COMPLETED_ACTION_ROLLBACK_AND_REMOVE_TARGET
str(object=’’) -> str LAST_COMPLETED_ACTION_ROLLBACK_MAINTENANCE_CYCLE
str(object=’’) -> str LAST_COMPLETED_ACTION_STAGE
str(object=’’) -> str LIFECYCLE_STATE_ACTIVE
str(object=’’) -> str LIFECYCLE_STATE_CREATING
str(object=’’) -> str LIFECYCLE_STATE_DELETED
str(object=’’) -> str LIFECYCLE_STATE_DELETING
str(object=’’) -> str LIFECYCLE_STATE_FAILED
str(object=’’) -> str LIFECYCLE_STATE_IN_PROGRESS
str(object=’’) -> str LIFECYCLE_STATE_NEEDS_ATTENTION
str(object=’’) -> str LIFECYCLE_STATE_SUCCEEDED
str(object=’’) -> str LIFECYCLE_STATE_UPDATING
str(object=’’) -> str ROLLBACK_CYCLE_STATE_ABLE_TO_EXECUTE
str(object=’’) -> str ROLLBACK_CYCLE_STATE_FAILED
str(object=’’) -> str ROLLBACK_CYCLE_STATE_IN_PROGRESS
str(object=’’) -> str ROLLBACK_CYCLE_STATE_NEEDS_ATTENTION
str(object=’’) -> str ROLLBACK_CYCLE_STATE_SUCCEEDED
str(object=’’) -> str TYPE_PATCH
str(object=’’) -> str apply_action_schedule
Gets the apply_action_schedule of this FsuCycle. batching_strategy
Gets the batching_strategy of this FsuCycle. collection_type
Gets the collection_type of this FsuCycle. compartment_id
[Required] Gets the compartment_id of this FsuCycle. defined_tags
Gets the defined_tags of this FsuCycle. diagnostics_collection
Gets the diagnostics_collection of this FsuCycle. display_name
Gets the display_name of this FsuCycle. executing_fsu_action_id
Gets the executing_fsu_action_id of this FsuCycle. freeform_tags
Gets the freeform_tags of this FsuCycle. fsu_collection_id
[Required] Gets the fsu_collection_id of this FsuCycle. goal_version_details
Gets the goal_version_details of this FsuCycle. id
[Required] Gets the id of this FsuCycle. is_ignore_missing_patches
Gets the is_ignore_missing_patches of this PatchFsuCycle. is_ignore_patches
Gets the is_ignore_patches of this PatchFsuCycle. is_keep_placement
Gets the is_keep_placement of this PatchFsuCycle. last_completed_action
Gets the last_completed_action of this FsuCycle. last_completed_action_id
Gets the last_completed_action_id of this FsuCycle. lifecycle_details
Gets the lifecycle_details of this FsuCycle. lifecycle_state
[Required] Gets the lifecycle_state of this FsuCycle. max_drain_timeout_in_seconds
Gets the max_drain_timeout_in_seconds of this PatchFsuCycle. next_action_to_execute
Gets the next_action_to_execute of this FsuCycle. rollback_cycle_state
Gets the rollback_cycle_state of this FsuCycle. stage_action_schedule
Gets the stage_action_schedule of this FsuCycle. system_tags
Gets the system_tags of this FsuCycle. time_created
[Required] Gets the time_created of this FsuCycle. time_finished
Gets the time_finished of this FsuCycle. time_updated
Gets 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_GI
= 'GI'¶
-
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'¶
-
__init__
(**kwargs)¶ Initializes a new PatchFsuCycle object with values from keyword arguments. The default value of the
type
attribute of this class isPATCH
and 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”
- 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”
- 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 Collection this Exadata Fleet Update Cycle belongs to.
Allowed values for this property are: “DB”, “GI”, ‘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. Compartment Identifier.
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. Exadata Fleet Update Cycle display name.
Returns: The display_name of this FsuCycle. Return type: str
-
executing_fsu_action_id
¶ Gets the executing_fsu_action_id of this FsuCycle. OCID identifier for the Action that is currently in execution, 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. OCID identifier for the Collection ID the Exadata Fleet Update Cycle is assigned to.
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. OCID identifier for 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 bug numbers to ignore.
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 all patches between the source and target homes during patching.
Returns: The is_ignore_patches of this PatchFsuCycle. Return type: bool
-
is_keep_placement
¶ Gets the is_keep_placement of this PatchFsuCycle. Ensure that services of administrator-managed Oracle RAC or Oracle RAC One databases are running on the same instances before and after the move operation.
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. Service drain timeout 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. In this array all the possible actions will be listed. The first element is the suggested 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”, ‘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
-