UpgradeFsuCycle¶
- class oci.fleet_software_update.models.UpgradeFsuCycle(**kwargs)¶
Bases:
FsuCycleUpgrade 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 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 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.
Gets the upgrade_details of this UpgradeFsuCycle.
Methods:
__init__(**kwargs)Initializes a new UpgradeFsuCycle 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 UpgradeFsuCycle object with values from keyword arguments. The default value of the
typeattribute of this class isUPGRADEand 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 UpgradeFsuCycle.
display_name (str) – The value to assign to the display_name property of this UpgradeFsuCycle.
compartment_id (str) – The value to assign to the compartment_id property of this UpgradeFsuCycle.
type (str) – The value to assign to the type property of this UpgradeFsuCycle. Allowed values for this property are: “PATCH”, “UPGRADE”
fsu_collection_id (str) – The value to assign to the fsu_collection_id property of this UpgradeFsuCycle.
collection_type (str) – The value to assign to the collection_type property of this UpgradeFsuCycle. 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 UpgradeFsuCycle.
next_action_to_execute (list[oci.fleet_software_update.models.NextActionToExecuteDetails]) – The value to assign to the next_action_to_execute property of this UpgradeFsuCycle.
last_completed_action_id (str) – The value to assign to the last_completed_action_id property of this UpgradeFsuCycle.
rollback_cycle_state (str) – The value to assign to the rollback_cycle_state property of this UpgradeFsuCycle. 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 UpgradeFsuCycle. 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 UpgradeFsuCycle.
batching_strategy (oci.fleet_software_update.models.BatchingStrategyDetails) – The value to assign to the batching_strategy property of this UpgradeFsuCycle.
stage_action_schedule (oci.fleet_software_update.models.ScheduleDetails) – The value to assign to the stage_action_schedule property of this UpgradeFsuCycle.
apply_action_schedule (oci.fleet_software_update.models.ScheduleDetails) – The value to assign to the apply_action_schedule property of this UpgradeFsuCycle.
diagnostics_collection (oci.fleet_software_update.models.DiagnosticsCollectionDetails) – The value to assign to the diagnostics_collection property of this UpgradeFsuCycle.
time_created (datetime) – The value to assign to the time_created property of this UpgradeFsuCycle.
time_updated (datetime) – The value to assign to the time_updated property of this UpgradeFsuCycle.
time_finished (datetime) – The value to assign to the time_finished property of this UpgradeFsuCycle.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this UpgradeFsuCycle. 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 UpgradeFsuCycle.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpgradeFsuCycle.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpgradeFsuCycle.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this UpgradeFsuCycle.
upgrade_details (oci.fleet_software_update.models.UpgradeDetails) – The value to assign to the upgrade_details property of this UpgradeFsuCycle.
- 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 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 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
- property upgrade_details¶
Gets the upgrade_details of this UpgradeFsuCycle.
- Returns
The upgrade_details of this UpgradeFsuCycle.
- Return type