ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails¶
- class oci.distributed_database.models.ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails(**kwargs)¶
Bases:
objectAutomatic resource management configuration details for the Globally distributed autonomous database.
Attributes:
A constant which can be used with the action_type property of a ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
A constant which can be used with the max_move_ru_unit property of a ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
A constant which can be used with the max_move_ru_unit property of a ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
A constant which can be used with the mode property of a ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
A constant which can be used with the mode property of a ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
Gets the action_type of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
Gets the cool_off_period_in_minutes of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
[Required] Gets the is_enabled of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
Gets the max_move_ru_attempts of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
Gets the max_move_ru_unit of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
Gets the mode of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
Gets the notification_topic_ids of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
Gets the stream_ids of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
Methods:
__init__(**kwargs)Initializes a new ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails object with values from keyword arguments.
- ACTION_TYPE_MOVE = 'MOVE'¶
A constant which can be used with the action_type property of a ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails. 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 ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails. 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 ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails. This constant has a value of “HOUR”
- MODE_AUTOMATIC = 'AUTOMATIC'¶
A constant which can be used with the mode property of a ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails. This constant has a value of “AUTOMATIC”
- MODE_RECOMMENDATION = 'RECOMMENDATION'¶
A constant which can be used with the mode property of a ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails. This constant has a value of “RECOMMENDATION”
- __init__(**kwargs)¶
Initializes a new ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails 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 ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
cool_off_period_in_minutes (int) – The value to assign to the cool_off_period_in_minutes property of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
max_move_ru_attempts (int) – The value to assign to the max_move_ru_attempts property of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
max_move_ru_unit (str) – The value to assign to the max_move_ru_unit property of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails. Allowed values for this property are: “HOUR”, “DAY”
mode (str) – The value to assign to the mode property of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails. Allowed values for this property are: “AUTOMATIC”, “RECOMMENDATION”
action_type (str) – The value to assign to the action_type property of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails. Allowed values for this property are: “MOVE”
notification_topic_ids (list[str]) – The value to assign to the notification_topic_ids property of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
stream_ids (list[str]) – The value to assign to the stream_ids property of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
- property action_type¶
Gets the action_type of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails. The action that will be taken when autoResourceManagement is triggered.
Allowed values for this property are: “MOVE”
- Returns
The action_type of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
- Return type
str
- property cool_off_period_in_minutes¶
Gets the cool_off_period_in_minutes of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails. Time period to wait for the database to get stable after autoResourceManagement event.
- Returns
The cool_off_period_in_minutes of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
- Return type
int
- property is_enabled¶
[Required] Gets the is_enabled of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails. Flag indicating if autoResourceManagement is enabled or disabled.
- Returns
The is_enabled of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
- Return type
bool
- property max_move_ru_attempts¶
Gets the max_move_ru_attempts of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails. Maximum number of move replication unit attempts allowed within the configured period per database.
- Returns
The max_move_ru_attempts of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
- Return type
int
- property max_move_ru_unit¶
Gets the max_move_ru_unit of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails. Time unit applicable to maxMoveRuAttempts.
Allowed values for this property are: “HOUR”, “DAY”
- Returns
The max_move_ru_unit of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
- Return type
str
- property mode¶
Gets the mode of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails. Mode of autoResourceManagement execution.
Allowed values for this property are: “AUTOMATIC”, “RECOMMENDATION”
- Returns
The mode of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
- Return type
str
- property notification_topic_ids¶
Gets the notification_topic_ids of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails. The list of notification topic ids OCIDs to receive autoResourceManagement events.
- Returns
The notification_topic_ids of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
- Return type
list[str]
- property stream_ids¶
Gets the stream_ids of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails. The list of stream ids OCIDs that receive shard-related telemetry.
- Returns
The stream_ids of this ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.
- Return type
list[str]