AutomaticDrConfiguration¶
-
class
oci.disaster_recovery.models.AutomaticDrConfiguration(**kwargs)¶ Bases:
objectThe details of Automatic DR configuration.
Attributes
LAST_AUTOMATIC_DR_EXECUTION_SUBMIT_STATUS_AUTOMATIC_DR_EXECUTION_BLOCKED_VALIDATION_FAILEDA constant which can be used with the last_automatic_dr_execution_submit_status property of a AutomaticDrConfiguration. LAST_AUTOMATIC_DR_EXECUTION_SUBMIT_STATUS_AUTOMATIC_DR_EXECUTION_STARTED_SUCCESSFULLYA constant which can be used with the last_automatic_dr_execution_submit_status property of a AutomaticDrConfiguration. LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a AutomaticDrConfiguration. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a AutomaticDrConfiguration. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a AutomaticDrConfiguration. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a AutomaticDrConfiguration. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a AutomaticDrConfiguration. LIFECYCLE_STATE_INACTIVEA constant which can be used with the lifecycle_state property of a AutomaticDrConfiguration. LIFECYCLE_STATE_NEEDS_ATTENTIONA constant which can be used with the lifecycle_state property of a AutomaticDrConfiguration. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a AutomaticDrConfiguration. compartment_id[Required] Gets the compartment_id of this AutomaticDrConfiguration. default_failover_dr_plan_idGets the default_failover_dr_plan_id of this AutomaticDrConfiguration. default_switchover_dr_plan_idGets the default_switchover_dr_plan_id of this AutomaticDrConfiguration. defined_tagsGets the defined_tags of this AutomaticDrConfiguration. display_name[Required] Gets the display_name of this AutomaticDrConfiguration. dr_protection_group_id[Required] Gets the dr_protection_group_id of this AutomaticDrConfiguration. freeform_tagsGets the freeform_tags of this AutomaticDrConfiguration. id[Required] Gets the id of this AutomaticDrConfiguration. last_automatic_dr_execution_submit_detailsGets the last_automatic_dr_execution_submit_details of this AutomaticDrConfiguration. last_automatic_dr_execution_submit_statusGets the last_automatic_dr_execution_submit_status of this AutomaticDrConfiguration. lifecycle_detailsGets the lifecycle_details of this AutomaticDrConfiguration. lifecycle_state[Required] Gets the lifecycle_state of this AutomaticDrConfiguration. members[Required] Gets the members of this AutomaticDrConfiguration. system_tagsGets the system_tags of this AutomaticDrConfiguration. time_created[Required] Gets the time_created of this AutomaticDrConfiguration. time_last_automatic_dr_execution_submit_attemptGets the time_last_automatic_dr_execution_submit_attempt of this AutomaticDrConfiguration. time_updated[Required] Gets the time_updated of this AutomaticDrConfiguration. Methods
__init__(**kwargs)Initializes a new AutomaticDrConfiguration object with values from keyword arguments. -
LAST_AUTOMATIC_DR_EXECUTION_SUBMIT_STATUS_AUTOMATIC_DR_EXECUTION_BLOCKED_VALIDATION_FAILED= 'AUTOMATIC_DR_EXECUTION_BLOCKED_VALIDATION_FAILED'¶ A constant which can be used with the last_automatic_dr_execution_submit_status property of a AutomaticDrConfiguration. This constant has a value of “AUTOMATIC_DR_EXECUTION_BLOCKED_VALIDATION_FAILED”
-
LAST_AUTOMATIC_DR_EXECUTION_SUBMIT_STATUS_AUTOMATIC_DR_EXECUTION_STARTED_SUCCESSFULLY= 'AUTOMATIC_DR_EXECUTION_STARTED_SUCCESSFULLY'¶ A constant which can be used with the last_automatic_dr_execution_submit_status property of a AutomaticDrConfiguration. This constant has a value of “AUTOMATIC_DR_EXECUTION_STARTED_SUCCESSFULLY”
-
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a AutomaticDrConfiguration. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a AutomaticDrConfiguration. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a AutomaticDrConfiguration. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a AutomaticDrConfiguration. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a AutomaticDrConfiguration. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_INACTIVE= 'INACTIVE'¶ A constant which can be used with the lifecycle_state property of a AutomaticDrConfiguration. This constant has a value of “INACTIVE”
-
LIFECYCLE_STATE_NEEDS_ATTENTION= 'NEEDS_ATTENTION'¶ A constant which can be used with the lifecycle_state property of a AutomaticDrConfiguration. This constant has a value of “NEEDS_ATTENTION”
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a AutomaticDrConfiguration. This constant has a value of “UPDATING”
-
__init__(**kwargs)¶ Initializes a new AutomaticDrConfiguration 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 AutomaticDrConfiguration.
- display_name (str) – The value to assign to the display_name property of this AutomaticDrConfiguration.
- compartment_id (str) – The value to assign to the compartment_id property of this AutomaticDrConfiguration.
- time_created (datetime) – The value to assign to the time_created property of this AutomaticDrConfiguration.
- time_updated (datetime) – The value to assign to the time_updated property of this AutomaticDrConfiguration.
- dr_protection_group_id (str) – The value to assign to the dr_protection_group_id property of this AutomaticDrConfiguration.
- members (list[oci.disaster_recovery.models.AutomaticDrConfigurationMember]) – The value to assign to the members property of this AutomaticDrConfiguration.
- default_switchover_dr_plan_id (str) – The value to assign to the default_switchover_dr_plan_id property of this AutomaticDrConfiguration.
- default_failover_dr_plan_id (str) – The value to assign to the default_failover_dr_plan_id property of this AutomaticDrConfiguration.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this AutomaticDrConfiguration. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “NEEDS_ATTENTION”, “DELETING”, “DELETED”, “FAILED”, ‘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 AutomaticDrConfiguration.
- last_automatic_dr_execution_submit_status (str) – The value to assign to the last_automatic_dr_execution_submit_status property of this AutomaticDrConfiguration. Allowed values for this property are: “AUTOMATIC_DR_EXECUTION_STARTED_SUCCESSFULLY”, “AUTOMATIC_DR_EXECUTION_BLOCKED_VALIDATION_FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- last_automatic_dr_execution_submit_details (str) – The value to assign to the last_automatic_dr_execution_submit_details property of this AutomaticDrConfiguration.
- time_last_automatic_dr_execution_submit_attempt (datetime) – The value to assign to the time_last_automatic_dr_execution_submit_attempt property of this AutomaticDrConfiguration.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AutomaticDrConfiguration.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AutomaticDrConfiguration.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AutomaticDrConfiguration.
-
compartment_id¶ [Required] Gets the compartment_id of this AutomaticDrConfiguration. The OCID of the compartment containing the Automatic DR configuration.
Example: ocid1.compartment.oc1..uniqueID
Returns: The compartment_id of this AutomaticDrConfiguration. Return type: str
-
default_failover_dr_plan_id¶ Gets the default_failover_dr_plan_id of this AutomaticDrConfiguration. The unique id of a Failover DR Plan.
Example: ocid1.drplan.oc1..uniqueID
Returns: The default_failover_dr_plan_id of this AutomaticDrConfiguration. Return type: str
-
default_switchover_dr_plan_id¶ Gets the default_switchover_dr_plan_id of this AutomaticDrConfiguration. The unique id of a Switchover DR Plan.
Example: ocid1.drplan.oc1..uniqueID
Returns: The default_switchover_dr_plan_id of this AutomaticDrConfiguration. Return type: str
Gets the defined_tags of this AutomaticDrConfiguration. Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this AutomaticDrConfiguration. Return type: dict(str, dict(str, object))
-
display_name¶ [Required] Gets the display_name of this AutomaticDrConfiguration. The display name of the Automatic DR configuration.
Returns: The display_name of this AutomaticDrConfiguration. Return type: str
-
dr_protection_group_id¶ [Required] Gets the dr_protection_group_id of this AutomaticDrConfiguration. The OCID of the DR protection group to which this Automatic DR configuration belongs.
Example: ocid1.drprotectiongroup.oc1..uniqueID
Returns: The dr_protection_group_id of this AutomaticDrConfiguration. Return type: str
Gets the freeform_tags of this AutomaticDrConfiguration. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this AutomaticDrConfiguration. Return type: dict(str, str)
-
id¶ [Required] Gets the id of this AutomaticDrConfiguration. The OCID of the Automatic DR configuration.
Example: ocid1.automaticdrconfiguration.oc1..uniqueID
Returns: The id of this AutomaticDrConfiguration. Return type: str
-
last_automatic_dr_execution_submit_details¶ Gets the last_automatic_dr_execution_submit_details of this AutomaticDrConfiguration. A message describing the result of the most recent attempt made to submit an Automatic DR plan execution.
Returns: The last_automatic_dr_execution_submit_details of this AutomaticDrConfiguration. Return type: str
-
last_automatic_dr_execution_submit_status¶ Gets the last_automatic_dr_execution_submit_status of this AutomaticDrConfiguration. The status of most recent attempt to submit Automatic DR plan execution.
Allowed values for this property are: “AUTOMATIC_DR_EXECUTION_STARTED_SUCCESSFULLY”, “AUTOMATIC_DR_EXECUTION_BLOCKED_VALIDATION_FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The last_automatic_dr_execution_submit_status of this AutomaticDrConfiguration. Return type: str
-
lifecycle_details¶ Gets the lifecycle_details of this AutomaticDrConfiguration. A message describing the Automatic DR configuration’s current state in more detail.
Returns: The lifecycle_details of this AutomaticDrConfiguration. Return type: str
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this AutomaticDrConfiguration. The current state of the Automatic DR configuration.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “NEEDS_ATTENTION”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this AutomaticDrConfiguration. Return type: str
-
members¶ [Required] Gets the members of this AutomaticDrConfiguration. The list of members in this Automatic DR configuration.
Returns: The members of this AutomaticDrConfiguration. Return type: list[oci.disaster_recovery.models.AutomaticDrConfigurationMember]
Gets the system_tags of this AutomaticDrConfiguration. 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 AutomaticDrConfiguration. Return type: dict(str, dict(str, object))
-
time_created¶ [Required] Gets the time_created of this AutomaticDrConfiguration. The date and time the Automatic DR configuration was created. An RFC3339 formatted datetime string.
Example: 2024-03-29T09:36:42Z
Returns: The time_created of this AutomaticDrConfiguration. Return type: datetime
-
time_last_automatic_dr_execution_submit_attempt¶ Gets the time_last_automatic_dr_execution_submit_attempt of this AutomaticDrConfiguration. The date and time of the most recent attempt made to submit an Automatic DR plan execution. An RFC3339 formatted datetime string.
Example: 2025-06-30T09:36:42Z
Returns: The time_last_automatic_dr_execution_submit_attempt of this AutomaticDrConfiguration. Return type: datetime
-
time_updated¶ [Required] Gets the time_updated of this AutomaticDrConfiguration. The date and time the Automatic DR configuration was updated. An RFC3339 formatted datetime string.
Example: 2024-03-29T09:36:42Z
Returns: The time_updated of this AutomaticDrConfiguration. Return type: datetime
-