ConfigureDistributedDatabaseAutoResourceManagementDetails¶
-
class
oci.distributed_database_v26.models.ConfigureDistributedDatabaseAutoResourceManagementDetails(**kwargs)¶ Bases:
objectAutoResourceManagement configuration details for the Globally distributed database.
Attributes
ACTION_TYPE_MOVEA constant which can be used with the action_type property of a ConfigureDistributedDatabaseAutoResourceManagementDetails. MAX_MOVE_RU_UNIT_DAYA constant which can be used with the max_move_ru_unit property of a ConfigureDistributedDatabaseAutoResourceManagementDetails. MAX_MOVE_RU_UNIT_HOURA constant which can be used with the max_move_ru_unit property of a ConfigureDistributedDatabaseAutoResourceManagementDetails. MODE_AUTOMATICA constant which can be used with the mode property of a ConfigureDistributedDatabaseAutoResourceManagementDetails. MODE_RECOMMENDATIONA constant which can be used with the mode property of a ConfigureDistributedDatabaseAutoResourceManagementDetails. action_typeGets the action_type of this ConfigureDistributedDatabaseAutoResourceManagementDetails. cool_off_period_in_minutesGets the cool_off_period_in_minutes of this ConfigureDistributedDatabaseAutoResourceManagementDetails. is_enabled[Required] Gets the is_enabled of this ConfigureDistributedDatabaseAutoResourceManagementDetails. max_move_ru_attemptsGets the max_move_ru_attempts of this ConfigureDistributedDatabaseAutoResourceManagementDetails. max_move_ru_unitGets the max_move_ru_unit of this ConfigureDistributedDatabaseAutoResourceManagementDetails. modeGets the mode of this ConfigureDistributedDatabaseAutoResourceManagementDetails. notification_topic_idsGets the notification_topic_ids of this ConfigureDistributedDatabaseAutoResourceManagementDetails. stream_idsGets the stream_ids of this ConfigureDistributedDatabaseAutoResourceManagementDetails. Methods
__init__(**kwargs)Initializes a new ConfigureDistributedDatabaseAutoResourceManagementDetails object with values from keyword arguments. -
ACTION_TYPE_MOVE= 'MOVE'¶ A constant which can be used with the action_type property of a ConfigureDistributedDatabaseAutoResourceManagementDetails. This constant has a value of “MOVE”
-
MAX_MOVE_RU_UNIT_DAY= 'DAY'¶ A constant which can be used with the max_move_ru_unit property of a ConfigureDistributedDatabaseAutoResourceManagementDetails. This constant has a value of “DAY”
-
MAX_MOVE_RU_UNIT_HOUR= 'HOUR'¶ A constant which can be used with the max_move_ru_unit property of a ConfigureDistributedDatabaseAutoResourceManagementDetails. This constant has a value of “HOUR”
-
MODE_AUTOMATIC= 'AUTOMATIC'¶ A constant which can be used with the mode property of a ConfigureDistributedDatabaseAutoResourceManagementDetails. This constant has a value of “AUTOMATIC”
-
MODE_RECOMMENDATION= 'RECOMMENDATION'¶ A constant which can be used with the mode property of a ConfigureDistributedDatabaseAutoResourceManagementDetails. This constant has a value of “RECOMMENDATION”
-
__init__(**kwargs)¶ Initializes a new ConfigureDistributedDatabaseAutoResourceManagementDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - is_enabled (bool) – The value to assign to the is_enabled property of this ConfigureDistributedDatabaseAutoResourceManagementDetails.
- cool_off_period_in_minutes (int) – The value to assign to the cool_off_period_in_minutes property of this ConfigureDistributedDatabaseAutoResourceManagementDetails.
- max_move_ru_attempts (int) – The value to assign to the max_move_ru_attempts property of this ConfigureDistributedDatabaseAutoResourceManagementDetails.
- max_move_ru_unit (str) – The value to assign to the max_move_ru_unit property of this ConfigureDistributedDatabaseAutoResourceManagementDetails. Allowed values for this property are: “HOUR”, “DAY”
- mode (str) – The value to assign to the mode property of this ConfigureDistributedDatabaseAutoResourceManagementDetails. Allowed values for this property are: “AUTOMATIC”, “RECOMMENDATION”
- action_type (str) – The value to assign to the action_type property of this ConfigureDistributedDatabaseAutoResourceManagementDetails. Allowed values for this property are: “MOVE”
- notification_topic_ids (list[str]) – The value to assign to the notification_topic_ids property of this ConfigureDistributedDatabaseAutoResourceManagementDetails.
- stream_ids (list[str]) – The value to assign to the stream_ids property of this ConfigureDistributedDatabaseAutoResourceManagementDetails.
-
action_type¶ Gets the action_type of this ConfigureDistributedDatabaseAutoResourceManagementDetails. The action that will be taken when autoResourceManagement is triggered.
Allowed values for this property are: “MOVE”
Returns: The action_type of this ConfigureDistributedDatabaseAutoResourceManagementDetails. Return type: str
-
cool_off_period_in_minutes¶ Gets the cool_off_period_in_minutes of this ConfigureDistributedDatabaseAutoResourceManagementDetails. Time period to wait for the database to get stable after autoResourceManagement event.
Returns: The cool_off_period_in_minutes of this ConfigureDistributedDatabaseAutoResourceManagementDetails. Return type: int
-
is_enabled¶ [Required] Gets the is_enabled of this ConfigureDistributedDatabaseAutoResourceManagementDetails. Flag indicating if autoResourceManagement is enabled or disabled.
Returns: The is_enabled of this ConfigureDistributedDatabaseAutoResourceManagementDetails. Return type: bool
-
max_move_ru_attempts¶ Gets the max_move_ru_attempts of this ConfigureDistributedDatabaseAutoResourceManagementDetails. Maximum number of move replication unit attempts allowed within the configured period per database.
Returns: The max_move_ru_attempts of this ConfigureDistributedDatabaseAutoResourceManagementDetails. Return type: int
-
max_move_ru_unit¶ Gets the max_move_ru_unit of this ConfigureDistributedDatabaseAutoResourceManagementDetails. Time unit applicable to maxMoveRuAttempts.
Allowed values for this property are: “HOUR”, “DAY”
Returns: The max_move_ru_unit of this ConfigureDistributedDatabaseAutoResourceManagementDetails. Return type: str
-
mode¶ Gets the mode of this ConfigureDistributedDatabaseAutoResourceManagementDetails. Mode of autoResourceManagement execution.
Allowed values for this property are: “AUTOMATIC”, “RECOMMENDATION”
Returns: The mode of this ConfigureDistributedDatabaseAutoResourceManagementDetails. Return type: str
-
notification_topic_ids¶ Gets the notification_topic_ids of this ConfigureDistributedDatabaseAutoResourceManagementDetails. The list of notification topic ids OCIDs to receive autoResourceManagement events.
Returns: The notification_topic_ids of this ConfigureDistributedDatabaseAutoResourceManagementDetails. Return type: list[str]
-