PatchFsuCycle¶
- class oci.fleet_software_update.models.PatchFsuCycle(**kwargs)¶
Bases:
FsuCyclePatch Exadata Fleet Update Cycle resource details.
Attributes:
A constant which can be used with the collection_type property of a FsuCycle.
A constant which can be used with the collection_type property of a FsuCycle.
A constant which can be used with the collection_type property of a FsuCycle.
A constant which can be used with the collection_type property of a FsuCycle.
A constant which can be used with the last_completed_action property of a FsuCycle.
A constant which can be used with the last_completed_action property of a FsuCycle.
A constant which can be used with the last_completed_action property of a FsuCycle.
A constant which can be used with the last_completed_action property of a FsuCycle.
A constant which can be used with the last_completed_action property of a FsuCycle.
A constant which can be used with the last_completed_action property of a FsuCycle.
A constant which can be used with the last_completed_action property of a FsuCycle.
A constant which can be used with the lifecycle_state property of a FsuCycle.
A constant which can be used with the lifecycle_state property of a FsuCycle.
A constant which can be used with the lifecycle_state property of a FsuCycle.
A constant which can be used with the lifecycle_state property of a FsuCycle.
A constant which can be used with the lifecycle_state property of a FsuCycle.
A constant which can be used with the lifecycle_state property of a FsuCycle.
A constant which can be used with the lifecycle_state property of a FsuCycle.
A constant which can be used with the lifecycle_state property of a FsuCycle.
A constant which can be used with the lifecycle_state property of a FsuCycle.
A constant which can be used with the rollback_cycle_state property of a FsuCycle.
A constant which can be used with the rollback_cycle_state property of a FsuCycle.
A constant which can be used with the rollback_cycle_state property of a FsuCycle.
A constant which can be used with the rollback_cycle_state property of a FsuCycle.
A constant which can be used with the rollback_cycle_state property of a FsuCycle.
A constant which can be used with the type property of a FsuCycle.
A constant which can be used with the type property of a FsuCycle.
Gets the apply_action_schedule of this FsuCycle.
Gets the batching_strategy of this FsuCycle.
Gets the collection_type of this FsuCycle.
[Required] Gets the compartment_id of this FsuCycle.
Gets the defined_tags of this FsuCycle.
Gets the diagnostics_collection of this FsuCycle.
Gets the display_name of this FsuCycle.
Gets the executing_fsu_action_id of this FsuCycle.
Gets the freeform_tags of this FsuCycle.
[Required] Gets the fsu_collection_id of this FsuCycle.
Gets the goal_version_details of this FsuCycle.
[Required] Gets the id of this FsuCycle.
Gets the is_ignore_missing_patches of this PatchFsuCycle.
Gets the is_ignore_patches of this PatchFsuCycle.
Gets the is_keep_placement of this PatchFsuCycle.
Gets the last_completed_action of this FsuCycle.
Gets the last_completed_action_id of this FsuCycle.
Gets the lifecycle_details of this FsuCycle.
[Required] Gets the lifecycle_state of this FsuCycle.
Gets the max_drain_timeout_in_seconds of this PatchFsuCycle.
Gets the next_action_to_execute of this FsuCycle.
Gets the rollback_cycle_state of this FsuCycle.
Gets the stage_action_schedule of this FsuCycle.
Gets the system_tags of this FsuCycle.
[Required] Gets the time_created of this FsuCycle.
Gets the time_finished of this FsuCycle.
Gets the time_updated of this FsuCycle.
[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'¶
A constant which can be used with the collection_type property of a FsuCycle. This constant has a value of “DB”
- COLLECTION_TYPE_EXADB_STACK = 'EXADB_STACK'¶
A constant which can be used with the collection_type property of a FsuCycle. This constant has a value of “EXADB_STACK”
- COLLECTION_TYPE_GI = 'GI'¶
A constant which can be used with the collection_type property of a FsuCycle. This constant has a value of “GI”
- COLLECTION_TYPE_GUEST_OS = 'GUEST_OS'¶
A constant which can be used with the collection_type property of a FsuCycle. This constant has a value of “GUEST_OS”
- LAST_COMPLETED_ACTION_APPLY = 'APPLY'¶
A constant which can be used with the last_completed_action property of a FsuCycle. This constant has a value of “APPLY”
- LAST_COMPLETED_ACTION_CLEANUP = 'CLEANUP'¶
A constant which can be used with the last_completed_action property of a FsuCycle. This constant has a value of “CLEANUP”
- LAST_COMPLETED_ACTION_PRECHECK_APPLY = 'PRECHECK_APPLY'¶
A constant which can be used with the last_completed_action property of a FsuCycle. This constant has a value of “PRECHECK_APPLY”
- LAST_COMPLETED_ACTION_PRECHECK_STAGE = 'PRECHECK_STAGE'¶
A constant which can be used with the last_completed_action property of a FsuCycle. This constant has a value of “PRECHECK_STAGE”
- LAST_COMPLETED_ACTION_ROLLBACK_AND_REMOVE_TARGET = 'ROLLBACK_AND_REMOVE_TARGET'¶
A constant which can be used with the last_completed_action property of a FsuCycle. This constant has a value of “ROLLBACK_AND_REMOVE_TARGET”
- LAST_COMPLETED_ACTION_ROLLBACK_MAINTENANCE_CYCLE = 'ROLLBACK_MAINTENANCE_CYCLE'¶
A constant which can be used with the last_completed_action property of a FsuCycle. This constant has a value of “ROLLBACK_MAINTENANCE_CYCLE”
- LAST_COMPLETED_ACTION_STAGE = 'STAGE'¶
A constant which can be used with the last_completed_action property of a FsuCycle. This constant has a value of “STAGE”
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a FsuCycle. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a FsuCycle. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a FsuCycle. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a FsuCycle. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a FsuCycle. This constant has a value of “FAILED”
- LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'¶
A constant which can be used with the lifecycle_state property of a FsuCycle. This constant has a value of “IN_PROGRESS”
- LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'¶
A constant which can be used with the lifecycle_state property of a FsuCycle. This constant has a value of “NEEDS_ATTENTION”
- LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'¶
A constant which can be used with the lifecycle_state property of a FsuCycle. This constant has a value of “SUCCEEDED”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a FsuCycle. This constant has a value of “UPDATING”
- ROLLBACK_CYCLE_STATE_ABLE_TO_EXECUTE = 'ABLE_TO_EXECUTE'¶
A constant which can be used with the rollback_cycle_state property of a FsuCycle. This constant has a value of “ABLE_TO_EXECUTE”
- ROLLBACK_CYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the rollback_cycle_state property of a FsuCycle. This constant has a value of “FAILED”
- ROLLBACK_CYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'¶
A constant which can be used with the rollback_cycle_state property of a FsuCycle. This constant has a value of “IN_PROGRESS”
- ROLLBACK_CYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'¶
A constant which can be used with the rollback_cycle_state property of a FsuCycle. This constant has a value of “NEEDS_ATTENTION”
- ROLLBACK_CYCLE_STATE_SUCCEEDED = 'SUCCEEDED'¶
A constant which can be used with the rollback_cycle_state property of a FsuCycle. This constant has a value of “SUCCEEDED”
- TYPE_PATCH = 'PATCH'¶
A constant which can be used with the type property of a FsuCycle. This constant has a value of “PATCH”
- TYPE_UPGRADE = 'UPGRADE'¶
A constant which can be used with the type property of a FsuCycle. This constant has a value of “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.
- property apply_action_schedule¶
Gets the apply_action_schedule of this FsuCycle.
- Returns
The apply_action_schedule of this FsuCycle.
- Return type
- property batching_strategy¶
Gets the batching_strategy of this FsuCycle.
- Returns
The batching_strategy of this FsuCycle.
- Return type
- property 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
- property 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
- property defined_tags¶
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))
- property diagnostics_collection¶
Gets the diagnostics_collection of this FsuCycle.
- Returns
The diagnostics_collection of this FsuCycle.
- Return type
oci.fleet_software_update.models.DiagnosticsCollectionDetails
- property 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
- property 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
- property freeform_tags¶
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)
- property 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.
- property goal_version_details¶
Gets the goal_version_details of this FsuCycle.
- Returns
The goal_version_details of this FsuCycle.
- Return type
- property 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
- property 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]
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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]
- property 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
- property stage_action_schedule¶
Gets the stage_action_schedule of this FsuCycle.
- Returns
The stage_action_schedule of this FsuCycle.
- Return type
- property system_tags¶
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))
- property 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
- property 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
- property 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
- property 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