ScheduledActivity¶
- class oci.fusion_apps.models.ScheduledActivity(**kwargs)¶
Bases:
objectDetails of scheduled activity.
Attributes:
A constant which can be used with the lifecycle_details property of a ScheduledActivity.
A constant which can be used with the lifecycle_details property of a ScheduledActivity.
A constant which can be used with the lifecycle_details property of a ScheduledActivity.
A constant which can be used with the lifecycle_details property of a ScheduledActivity.
A constant which can be used with the lifecycle_details property of a ScheduledActivity.
A constant which can be used with the lifecycle_state property of a ScheduledActivity.
A constant which can be used with the lifecycle_state property of a ScheduledActivity.
A constant which can be used with the lifecycle_state property of a ScheduledActivity.
A constant which can be used with the lifecycle_state property of a ScheduledActivity.
A constant which can be used with the lifecycle_state property of a ScheduledActivity.
A constant which can be used with the run_cycle property of a ScheduledActivity.
A constant which can be used with the run_cycle property of a ScheduledActivity.
A constant which can be used with the run_cycle property of a ScheduledActivity.
A constant which can be used with the run_cycle property of a ScheduledActivity.
A constant which can be used with the scheduled_activity_phase property of a ScheduledActivity.
A constant which can be used with the scheduled_activity_phase property of a ScheduledActivity.
A constant which can be used with the scheduled_activity_phase property of a ScheduledActivity.
A constant which can be used with the service_availability property of a ScheduledActivity.
A constant which can be used with the service_availability property of a ScheduledActivity.
Gets the actions of this ScheduledActivity.
Gets the delay_in_hours of this ScheduledActivity.
[Required] Gets the display_name of this ScheduledActivity.
[Required] Gets the fusion_environment_id of this ScheduledActivity.
[Required] Gets the id of this ScheduledActivity.
Gets the lifecycle_details of this ScheduledActivity.
[Required] Gets the lifecycle_state of this ScheduledActivity.
[Required] Gets the run_cycle of this ScheduledActivity.
[Required] Gets the scheduled_activity_association_id of this ScheduledActivity.
[Required] Gets the scheduled_activity_phase of this ScheduledActivity.
[Required] Gets the service_availability of this ScheduledActivity.
Gets the time_created of this ScheduledActivity.
[Required] Gets the time_expected_finish of this ScheduledActivity.
Gets the time_finished of this ScheduledActivity.
[Required] Gets the time_scheduled_start of this ScheduledActivity.
Gets the time_updated of this ScheduledActivity.
Methods:
__init__(**kwargs)Initializes a new ScheduledActivity object with values from keyword arguments.
- LIFECYCLE_DETAILS_NONE = 'NONE'¶
A constant which can be used with the lifecycle_details property of a ScheduledActivity. This constant has a value of “NONE”
- LIFECYCLE_DETAILS_ROLLBACKACCEPTED = 'ROLLBACKACCEPTED'¶
A constant which can be used with the lifecycle_details property of a ScheduledActivity. This constant has a value of “ROLLBACKACCEPTED”
- LIFECYCLE_DETAILS_ROLLBACKFAILED = 'ROLLBACKFAILED'¶
A constant which can be used with the lifecycle_details property of a ScheduledActivity. This constant has a value of “ROLLBACKFAILED”
- LIFECYCLE_DETAILS_ROLLBACKINPROGRESS = 'ROLLBACKINPROGRESS'¶
A constant which can be used with the lifecycle_details property of a ScheduledActivity. This constant has a value of “ROLLBACKINPROGRESS”
- LIFECYCLE_DETAILS_ROLLBACKSUCCEEDED = 'ROLLBACKSUCCEEDED'¶
A constant which can be used with the lifecycle_details property of a ScheduledActivity. This constant has a value of “ROLLBACKSUCCEEDED”
- LIFECYCLE_STATE_ACCEPTED = 'ACCEPTED'¶
A constant which can be used with the lifecycle_state property of a ScheduledActivity. This constant has a value of “ACCEPTED”
- LIFECYCLE_STATE_CANCELED = 'CANCELED'¶
A constant which can be used with the lifecycle_state property of a ScheduledActivity. This constant has a value of “CANCELED”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a ScheduledActivity. 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 ScheduledActivity. This constant has a value of “IN_PROGRESS”
- LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'¶
A constant which can be used with the lifecycle_state property of a ScheduledActivity. This constant has a value of “SUCCEEDED”
- RUN_CYCLE_MONTHLY = 'MONTHLY'¶
A constant which can be used with the run_cycle property of a ScheduledActivity. This constant has a value of “MONTHLY”
- RUN_CYCLE_ONEOFF = 'ONEOFF'¶
A constant which can be used with the run_cycle property of a ScheduledActivity. This constant has a value of “ONEOFF”
- RUN_CYCLE_QUARTERLY = 'QUARTERLY'¶
A constant which can be used with the run_cycle property of a ScheduledActivity. This constant has a value of “QUARTERLY”
- RUN_CYCLE_VERTEX = 'VERTEX'¶
A constant which can be used with the run_cycle property of a ScheduledActivity. This constant has a value of “VERTEX”
- SCHEDULED_ACTIVITY_PHASE_MAINTENANCE = 'MAINTENANCE'¶
A constant which can be used with the scheduled_activity_phase property of a ScheduledActivity. This constant has a value of “MAINTENANCE”
- SCHEDULED_ACTIVITY_PHASE_POST_MAINTENANCE = 'POST_MAINTENANCE'¶
A constant which can be used with the scheduled_activity_phase property of a ScheduledActivity. This constant has a value of “POST_MAINTENANCE”
- SCHEDULED_ACTIVITY_PHASE_PRE_MAINTENANCE = 'PRE_MAINTENANCE'¶
A constant which can be used with the scheduled_activity_phase property of a ScheduledActivity. This constant has a value of “PRE_MAINTENANCE”
- SERVICE_AVAILABILITY_AVAILABLE = 'AVAILABLE'¶
A constant which can be used with the service_availability property of a ScheduledActivity. This constant has a value of “AVAILABLE”
- SERVICE_AVAILABILITY_UNAVAILABLE = 'UNAVAILABLE'¶
A constant which can be used with the service_availability property of a ScheduledActivity. This constant has a value of “UNAVAILABLE”
- __init__(**kwargs)¶
Initializes a new ScheduledActivity object with values from keyword arguments. 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 ScheduledActivity.
display_name (str) – The value to assign to the display_name property of this ScheduledActivity.
run_cycle (str) – The value to assign to the run_cycle property of this ScheduledActivity. Allowed values for this property are: “QUARTERLY”, “MONTHLY”, “ONEOFF”, “VERTEX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
fusion_environment_id (str) – The value to assign to the fusion_environment_id property of this ScheduledActivity.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this ScheduledActivity. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
actions (list[oci.fusion_apps.models.Action]) – The value to assign to the actions property of this ScheduledActivity.
service_availability (str) – The value to assign to the service_availability property of this ScheduledActivity. Allowed values for this property are: “AVAILABLE”, “UNAVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
time_scheduled_start (datetime) – The value to assign to the time_scheduled_start property of this ScheduledActivity.
time_expected_finish (datetime) – The value to assign to the time_expected_finish property of this ScheduledActivity.
time_finished (datetime) – The value to assign to the time_finished property of this ScheduledActivity.
delay_in_hours (int) – The value to assign to the delay_in_hours property of this ScheduledActivity.
time_created (datetime) – The value to assign to the time_created property of this ScheduledActivity.
time_updated (datetime) – The value to assign to the time_updated property of this ScheduledActivity.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this ScheduledActivity. Allowed values for this property are: “NONE”, “ROLLBACKACCEPTED”, “ROLLBACKINPROGRESS”, “ROLLBACKSUCCEEDED”, “ROLLBACKFAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
scheduled_activity_phase (str) – The value to assign to the scheduled_activity_phase property of this ScheduledActivity. Allowed values for this property are: “PRE_MAINTENANCE”, “MAINTENANCE”, “POST_MAINTENANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
scheduled_activity_association_id (str) – The value to assign to the scheduled_activity_association_id property of this ScheduledActivity.
- property actions¶
Gets the actions of this ScheduledActivity. List of actions
- Returns
The actions of this ScheduledActivity.
- Return type
- property delay_in_hours¶
Gets the delay_in_hours of this ScheduledActivity. Cumulative delay hours
- Returns
The delay_in_hours of this ScheduledActivity.
- Return type
int
- property display_name¶
[Required] Gets the display_name of this ScheduledActivity. scheduled activity display name, can be renamed.
- Returns
The display_name of this ScheduledActivity.
- Return type
str
- property fusion_environment_id¶
[Required] Gets the fusion_environment_id of this ScheduledActivity. FAaaS Environment Identifier.
- Returns
The fusion_environment_id of this ScheduledActivity.
- Return type
str
- property id¶
[Required] Gets the id of this ScheduledActivity. Unique identifier that is immutable on creation.
- Returns
The id of this ScheduledActivity.
- Return type
str
- property lifecycle_details¶
Gets the lifecycle_details of this ScheduledActivity. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
Allowed values for this property are: “NONE”, “ROLLBACKACCEPTED”, “ROLLBACKINPROGRESS”, “ROLLBACKSUCCEEDED”, “ROLLBACKFAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_details of this ScheduledActivity.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this ScheduledActivity. The current state of the scheduledActivity.
Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this ScheduledActivity.
- Return type
str
- property run_cycle¶
[Required] Gets the run_cycle of this ScheduledActivity. run cadence.
Allowed values for this property are: “QUARTERLY”, “MONTHLY”, “ONEOFF”, “VERTEX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The run_cycle of this ScheduledActivity.
- Return type
str
- property scheduled_activity_association_id¶
[Required] Gets the scheduled_activity_association_id of this ScheduledActivity. The unique identifier that associates a scheduled activity with others in one complete maintenance. For example, with ZDT, a complete upgrade maintenance includes 5 scheduled activities - PREPARE, EXECUTE, POST, PRE_MAINTENANCE, and POST_MAINTENANCE. All of them share the same unique identifier - scheduledActivityAssociationId.
- Returns
The scheduled_activity_association_id of this ScheduledActivity.
- Return type
str
- property scheduled_activity_phase¶
[Required] Gets the scheduled_activity_phase of this ScheduledActivity. A property describing the phase of the scheduled activity.
Allowed values for this property are: “PRE_MAINTENANCE”, “MAINTENANCE”, “POST_MAINTENANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The scheduled_activity_phase of this ScheduledActivity.
- Return type
str
- property service_availability¶
[Required] Gets the service_availability of this ScheduledActivity. Service availability / impact during scheduled activity execution up down
Allowed values for this property are: “AVAILABLE”, “UNAVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The service_availability of this ScheduledActivity.
- Return type
str
- property time_created¶
Gets the time_created of this ScheduledActivity. The time the scheduled activity record was created. An RFC3339 formatted datetime string.
- Returns
The time_created of this ScheduledActivity.
- Return type
datetime
- property time_expected_finish¶
[Required] Gets the time_expected_finish of this ScheduledActivity. Current time the scheduled activity is scheduled to end. An RFC3339 formatted datetime string.
- Returns
The time_expected_finish of this ScheduledActivity.
- Return type
datetime
- property time_finished¶
Gets the time_finished of this ScheduledActivity. The time the scheduled activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
- Returns
The time_finished of this ScheduledActivity.
- Return type
datetime
- property time_scheduled_start¶
[Required] Gets the time_scheduled_start of this ScheduledActivity. Current time the scheduled activity is scheduled to start. An RFC3339 formatted datetime string.
- Returns
The time_scheduled_start of this ScheduledActivity.
- Return type
datetime
- property time_updated¶
Gets the time_updated of this ScheduledActivity. The time the scheduled activity record was updated. An RFC3339 formatted datetime string.
- Returns
The time_updated of this ScheduledActivity.
- Return type
datetime