UpdateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails¶
-
class
oci.disaster_recovery.models.UpdateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails(**kwargs)¶ Bases:
oci.disaster_recovery.models.update_automatic_dr_configuration_member_details.UpdateAutomaticDrConfigurationMemberDetailsUpdate properties for an Autonomous Container Database member in an Automatic DR configuration.
Attributes
MEMBER_TYPE_AUTONOMOUS_CONTAINER_DATABASEstr(object=’’) -> str MEMBER_TYPE_AUTONOMOUS_DATABASEstr(object=’’) -> str MEMBER_TYPE_DATABASEstr(object=’’) -> str is_auto_failover_enabledGets the is_auto_failover_enabled of this UpdateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails. is_auto_switchover_enabledGets the is_auto_switchover_enabled of this UpdateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails. member_id[Required] Gets the member_id of this UpdateAutomaticDrConfigurationMemberDetails. member_type[Required] Gets the member_type of this UpdateAutomaticDrConfigurationMemberDetails. Methods
__init__(**kwargs)Initializes a new UpdateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
MEMBER_TYPE_AUTONOMOUS_CONTAINER_DATABASE= 'AUTONOMOUS_CONTAINER_DATABASE'¶
-
MEMBER_TYPE_AUTONOMOUS_DATABASE= 'AUTONOMOUS_DATABASE'¶
-
MEMBER_TYPE_DATABASE= 'DATABASE'¶
-
__init__(**kwargs)¶ Initializes a new UpdateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails object with values from keyword arguments. The default value of the
member_typeattribute of this class isAUTONOMOUS_CONTAINER_DATABASEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - member_id (str) – The value to assign to the member_id property of this UpdateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails.
- member_type (str) – The value to assign to the member_type property of this UpdateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails. Allowed values for this property are: “DATABASE”, “AUTONOMOUS_DATABASE”, “AUTONOMOUS_CONTAINER_DATABASE”
- is_auto_switchover_enabled (bool) – The value to assign to the is_auto_switchover_enabled property of this UpdateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails.
- is_auto_failover_enabled (bool) – The value to assign to the is_auto_failover_enabled property of this UpdateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails.
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
is_auto_failover_enabled¶ Gets the is_auto_failover_enabled of this UpdateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails. A flag indicating if the automatic failover should be enabled for the Autonomous Container Database member in the Automatic DR configuration.
Example: false
Returns: The is_auto_failover_enabled of this UpdateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails. Return type: bool
-
is_auto_switchover_enabled¶ Gets the is_auto_switchover_enabled of this UpdateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails. A flag indicating if the automatic switchover should be enabled for the Autonomous Container Database member in the Automatic DR configuration.
Example: false
Returns: The is_auto_switchover_enabled of this UpdateAutomaticDrConfigurationMemberAutonomousContainerDatabaseDetails. Return type: bool
-
member_id¶ [Required] Gets the member_id of this UpdateAutomaticDrConfigurationMemberDetails. The OCID of the member.
Example: ocid1.database.oc1..uniqueID
Returns: The member_id of this UpdateAutomaticDrConfigurationMemberDetails. Return type: str
-
member_type¶ [Required] Gets the member_type of this UpdateAutomaticDrConfigurationMemberDetails. The type of the member.
Allowed values for this property are: “DATABASE”, “AUTONOMOUS_DATABASE”, “AUTONOMOUS_CONTAINER_DATABASE”
Returns: The member_type of this UpdateAutomaticDrConfigurationMemberDetails. Return type: str
-