AutomaticDrConfigurationSummary¶
- class oci.disaster_recovery.models.AutomaticDrConfigurationSummary(**kwargs)¶
Bases:
objectThe summary of an Automatic DR configuration.
Attributes:
A constant which can be used with the lifecycle_state property of a AutomaticDrConfigurationSummary.
A constant which can be used with the lifecycle_state property of a AutomaticDrConfigurationSummary.
A constant which can be used with the lifecycle_state property of a AutomaticDrConfigurationSummary.
A constant which can be used with the lifecycle_state property of a AutomaticDrConfigurationSummary.
A constant which can be used with the lifecycle_state property of a AutomaticDrConfigurationSummary.
A constant which can be used with the lifecycle_state property of a AutomaticDrConfigurationSummary.
A constant which can be used with the lifecycle_state property of a AutomaticDrConfigurationSummary.
A constant which can be used with the lifecycle_state property of a AutomaticDrConfigurationSummary.
A constant which can be used with the lifecycle_sub_state property of a AutomaticDrConfigurationSummary.
A constant which can be used with the lifecycle_sub_state property of a AutomaticDrConfigurationSummary.
A constant which can be used with the lifecycle_sub_state property of a AutomaticDrConfigurationSummary.
[Required] Gets the compartment_id of this AutomaticDrConfigurationSummary.
Gets the default_failover_dr_plan_id of this AutomaticDrConfigurationSummary.
Gets the default_switchover_dr_plan_id of this AutomaticDrConfigurationSummary.
Gets the defined_tags of this AutomaticDrConfigurationSummary.
[Required] Gets the display_name of this AutomaticDrConfigurationSummary.
[Required] Gets the dr_protection_group_id of this AutomaticDrConfigurationSummary.
Gets the freeform_tags of this AutomaticDrConfigurationSummary.
[Required] Gets the id of this AutomaticDrConfigurationSummary.
Gets the lifecycle_details of this AutomaticDrConfigurationSummary.
[Required] Gets the lifecycle_state of this AutomaticDrConfigurationSummary.
Gets the lifecycle_sub_state of this AutomaticDrConfigurationSummary.
Gets the system_tags of this AutomaticDrConfigurationSummary.
[Required] Gets the time_created of this AutomaticDrConfigurationSummary.
[Required] Gets the time_updated of this AutomaticDrConfigurationSummary.
Methods:
__init__(**kwargs)Initializes a new AutomaticDrConfigurationSummary object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a AutomaticDrConfigurationSummary. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a AutomaticDrConfigurationSummary. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a AutomaticDrConfigurationSummary. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a AutomaticDrConfigurationSummary. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a AutomaticDrConfigurationSummary. This constant has a value of “FAILED”
- LIFECYCLE_STATE_INACTIVE = 'INACTIVE'¶
A constant which can be used with the lifecycle_state property of a AutomaticDrConfigurationSummary. 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 AutomaticDrConfigurationSummary. 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 AutomaticDrConfigurationSummary. This constant has a value of “UPDATING”
- LIFECYCLE_SUB_STATE_DR_PLAN_INACTIVE = 'DR_PLAN_INACTIVE'¶
A constant which can be used with the lifecycle_sub_state property of a AutomaticDrConfigurationSummary. This constant has a value of “DR_PLAN_INACTIVE”
- LIFECYCLE_SUB_STATE_DR_PLAN_NEEDS_ATTENTION = 'DR_PLAN_NEEDS_ATTENTION'¶
A constant which can be used with the lifecycle_sub_state property of a AutomaticDrConfigurationSummary. This constant has a value of “DR_PLAN_NEEDS_ATTENTION”
- LIFECYCLE_SUB_STATE_RESOURCE_PRINCIPAL_VALIDATION_FAILED = 'RESOURCE_PRINCIPAL_VALIDATION_FAILED'¶
A constant which can be used with the lifecycle_sub_state property of a AutomaticDrConfigurationSummary. This constant has a value of “RESOURCE_PRINCIPAL_VALIDATION_FAILED”
- __init__(**kwargs)¶
Initializes a new AutomaticDrConfigurationSummary 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 AutomaticDrConfigurationSummary.
display_name (str) – The value to assign to the display_name property of this AutomaticDrConfigurationSummary.
compartment_id (str) – The value to assign to the compartment_id property of this AutomaticDrConfigurationSummary.
time_created (datetime) – The value to assign to the time_created property of this AutomaticDrConfigurationSummary.
time_updated (datetime) – The value to assign to the time_updated property of this AutomaticDrConfigurationSummary.
dr_protection_group_id (str) – The value to assign to the dr_protection_group_id property of this AutomaticDrConfigurationSummary.
default_switchover_dr_plan_id (str) – The value to assign to the default_switchover_dr_plan_id property of this AutomaticDrConfigurationSummary.
default_failover_dr_plan_id (str) – The value to assign to the default_failover_dr_plan_id property of this AutomaticDrConfigurationSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this AutomaticDrConfigurationSummary. 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_sub_state (str) – The value to assign to the lifecycle_sub_state property of this AutomaticDrConfigurationSummary. Allowed values for this property are: “RESOURCE_PRINCIPAL_VALIDATION_FAILED”, “DR_PLAN_NEEDS_ATTENTION”, “DR_PLAN_INACTIVE”, ‘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 AutomaticDrConfigurationSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AutomaticDrConfigurationSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AutomaticDrConfigurationSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AutomaticDrConfigurationSummary.
- property compartment_id¶
[Required] Gets the compartment_id of this AutomaticDrConfigurationSummary. The OCID of the compartment containing the Automatic DR configuration.
Example: ocid1.compartment.oc1..uniqueID
- Returns
The compartment_id of this AutomaticDrConfigurationSummary.
- Return type
str
- property default_failover_dr_plan_id¶
Gets the default_failover_dr_plan_id of this AutomaticDrConfigurationSummary. The unique id of a Failover DR Plan.
Example: ocid1.drplan.oc1..uniqueID
- Returns
The default_failover_dr_plan_id of this AutomaticDrConfigurationSummary.
- Return type
str
- property default_switchover_dr_plan_id¶
Gets the default_switchover_dr_plan_id of this AutomaticDrConfigurationSummary. The unique id of a Switchover DR Plan.
Example: ocid1.drplan.oc1..uniqueID
- Returns
The default_switchover_dr_plan_id of this AutomaticDrConfigurationSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this AutomaticDrConfigurationSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this AutomaticDrConfigurationSummary.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this AutomaticDrConfigurationSummary. The display name of the Automatic DR configuration.
- Returns
The display_name of this AutomaticDrConfigurationSummary.
- Return type
str
- property dr_protection_group_id¶
[Required] Gets the dr_protection_group_id of this AutomaticDrConfigurationSummary. 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 AutomaticDrConfigurationSummary.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this AutomaticDrConfigurationSummary. 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 AutomaticDrConfigurationSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this AutomaticDrConfigurationSummary. The OCID of the Automatic DR configuration.
Example: ocid1.automaticdrconfiguration.oc1..uniqueID
- Returns
The id of this AutomaticDrConfigurationSummary.
- Return type
str
- property lifecycle_details¶
Gets the lifecycle_details of this AutomaticDrConfigurationSummary. A message describing the Automatic DR configuration’s current state in more detail.
- Returns
The lifecycle_details of this AutomaticDrConfigurationSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this AutomaticDrConfigurationSummary. 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 AutomaticDrConfigurationSummary.
- Return type
str
- property lifecycle_sub_state¶
Gets the lifecycle_sub_state of this AutomaticDrConfigurationSummary. The current sub-state of the Automatic DR configuration.
Allowed values for this property are: “RESOURCE_PRINCIPAL_VALIDATION_FAILED”, “DR_PLAN_NEEDS_ATTENTION”, “DR_PLAN_INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_sub_state of this AutomaticDrConfigurationSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this AutomaticDrConfigurationSummary. 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 AutomaticDrConfigurationSummary.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this AutomaticDrConfigurationSummary. 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 AutomaticDrConfigurationSummary.
- Return type
datetime
- property time_updated¶
[Required] Gets the time_updated of this AutomaticDrConfigurationSummary. 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 AutomaticDrConfigurationSummary.
- Return type
datetime