CreateAutomaticDrConfigurationDetails¶
-
class
oci.disaster_recovery.models.CreateAutomaticDrConfigurationDetails(**kwargs)¶ Bases:
objectThe details for creating an Automatic DR configuration.
Methods
__init__(**kwargs)Initializes a new CreateAutomaticDrConfigurationDetails object with values from keyword arguments. Attributes
default_failover_dr_plan_idGets the default_failover_dr_plan_id of this CreateAutomaticDrConfigurationDetails. default_switchover_dr_plan_idGets the default_switchover_dr_plan_id of this CreateAutomaticDrConfigurationDetails. defined_tagsGets the defined_tags of this CreateAutomaticDrConfigurationDetails. display_name[Required] Gets the display_name of this CreateAutomaticDrConfigurationDetails. dr_protection_group_id[Required] Gets the dr_protection_group_id of this CreateAutomaticDrConfigurationDetails. freeform_tagsGets the freeform_tags of this CreateAutomaticDrConfigurationDetails. members[Required] Gets the members of this CreateAutomaticDrConfigurationDetails. -
__init__(**kwargs)¶ Initializes a new CreateAutomaticDrConfigurationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - display_name (str) – The value to assign to the display_name property of this CreateAutomaticDrConfigurationDetails.
- dr_protection_group_id (str) – The value to assign to the dr_protection_group_id property of this CreateAutomaticDrConfigurationDetails.
- members (list[oci.disaster_recovery.models.CreateAutomaticDrConfigurationMemberDetails]) – The value to assign to the members property of this CreateAutomaticDrConfigurationDetails.
- default_switchover_dr_plan_id (str) – The value to assign to the default_switchover_dr_plan_id property of this CreateAutomaticDrConfigurationDetails.
- default_failover_dr_plan_id (str) – The value to assign to the default_failover_dr_plan_id property of this CreateAutomaticDrConfigurationDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateAutomaticDrConfigurationDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateAutomaticDrConfigurationDetails.
-
default_failover_dr_plan_id¶ Gets the default_failover_dr_plan_id of this CreateAutomaticDrConfigurationDetails. The unique id of a Failover DR Plan.
Example: ocid1.drplan.oc1..uniqueID
Returns: The default_failover_dr_plan_id of this CreateAutomaticDrConfigurationDetails. Return type: str
-
default_switchover_dr_plan_id¶ Gets the default_switchover_dr_plan_id of this CreateAutomaticDrConfigurationDetails. The unique id of a Switchover DR Plan.
Example: ocid1.drplan.oc1..uniqueID
Returns: The default_switchover_dr_plan_id of this CreateAutomaticDrConfigurationDetails. Return type: str
Gets the defined_tags of this CreateAutomaticDrConfigurationDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this CreateAutomaticDrConfigurationDetails. Return type: dict(str, dict(str, object))
-
display_name¶ [Required] Gets the display_name of this CreateAutomaticDrConfigurationDetails. The display name of the Automatic DR configuration being created.
Example: Automatic DR Configuration
Returns: The display_name of this CreateAutomaticDrConfigurationDetails. Return type: str
-
dr_protection_group_id¶ [Required] Gets the dr_protection_group_id of this CreateAutomaticDrConfigurationDetails. 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 CreateAutomaticDrConfigurationDetails. Return type: str
Gets the freeform_tags of this CreateAutomaticDrConfigurationDetails. 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 CreateAutomaticDrConfigurationDetails. Return type: dict(str, str)
-
members¶ [Required] Gets the members of this CreateAutomaticDrConfigurationDetails. A list of members for Automatic DR configuration.
Returns: The members of this CreateAutomaticDrConfigurationDetails. Return type: list[oci.disaster_recovery.models.CreateAutomaticDrConfigurationMemberDetails]
-