RefreshActivity¶
-
class
oci.fusion_apps.models.
RefreshActivity
(**kwargs)¶ Bases:
object
An environment refresh copies data from a source environment to a target environment, making a copy of the source environment onto the target environment. For more information, see Refreshing an Environment.
Attributes
LIFECYCLE_DETAILS_NONE
A constant which can be used with the lifecycle_details property of a RefreshActivity. LIFECYCLE_DETAILS_ROLLBACKACCEPTED
A constant which can be used with the lifecycle_details property of a RefreshActivity. LIFECYCLE_DETAILS_ROLLBACKFAILED
A constant which can be used with the lifecycle_details property of a RefreshActivity. LIFECYCLE_DETAILS_ROLLBACKINPROGRESS
A constant which can be used with the lifecycle_details property of a RefreshActivity. LIFECYCLE_DETAILS_ROLLBACKSUCCEEDED
A constant which can be used with the lifecycle_details property of a RefreshActivity. LIFECYCLE_STATE_ACCEPTED
A constant which can be used with the lifecycle_state property of a RefreshActivity. LIFECYCLE_STATE_CANCELED
A constant which can be used with the lifecycle_state property of a RefreshActivity. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a RefreshActivity. LIFECYCLE_STATE_IN_PROGRESS
A constant which can be used with the lifecycle_state property of a RefreshActivity. LIFECYCLE_STATE_NEEDS_ATTENTION
A constant which can be used with the lifecycle_state property of a RefreshActivity. LIFECYCLE_STATE_SUCCEEDED
A constant which can be used with the lifecycle_state property of a RefreshActivity. SERVICE_AVAILABILITY_AVAILABLE
A constant which can be used with the service_availability property of a RefreshActivity. SERVICE_AVAILABILITY_UNAVAILABLE
A constant which can be used with the service_availability property of a RefreshActivity. display_name
[Required] Gets the display_name of this RefreshActivity. id
[Required] Gets the id of this RefreshActivity. is_data_masking_opted
Gets the is_data_masking_opted of this RefreshActivity. lifecycle_details
Gets the lifecycle_details of this RefreshActivity. lifecycle_state
[Required] Gets the lifecycle_state of this RefreshActivity. refresh_issue_details_list
Gets the refresh_issue_details_list of this RefreshActivity. service_availability
[Required] Gets the service_availability of this RefreshActivity. source_fusion_environment_id
[Required] Gets the source_fusion_environment_id of this RefreshActivity. time_accepted
Gets the time_accepted of this RefreshActivity. time_expected_finish
[Required] Gets the time_expected_finish of this RefreshActivity. time_finished
Gets the time_finished of this RefreshActivity. time_of_restoration_point
Gets the time_of_restoration_point of this RefreshActivity. time_scheduled_start
[Required] Gets the time_scheduled_start of this RefreshActivity. time_updated
Gets the time_updated of this RefreshActivity. Methods
__init__
(**kwargs)Initializes a new RefreshActivity object with values from keyword arguments. -
LIFECYCLE_DETAILS_NONE
= 'NONE'¶ A constant which can be used with the lifecycle_details property of a RefreshActivity. This constant has a value of “NONE”
-
LIFECYCLE_DETAILS_ROLLBACKACCEPTED
= 'ROLLBACKACCEPTED'¶ A constant which can be used with the lifecycle_details property of a RefreshActivity. This constant has a value of “ROLLBACKACCEPTED”
-
LIFECYCLE_DETAILS_ROLLBACKFAILED
= 'ROLLBACKFAILED'¶ A constant which can be used with the lifecycle_details property of a RefreshActivity. This constant has a value of “ROLLBACKFAILED”
-
LIFECYCLE_DETAILS_ROLLBACKINPROGRESS
= 'ROLLBACKINPROGRESS'¶ A constant which can be used with the lifecycle_details property of a RefreshActivity. This constant has a value of “ROLLBACKINPROGRESS”
-
LIFECYCLE_DETAILS_ROLLBACKSUCCEEDED
= 'ROLLBACKSUCCEEDED'¶ A constant which can be used with the lifecycle_details property of a RefreshActivity. This constant has a value of “ROLLBACKSUCCEEDED”
-
LIFECYCLE_STATE_ACCEPTED
= 'ACCEPTED'¶ A constant which can be used with the lifecycle_state property of a RefreshActivity. This constant has a value of “ACCEPTED”
-
LIFECYCLE_STATE_CANCELED
= 'CANCELED'¶ A constant which can be used with the lifecycle_state property of a RefreshActivity. This constant has a value of “CANCELED”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a RefreshActivity. 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 RefreshActivity. 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 RefreshActivity. 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 RefreshActivity. This constant has a value of “SUCCEEDED”
-
SERVICE_AVAILABILITY_AVAILABLE
= 'AVAILABLE'¶ A constant which can be used with the service_availability property of a RefreshActivity. This constant has a value of “AVAILABLE”
-
SERVICE_AVAILABILITY_UNAVAILABLE
= 'UNAVAILABLE'¶ A constant which can be used with the service_availability property of a RefreshActivity. This constant has a value of “UNAVAILABLE”
-
__init__
(**kwargs)¶ Initializes a new RefreshActivity 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 RefreshActivity.
- display_name (str) – The value to assign to the display_name property of this RefreshActivity.
- source_fusion_environment_id (str) – The value to assign to the source_fusion_environment_id property of this RefreshActivity.
- time_of_restoration_point (datetime) – The value to assign to the time_of_restoration_point property of this RefreshActivity.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this RefreshActivity. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “NEEDS_ATTENTION”, “FAILED”, “SUCCEEDED”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- service_availability (str) – The value to assign to the service_availability property of this RefreshActivity. 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 RefreshActivity.
- time_expected_finish (datetime) – The value to assign to the time_expected_finish property of this RefreshActivity.
- time_finished (datetime) – The value to assign to the time_finished property of this RefreshActivity.
- time_accepted (datetime) – The value to assign to the time_accepted property of this RefreshActivity.
- time_updated (datetime) – The value to assign to the time_updated property of this RefreshActivity.
- is_data_masking_opted (bool) – The value to assign to the is_data_masking_opted property of this RefreshActivity.
- refresh_issue_details_list (list[oci.fusion_apps.models.RefreshIssueDetails]) – The value to assign to the refresh_issue_details_list property of this RefreshActivity.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this RefreshActivity. 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’.
-
display_name
¶ [Required] Gets the display_name of this RefreshActivity. A friendly name for the refresh activity. Can be changed later.
Returns: The display_name of this RefreshActivity. Return type: str
-
id
¶ [Required] Gets the id of this RefreshActivity. The unique identifier (OCID) of the refresh activity. Can’t be changed after creation.
Returns: The id of this RefreshActivity. Return type: str
-
is_data_masking_opted
¶ Gets the is_data_masking_opted of this RefreshActivity. Represents if the customer opted for Data Masking or not during refreshActivity.
Returns: The is_data_masking_opted of this RefreshActivity. Return type: bool
-
lifecycle_details
¶ Gets the lifecycle_details of this RefreshActivity. 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 RefreshActivity. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this RefreshActivity. The current state of the refreshActivity.
Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “NEEDS_ATTENTION”, “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 RefreshActivity. Return type: str
-
refresh_issue_details_list
¶ Gets the refresh_issue_details_list of this RefreshActivity. Details of refresh investigation information, each item represents a different issue.
Returns: The refresh_issue_details_list of this RefreshActivity. Return type: list[oci.fusion_apps.models.RefreshIssueDetails]
-
service_availability
¶ [Required] Gets the service_availability of this RefreshActivity. Service availability / impact during refresh 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 RefreshActivity. Return type: str
-
source_fusion_environment_id
¶ [Required] Gets the source_fusion_environment_id of this RefreshActivity. The OCID of the Fusion environment that is the source environment for the refresh.
Returns: The source_fusion_environment_id of this RefreshActivity. Return type: str
-
time_accepted
¶ Gets the time_accepted of this RefreshActivity. The time the refresh activity record was created. An RFC3339 formatted datetime string.
Returns: The time_accepted of this RefreshActivity. Return type: datetime
-
time_expected_finish
¶ [Required] Gets the time_expected_finish of this RefreshActivity. The time the refresh activity is scheduled to end. An RFC3339 formatted datetime string.
Returns: The time_expected_finish of this RefreshActivity. Return type: datetime
-
time_finished
¶ Gets the time_finished of this RefreshActivity. The time the refresh activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
Returns: The time_finished of this RefreshActivity. Return type: datetime
-
time_of_restoration_point
¶ Gets the time_of_restoration_point of this RefreshActivity. The date and time of the most recent source environment backup used for the environment refresh.
Returns: The time_of_restoration_point of this RefreshActivity. Return type: datetime
-
time_scheduled_start
¶ [Required] Gets the time_scheduled_start of this RefreshActivity. The time the refresh activity is scheduled to start. An RFC3339 formatted datetime string.
Returns: The time_scheduled_start of this RefreshActivity. Return type: datetime
-
time_updated
¶ Gets the time_updated of this RefreshActivity. The time the refresh activity record was updated. An RFC3339 formatted datetime string.
Returns: The time_updated of this RefreshActivity. Return type: datetime
-