FsuCycle¶
-
class
oci.fleet_software_update.models.
FsuCycle
(**kwargs)¶ Bases:
object
Exadata Fleet Update Cycle resource details.
Attributes
COLLECTION_TYPE_DB
A constant which can be used with the collection_type property of a FsuCycle. COLLECTION_TYPE_GI
A constant which can be used with the collection_type property of a FsuCycle. LAST_COMPLETED_ACTION_APPLY
A constant which can be used with the last_completed_action property of a FsuCycle. LAST_COMPLETED_ACTION_CLEANUP
A constant which can be used with the last_completed_action property of a FsuCycle. LAST_COMPLETED_ACTION_PRECHECK_APPLY
A constant which can be used with the last_completed_action property of a FsuCycle. LAST_COMPLETED_ACTION_PRECHECK_STAGE
A constant which can be used with the last_completed_action property of a FsuCycle. LAST_COMPLETED_ACTION_ROLLBACK_AND_REMOVE_TARGET
A constant which can be used with the last_completed_action property of a FsuCycle. LAST_COMPLETED_ACTION_STAGE
A constant which can be used with the last_completed_action property of a FsuCycle. LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a FsuCycle. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a FsuCycle. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a FsuCycle. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a FsuCycle. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a FsuCycle. LIFECYCLE_STATE_IN_PROGRESS
A constant which can be used with the lifecycle_state property of a FsuCycle. LIFECYCLE_STATE_NEEDS_ATTENTION
A constant which can be used with the lifecycle_state property of a FsuCycle. LIFECYCLE_STATE_SUCCEEDED
A constant which can be used with the lifecycle_state property of a FsuCycle. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a FsuCycle. TYPE_PATCH
A constant which can be used with the type property of a FsuCycle. 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. last_completed_action
Gets the last_completed_action of this FsuCycle. lifecycle_details
Gets the lifecycle_details of this FsuCycle. lifecycle_state
[Required] Gets the lifecycle_state of this FsuCycle. next_action_to_execute
Gets the next_action_to_execute 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 FsuCycle 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_GI
= 'GI'¶ A constant which can be used with the collection_type property of a FsuCycle. This constant has a value of “GI”
-
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_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”
-
TYPE_PATCH
= 'PATCH'¶ A constant which can be used with the type property of a FsuCycle. This constant has a value of “PATCH”
-
__init__
(**kwargs)¶ Initializes a new FsuCycle object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 FsuCycle.
- display_name (str) – The value to assign to the display_name property of this FsuCycle.
- compartment_id (str) – The value to assign to the compartment_id property of this FsuCycle.
- type (str) – The value to assign to the type property of this FsuCycle. Allowed values for this property are: “PATCH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- fsu_collection_id (str) – The value to assign to the fsu_collection_id property of this FsuCycle.
- collection_type (str) – The value to assign to the collection_type property of this FsuCycle. 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’.
- executing_fsu_action_id (str) – The value to assign to the executing_fsu_action_id property of this FsuCycle.
- next_action_to_execute (list[oci.fleet_software_update.models.NextActionToExecuteDetails]) – The value to assign to the next_action_to_execute property of this FsuCycle.
- last_completed_action (str) – The value to assign to the last_completed_action property of this FsuCycle. Allowed values for this property are: “STAGE”, “PRECHECK_STAGE”, “PRECHECK_APPLY”, “APPLY”, “ROLLBACK_AND_REMOVE_TARGET”, “CLEANUP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- goal_version_details (oci.fleet_software_update.models.FsuGoalVersionDetails) – The value to assign to the goal_version_details property of this FsuCycle.
- batching_strategy (oci.fleet_software_update.models.BatchingStrategyDetails) – The value to assign to the batching_strategy property of this FsuCycle.
- stage_action_schedule (oci.fleet_software_update.models.ScheduleDetails) – The value to assign to the stage_action_schedule property of this FsuCycle.
- apply_action_schedule (oci.fleet_software_update.models.ScheduleDetails) – The value to assign to the apply_action_schedule property of this FsuCycle.
- diagnostics_collection (oci.fleet_software_update.models.DiagnosticsCollectionDetails) – The value to assign to the diagnostics_collection property of this FsuCycle.
- time_created (datetime) – The value to assign to the time_created property of this FsuCycle.
- time_updated (datetime) – The value to assign to the time_updated property of this FsuCycle.
- time_finished (datetime) – The value to assign to the time_finished property of this FsuCycle.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this FsuCycle. 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’.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this FsuCycle.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this FsuCycle.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this FsuCycle.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this FsuCycle.
-
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
-
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”, ‘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
-
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
-
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]
-
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
-